Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intFil.u.1.|intFil.u.2.|intFil.u.3.|intFil.y.1.|intFil.y.2.",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intFil.u.1.|intFil.u.2.|intFil.u.3.|intFil.y.1.|intFil.y.2.",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001261/0.001261, allocations: 105.6 kB / 16.41 MB, free: 6.512 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00129/0.00129, allocations: 187 kB / 17.34 MB, free: 5.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.383/1.383, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.339/2.339, allocations: 390.3 MB / 0.6655 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001372/0.001372, allocations: 71.83 kB / 0.9515 GB, free: 7.645 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7683/0.7697, allocations: 140.4 MB / 1.089 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter): time 0.001653/0.7714, allocations: 0.6002 MB / 1.089 GB, free: 5.133 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0003098/0.7717, allocations: 105.8 kB / 1.089 GB, free: 5.066 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.669e-05/0.7718, allocations: 1.281 kB / 1.089 GB, free: 5.066 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 8.221e-05/0.7719, allocations: 5.344 kB / 1.089 GB, free: 5.062 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.000306/0.7722, allocations: 29.88 kB / 1.089 GB, free: 5.051 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 4.247e-05/0.7722, allocations: 7.484 kB / 1.089 GB, free: 5.047 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.252e-05/0.7723, allocations: 28.81 kB / 1.089 GB, free: 5.035 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.403e-05/0.7724, allocations: 19.78 kB / 1.089 GB, free: 5.031 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001159/0.7725, allocations: 58.45 kB / 1.089 GB, free: 5.012 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.642e-05/0.7726, allocations: 15.91 kB / 1.089 GB, free: 5.004 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.421e-05/0.7726, allocations: 6.266 kB / 1.089 GB, free: 5 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 9.408e-06/0.7726, allocations: 2.5 kB / 1.089 GB, free: 5 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.893e-05/0.7727, allocations: 16.62 kB / 1.089 GB, free: 4.992 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.182e-05/0.7727, allocations: 17.02 kB / 1.09 GB, free: 4.98 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 8.847e-05/0.7728, allocations: 47.61 kB / 1.09 GB, free: 4.961 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.7728, allocations: 1.156 kB / 1.09 GB, free: 4.961 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.753e-06/0.7728, allocations: 0 / 1.09 GB, free: 4.961 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.708e-06/0.7728, allocations: 0 / 1.09 GB, free: 4.961 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0002441/0.7731, allocations: 356.1 kB / 1.09 GB, free: 4.59 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.044e-05/0.7731, allocations: 9.156 kB / 1.09 GB, free: 4.59 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.841e-05/0.7731, allocations: 4.062 kB / 1.09 GB, free: 4.59 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001105/0.7733, allocations: 183.8 kB / 1.09 GB, free: 4.387 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.055e-05/0.7733, allocations: 2.594 kB / 1.09 GB, free: 4.387 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.437e-05/0.7733, allocations: 7.156 kB / 1.09 GB, free: 4.383 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001285/0.7734, allocations: 89.44 kB / 1.09 GB, free: 4.305 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.655e-06/0.7734, allocations: 4.703 kB / 1.09 GB, free: 4.301 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.276e-06/0.7735, allocations: 1.969 kB / 1.09 GB, free: 4.301 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.7735, allocations: 0 / 1.09 GB, free: 4.301 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.213e-05/0.7735, allocations: 26.62 kB / 1.09 GB, free: 4.293 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003083/0.7738, allocations: 0.6065 MB / 1.091 GB, free: 3.676 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 4.155e-05/0.7739, allocations: 170 kB / 1.091 GB, free: 3.5 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.713e-05/0.7739, allocations: 81.89 kB / 1.091 GB, free: 3.418 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.226e-05/0.7739, allocations: 79.22 kB / 1.091 GB, free: 3.34 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.848e-05/0.7739, allocations: 107.5 kB / 1.091 GB, free: 3.227 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 1.052e-06/0.774, allocations: 0 / 1.091 GB, free: 3.227 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 6.029e-05/0.774, allocations: 37.67 kB / 1.091 GB, free: 3.188 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.539e-05/0.774, allocations: 131.4 kB / 1.091 GB, free: 3.047 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001131/0.7742, allocations: 163.8 kB / 1.092 GB, free: 2.926 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 7.654e-06/0.7742, allocations: 25.7 kB / 1.092 GB, free: 2.895 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.136e-05/0.7742, allocations: 93.52 kB / 1.092 GB, free: 2.805 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.102e-06/0.7742, allocations: 0 / 1.092 GB, free: 2.805 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.064e-05/0.7742, allocations: 12.58 kB / 1.092 GB, free: 2.789 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.031e-05/0.7743, allocations: 319.8 kB / 1.092 GB, free: 2.473 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.028e-06/0.7743, allocations: 4 kB / 1.092 GB, free: 2.469 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.746e-05/0.7743, allocations: 3.328 kB / 1.092 GB, free: 2.469 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.281e-05/0.7743, allocations: 80.5 kB / 1.092 GB, free: 2.391 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.506e-06/0.7744, allocations: 75.28 kB / 1.092 GB, free: 2.316 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.142e-05/0.7744, allocations: 39.89 kB / 1.092 GB, free: 2.277 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.947e-05/0.7744, allocations: 83.03 kB / 1.092 GB, free: 2.203 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/0.7744, allocations: 76.69 kB / 1.092 GB, free: 2.129 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.646e-05/0.7745, allocations: 155.1 kB / 1.092 GB, free: 1.977 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.181e-05/0.7745, allocations: 85.39 kB / 1.093 GB, free: 1.895 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.852e-05/0.7745, allocations: 155.6 kB / 1.093 GB, free: 1.742 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001058/0.7746, allocations: 86.41 kB / 1.093 GB, free: 1.66 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.087e-06/0.7746, allocations: 76.28 kB / 1.093 GB, free: 1.586 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00015/0.7748, allocations: 270.1 kB / 1.093 GB, free: 17.32 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.462e-05/0.7749, allocations: 112.7 kB / 1.093 GB, free: 17.21 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.393e-05/0.7749, allocations: 110.9 kB / 1.093 GB, free: 17.09 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.179e-05/0.775, allocations: 180.9 kB / 1.093 GB, free: 16.91 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.417e-05/0.775, allocations: 186.6 kB / 1.094 GB, free: 16.72 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.174e-05/0.7751, allocations: 182.1 kB / 1.094 GB, free: 16.54 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002245/0.7753, allocations: 422 kB / 1.094 GB, free: 16.09 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.586e-05/0.7754, allocations: 105.6 kB / 1.094 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.299e-05/0.7754, allocations: 101.6 kB / 1.094 GB, free: 15.87 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.339e-05/0.7755, allocations: 182 kB / 1.095 GB, free: 15.69 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.605e-05/0.7755, allocations: 178.4 kB / 1.095 GB, free: 15.51 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.356e-05/0.7756, allocations: 186.1 kB / 1.095 GB, free: 15.32 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.477e-05/0.7757, allocations: 190.2 kB / 1.095 GB, free: 15.13 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001248/0.7758, allocations: 315.7 kB / 1.095 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 7.871e-05/0.7759, allocations: 191.1 kB / 1.096 GB, free: 14.6 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.416e-05/0.7759, allocations: 182 kB / 1.096 GB, free: 14.41 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.277e-05/0.776, allocations: 110.9 kB / 1.096 GB, free: 14.3 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.758e-05/0.7761, allocations: 181.4 kB / 1.096 GB, free: 14.12 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.243e-05/0.7761, allocations: 106 kB / 1.096 GB, free: 14.01 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 9.296e-05/0.7762, allocations: 121.6 kB / 1.096 GB, free: 13.92 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7763, allocations: 0 / 1.096 GB, free: 13.92 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0002529/0.7765, allocations: 4.469 kB / 1.096 GB, free: 13.92 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001259/0.7766, allocations: 172 kB / 1.096 GB, free: 13.76 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 4.845e-05/0.7767, allocations: 6.188 kB / 1.096 GB, free: 13.76 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.7767, allocations: 0 / 1.096 GB, free: 13.76 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 1.664e-06/0.7767, allocations: 1.094 kB / 1.096 GB, free: 13.76 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003685/0.7771, allocations: 468.5 kB / 1.097 GB, free: 13.3 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002588/0.7773, allocations: 231 kB / 1.097 GB, free: 13.08 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002436/0.7776, allocations: 0.6874 MB / 1.098 GB, free: 12.38 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.873e-05/0.7776, allocations: 10.7 kB / 1.098 GB, free: 12.37 MB / 0.8731 GB Notification: Performance of SimCode: time 2.21e-07/0.7776, allocations: 0 / 1.098 GB, free: 12.37 MB / 0.8731 GB Notification: Performance of Templates: time 0.002052/0.7797, allocations: 0.7104 MB / 1.099 GB, free: 12.32 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorFilter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches