Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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.Integers.Validation.Equal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intEqu.u1|intEqu.u2|intEqu.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Equal") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Equal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intEqu.u1|intEqu.u2|intEqu.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Equal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001166/0.001166, allocations: 86.56 kB / 15.06 MB, free: 1.09 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.001704/0.001704, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.428/1.428, allocations: 223.3 MB / 240 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.743/2.743, allocations: 437.8 MB / 0.7118 GB, free: 7.117 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004877/0.0004878, allocations: 8 kB / 0.8722 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8393/0.8398, allocations: 153.8 MB / 1.022 GB, free: 24 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Equal): time 0.002151/0.842, allocations: 1.657 MB / 1.024 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001739/0.8438, allocations: 1.12 MB / 1.025 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001076/0.8439, allocations: 7.938 kB / 1.025 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0003841/0.8443, allocations: 143.6 kB / 1.025 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002663/0.8446, allocations: 131.5 kB / 1.025 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004444/0.8451, allocations: 183.4 kB / 1.026 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003018/0.8454, allocations: 259.2 kB / 1.026 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001373/0.8455, allocations: 48.3 kB / 1.026 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001652/0.8457, allocations: 119.5 kB / 1.026 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001572/0.8459, allocations: 119.5 kB / 1.026 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.785e-05/0.8459, allocations: 11.98 kB / 1.026 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001114/0.846, allocations: 47.86 kB / 1.026 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 9.439e-05/0.8461, allocations: 79.72 kB / 1.026 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 6.489e-05/0.8462, allocations: 77.5 kB / 1.026 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002816/0.8465, allocations: 277.3 kB / 1.027 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.8465, allocations: 0 / 1.027 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.372e-06/0.8465, allocations: 0 / 1.027 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.29e-06/0.8465, allocations: 4 kB / 1.027 GB, free: 11.75 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0008395/0.8473, allocations: 0.5774 MB / 1.027 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.418e-05/0.8474, allocations: 8.031 kB / 1.027 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.408e-05/0.8475, allocations: 35.61 kB / 1.027 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004557/0.8479, allocations: 353.3 kB / 1.028 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.011e-05/0.848, allocations: 4 kB / 1.028 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.061e-05/0.848, allocations: 19.94 kB / 1.028 GB, free: 10.67 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000228/0.8482, allocations: 103.7 kB / 1.028 GB, free: 10.56 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.715e-06/0.8482, allocations: 0 / 1.028 GB, free: 10.56 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.808e-05/0.8483, allocations: 8 kB / 1.028 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.8483, allocations: 0 / 1.028 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001677/0.8484, allocations: 63.86 kB / 1.028 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000733/0.8492, allocations: 0.4964 MB / 1.028 GB, free: 9.945 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003208/0.8495, allocations: 138.6 kB / 1.028 GB, free: 9.801 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001208/0.8497, allocations: 48.83 kB / 1.028 GB, free: 9.75 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.835e-05/0.8497, allocations: 4 kB / 1.028 GB, free: 9.746 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002269/0.8499, allocations: 107.3 kB / 1.028 GB, free: 9.629 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=13): time 1.623e-06/0.8499, allocations: 0 / 1.028 GB, free: 9.629 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13): time 0.0004967/0.8504, allocations: 221.3 kB / 1.029 GB, free: 9.406 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.302e-05/0.8505, allocations: 51.41 kB / 1.029 GB, free: 9.344 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005507/0.851, allocations: 0.5092 MB / 1.029 GB, free: 8.828 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.246e-05/0.8511, allocations: 33.7 kB / 1.029 GB, free: 8.789 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001279/0.8512, allocations: 168.3 kB / 1.029 GB, free: 8.621 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.939e-05/0.8512, allocations: 35.62 kB / 1.029 GB, free: 8.586 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.643e-05/0.8513, allocations: 8 kB / 1.029 GB, free: 8.578 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001266/0.8514, allocations: 346.8 kB / 1.03 GB, free: 8.23 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001883/0.8516, allocations: 100.5 kB / 1.03 GB, free: 8.133 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002072/0.8518, allocations: 135.6 kB / 1.03 GB, free: 7.992 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002022/0.852, allocations: 104 kB / 1.03 GB, free: 7.891 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.852, allocations: 0 / 1.03 GB, free: 7.891 MB / 0.7794 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005209/0.8526, allocations: 317.6 kB / 1.03 GB, free: 7.574 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.911e-05/0.8526, allocations: 4 kB / 1.03 GB, free: 7.57 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.8526, allocations: 0 / 1.03 GB, free: 7.57 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.8526, allocations: 4 kB / 1.03 GB, free: 7.566 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002191/0.8528, allocations: 51.91 kB / 1.03 GB, free: 7.516 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.448e-06/0.8529, allocations: 8.062 kB / 1.03 GB, free: 7.508 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001321/0.853, allocations: 23.77 kB / 1.031 GB, free: 7.484 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.081e-05/0.853, allocations: 8 kB / 1.031 GB, free: 7.477 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition2,$PRE.timTabLin1.tab.nextTimeEvent,$whenCondition1,$PRE.timTabLin.tab.nextTimeEvent,intEqu.y,reaToInt.y,reaToInt1.y,timTabLin.tab.nextTimeEvent,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,$PRE.timTabLin1.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000184/0.8532, allocations: 193.6 kB / 1.031 GB, free: 7.277 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.971e-05/0.8533, allocations: 31.61 kB / 1.031 GB, free: 7.246 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.052e-05/0.8534, allocations: 39.12 kB / 1.031 GB, free: 7.207 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.8534, allocations: 0 / 1.031 GB, free: 7.207 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.8534, allocations: 4 kB / 1.031 GB, free: 7.203 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.8534, allocations: 4 kB / 1.031 GB, free: 7.199 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002878/0.8537, allocations: 301.3 kB / 1.031 GB, free: 6.855 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.8537, allocations: 3.938 kB / 1.031 GB, free: 6.852 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.687e-05/0.8538, allocations: 12 kB / 1.031 GB, free: 6.84 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.889e-06/0.8538, allocations: 4 kB / 1.031 GB, free: 6.836 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.605e-05/0.8538, allocations: 11.98 kB / 1.031 GB, free: 6.824 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.8538, allocations: 0 / 1.031 GB, free: 6.824 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.035e-06/0.8538, allocations: 3.984 kB / 1.031 GB, free: 6.82 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003503/0.8542, allocations: 204.7 kB / 1.031 GB, free: 6.602 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 8.618e-05/0.8543, allocations: 112.7 kB / 1.031 GB, free: 6.473 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.363e-05/0.8543, allocations: 7.984 kB / 1.031 GB, free: 6.465 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.204e-05/0.8544, allocations: 8 kB / 1.031 GB, free: 6.457 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.627e-05/0.8545, allocations: 23.91 kB / 1.031 GB, free: 6.434 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.437e-05/0.8545, allocations: 7.938 kB / 1.031 GB, free: 6.426 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0003187/0.8548, allocations: 311.1 kB / 1.032 GB, free: 6.125 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8549, allocations: 0 / 1.032 GB, free: 6.125 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003056/0.8552, allocations: 67.83 kB / 1.032 GB, free: 6.059 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,intEqu.y,reaToInt.y,reaToInt1.y,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin1.tab.nextTimeEventScaled) * Number of discrete states: 4 (timTabLin1.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,timTabLin1.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001069/0.8562, allocations: 415.6 kB / 1.032 GB, free: 5.805 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003716/0.8566, allocations: 188.8 kB / 1.032 GB, free: 5.621 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.8566, allocations: 0 / 1.032 GB, free: 5.621 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.000137/0.8568, allocations: 67.91 kB / 1.032 GB, free: 5.555 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004286/0.8572, allocations: 94.11 kB / 1.033 GB, free: 5.469 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007782/0.858, allocations: 0.5793 MB / 1.033 GB, free: 4.867 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003007/0.8583, allocations: 0.7831 MB / 1.034 GB, free: 4.059 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.000133/0.8585, allocations: 54.95 kB / 1.034 GB, free: 4.004 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.409e-05/0.8585, allocations: 27.42 kB / 1.034 GB, free: 3.977 MB / 0.7794 GB Notification: Performance of SimCode: time 2.7e-07/0.8585, allocations: 0 / 1.034 GB, free: 3.977 MB / 0.7794 GB Notification: Performance of Templates: time 0.007369/0.8659, allocations: 3.736 MB / 1.038 GB, free: 284 kB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Equal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Equal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Validation_Equal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches