Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 1.703/1.703, allocations: 390.4 MB / 397.7 MB, free: 11.24 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008961/0.0008961, allocations: 176.1 kB / 490.8 MB, free: 1.906 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.088/1.088, allocations: 221.3 MB / 0.7863 GB, free: 13.6 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007996/0.0007996, allocations: 91.3 kB / 0.9264 GB, free: 14.13 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 6.051e-06/6.071e-06, allocations: 4 kB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.163/0.163, allocations: 143 MB / 1.212 GB, free: 40.04 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.448/0.611, allocations: 153.4 MB / 1.361 GB, free: 17.2 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001773/0.6112, allocations: 77.95 kB / 1.361 GB, free: 17.2 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.02416/0.6354, allocations: 10.63 MB / 1.372 GB, free: 16.64 MB / 0.823 GB Notification: Performance of Transformations before backend: time 2.205e-05/0.6354, allocations: 13.56 kB / 1.372 GB, free: 16.63 MB / 0.823 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.0005696/0.636, allocations: 0.5243 MB / 1.372 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 2.837e-05/0.636, allocations: 10.36 kB / 1.372 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.651e-05/0.6361, allocations: 30.19 kB / 1.372 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005904/0.6367, allocations: 396.1 kB / 1.373 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.787e-05/0.6367, allocations: 10.72 kB / 1.373 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.198e-05/0.6368, allocations: 5.859 kB / 1.373 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001206/0.6369, allocations: 61.98 kB / 1.373 GB, free: 31.92 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000148/0.6371, allocations: 96.58 kB / 1.373 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.6371, allocations: 0 / 1.373 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.472e-05/0.6371, allocations: 1.641 kB / 1.373 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.203e-06/0.6371, allocations: 1.125 kB / 1.373 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006448/0.6377, allocations: 494.5 kB / 1.373 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001771/0.6379, allocations: 122.6 kB / 1.374 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.65e-05/0.638, allocations: 45.61 kB / 1.374 GB, free: 31.6 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.619e-05/0.638, allocations: 9.094 kB / 1.374 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001229/0.6382, allocations: 95.8 kB / 1.374 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=13): time 1.673e-06/0.6382, allocations: 1 kB / 1.374 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of matching and sorting (n=13): time 0.0002814/0.6385, allocations: 154.5 kB / 1.374 GB, free: 31.49 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.536e-05/0.6385, allocations: 53.12 kB / 1.374 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004903/0.639, allocations: 459.2 kB / 1.374 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.64e-05/0.639, allocations: 27.08 kB / 1.374 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.643e-05/0.6391, allocations: 130.3 kB / 1.374 GB, free: 31.19 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.973e-05/0.6391, allocations: 32.5 kB / 1.374 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.48e-05/0.6391, allocations: 3.938 kB / 1.374 GB, free: 31.17 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000116/0.6393, allocations: 351.3 kB / 1.375 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001505/0.6394, allocations: 114.3 kB / 1.375 GB, free: 30.85 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001558/0.6396, allocations: 143.3 kB / 1.375 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003287/0.6399, allocations: 142 kB / 1.375 GB, free: 30.81 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.6399, allocations: 0 / 1.375 GB, free: 30.81 MB / 0.8386 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005854/0.6405, allocations: 358.5 kB / 1.376 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.153e-05/0.6405, allocations: 6.844 kB / 1.376 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.6405, allocations: 5.859 kB / 1.376 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.6406, allocations: 2.188 kB / 1.376 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002138/0.6408, allocations: 53.48 kB / 1.376 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.129e-06/0.6408, allocations: 5.5 kB / 1.376 GB, free: 30.74 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001421/0.6409, allocations: 16.22 kB / 1.376 GB, free: 30.73 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.541e-05/0.641, allocations: 15.31 kB / 1.376 GB, free: 30.73 MB / 0.8386 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.u1,intEqu.u2,intEqu.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 () * 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 8.163e-05/0.6411, allocations: 115.4 kB / 1.376 GB, free: 30.62 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.322e-05/0.6411, allocations: 29.88 kB / 1.376 GB, free: 30.61 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002795/0.6414, allocations: 176 kB / 1.376 GB, free: 30.56 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.377e-06/0.6414, allocations: 6.438 kB / 1.376 GB, free: 30.56 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.6414, allocations: 0.5625 kB / 1.376 GB, free: 30.56 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.6414, allocations: 1.719 kB / 1.376 GB, free: 30.56 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002373/0.6417, allocations: 282.5 kB / 1.376 GB, free: 30.4 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.6417, allocations: 0 / 1.376 GB, free: 30.4 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.883e-05/0.6418, allocations: 14.75 kB / 1.376 GB, free: 30.4 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.6418, allocations: 1.094 kB / 1.376 GB, free: 30.4 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.501e-05/0.6418, allocations: 3.469 kB / 1.376 GB, free: 30.4 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.6418, allocations: 0.9688 kB / 1.376 GB, free: 30.4 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.6418, allocations: 1.516 kB / 1.376 GB, free: 30.4 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002432/0.6421, allocations: 192.8 kB / 1.376 GB, free: 30.31 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 7.643e-05/0.6421, allocations: 115.4 kB / 1.377 GB, free: 30.2 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.104e-05/0.6422, allocations: 6.484 kB / 1.377 GB, free: 30.2 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001046/0.6423, allocations: 18.02 kB / 1.377 GB, free: 30.19 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.224e-05/0.6424, allocations: 17.12 kB / 1.377 GB, free: 30.19 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.483e-05/0.6424, allocations: 9.812 kB / 1.377 GB, free: 30.18 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.000312/0.6427, allocations: 303.7 kB / 1.377 GB, free: 30.1 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003261/0.643, allocations: 63.5 kB / 1.377 GB, free: 30.09 MB / 0.8386 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.u1,intEqu.u2,intEqu.y,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin1.tab.nextTimeEventScaled) * Number of discrete states: 4 (timTabLin.tab.nextTimeEvent,timTabLin1.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 11 * 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.0005703/0.6436, allocations: 332.8 kB / 1.377 GB, free: 29.92 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002675/0.6439, allocations: 186.5 kB / 1.377 GB, free: 29.91 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.343e-06/0.6439, allocations: 0 / 1.377 GB, free: 29.91 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 9.508e-05/0.644, allocations: 61.73 kB / 1.377 GB, free: 29.91 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003699/0.6444, allocations: 74.78 kB / 1.378 GB, free: 29.91 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006939/0.6451, allocations: 433.5 kB / 1.378 GB, free: 29.76 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004471/0.6455, allocations: 0.8284 MB / 1.379 GB, free: 29.05 MB / 0.8386 GB Notification: Performance of SimCode: time 2.7e-07/0.6456, allocations: 0 / 1.379 GB, free: 29.05 MB / 0.8386 GB Notification: Performance of Templates: time 0.006823/0.6524, allocations: 3.637 MB / 1.382 GB, free: 27.97 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_Equal.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches