Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.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.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|resetTimer.u|resetTimer.y|accuTimer.u|accuTimer.reset|accuTimer.y|accuTimer1.u|accuTimer1.reset|accuTimer1.y|accuTimer2.u|accuTimer2.reset|accuTimer2.y|accuTimer3.u|accuTimer3.reset|accuTimer3.y",fileNamePrefix="Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer") translateModel(Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|resetTimer.u|resetTimer.y|accuTimer.u|accuTimer.reset|accuTimer.y|accuTimer1.u|accuTimer1.reset|accuTimer1.y|accuTimer2.u|accuTimer2.reset|accuTimer2.y|accuTimer3.u|accuTimer3.reset|accuTimer3.y",fileNamePrefix="Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer") [: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.961/1.961, allocations: 390.4 MB / 397.7 MB, free: 11.27 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.001124/0.001124, allocations: 185.2 kB / 490.8 MB, free: 1.969 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.492/1.492, allocations: 221.3 MB / 0.7863 GB, free: 13.67 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.001057/0.001058, allocations: 98.23 kB / 0.9264 GB, free: 14.21 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 6.873e-06/6.983e-06, allocations: 0 / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3171/0.3171, allocations: 143 MB / 1.212 GB, free: 40.11 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8615/1.179, allocations: 150.8 MB / 1.359 GB, free: 17.25 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000279/1.179, allocations: 76.75 kB / 1.359 GB, free: 17.25 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.01613/1.195, allocations: 5.159 MB / 1.364 GB, free: 16.95 MB / 0.823 GB Notification: Performance of Transformations before backend: time 2.055e-05/1.195, allocations: 5.781 kB / 1.364 GB, free: 16.95 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0006761/1.196, allocations: 0.5479 MB / 1.365 GB, free: 32.44 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.316e-05/1.196, allocations: 9.031 kB / 1.365 GB, free: 32.44 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001034/1.196, allocations: 38.86 kB / 1.365 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003679/1.196, allocations: 262 kB / 1.365 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.875e-05/1.196, allocations: 14.25 kB / 1.365 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.397e-05/1.197, allocations: 37.22 kB / 1.365 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002154/1.197, allocations: 91.89 kB / 1.365 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00027/1.197, allocations: 156 kB / 1.365 GB, free: 32.17 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/1.197, allocations: 3.938 kB / 1.365 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.382e-05/1.197, allocations: 7.109 kB / 1.365 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.516e-06/1.197, allocations: 3.75 kB / 1.365 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008979/1.198, allocations: 0.5863 MB / 1.366 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002509/1.198, allocations: 164.4 kB / 1.366 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001145/1.198, allocations: 74.08 kB / 1.366 GB, free: 31.87 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.262e-05/1.198, allocations: 6.625 kB / 1.366 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002664/1.199, allocations: 189.2 kB / 1.366 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=37): time 1.763e-06/1.199, allocations: 0 / 1.366 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of matching and sorting (n=37): time 0.0004615/1.199, allocations: 243 kB / 1.366 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.653e-05/1.199, allocations: 64.44 kB / 1.366 GB, free: 31.69 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001467/1.199, allocations: 169.1 kB / 1.367 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 5.383e-05/1.199, allocations: 39.58 kB / 1.367 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 9.208e-05/1.2, allocations: 122.1 kB / 1.367 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 6.393e-05/1.2, allocations: 80.06 kB / 1.367 GB, free: 31.42 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.55e-05/1.2, allocations: 9.094 kB / 1.367 GB, free: 31.42 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001141/1.2, allocations: 337.1 kB / 1.367 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000254/1.2, allocations: 131.4 kB / 1.367 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003122/1.2, allocations: 256.4 kB / 1.367 GB, free: 30.97 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005623/1.201, allocations: 178.7 kB / 1.368 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/1.201, allocations: 5.406 kB / 1.368 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001091/1.202, allocations: 479.9 kB / 1.368 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/1.202, allocations: 11 kB / 1.368 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-05/1.202, allocations: 4.344 kB / 1.368 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.515e-05/1.202, allocations: 6.625 kB / 1.368 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001618/1.202, allocations: 42.78 kB / 1.368 GB, free: 30.87 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.726e-05/1.202, allocations: 7.547 kB / 1.368 GB, free: 30.87 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005788/1.203, allocations: 133.8 kB / 1.368 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.002e-05/1.203, allocations: 33.69 kB / 1.368 GB, free: 30.84 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 56 ($PRE.accuTimer3.yAcc,accuTimer3.yAcc,$PRE.accuTimer2.yAcc,accuTimer2.yAcc,$PRE.accuTimer1.yAcc,accuTimer1.yAcc,$PRE.accuTimer.yAcc,accuTimer.yAcc,$PRE.resetTimer.yAcc,resetTimer.yAcc,$whenCondition16,$whenCondition17,$whenCondition14,$whenCondition15,$whenCondition12,$whenCondition13,$whenCondition4,$PRE.booPul1.y,booPul1.y,$whenCondition1,$whenCondition10,accuTimer3.reset,$PRE.pre.u,$whenCondition9,$whenCondition8,$PRE.accuTimer2.entryTime,accuTimer2.entryTime,$PRE.booPul2.y,booPul2.y,$PRE.accuTimer2.reset_internal,accuTimer2.reset_internal,$whenCondition11,$whenCondition6,$whenCondition7,$whenCondition5,$whenCondition3,$whenCondition2,$PRE.resetTimer.entryTime,resetTimer.entryTime,$PRE.accuTimer.entryTime,accuTimer.entryTime,$PRE.accuTimer1.entryTime,accuTimer1.entryTime,$PRE.accuTimer3.entryTime,accuTimer3.entryTime,pre.u,$PRE.booPul.y,booPul.y,$PRE.resetTimer.reset_internal,resetTimer.reset_internal,$PRE.accuTimer.reset_internal,accuTimer.reset_internal,$PRE.accuTimer1.reset_internal,accuTimer1.reset_internal,$PRE.accuTimer3.reset_internal,accuTimer3.reset_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 3 * 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.0001505/1.203, allocations: 153.7 kB / 1.368 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.795e-05/1.203, allocations: 25.84 kB / 1.369 GB, free: 30.7 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.208e-05/1.203, allocations: 27.58 kB / 1.369 GB, free: 30.7 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/1.203, allocations: 3.375 kB / 1.369 GB, free: 30.7 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/1.203, allocations: 0 / 1.369 GB, free: 30.7 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.323e-06/1.203, allocations: 6.719 kB / 1.369 GB, free: 30.69 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007672/1.204, allocations: 0.5906 MB / 1.369 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.536e-06/1.204, allocations: 6.75 kB / 1.369 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.379e-05/1.204, allocations: 18.56 kB / 1.369 GB, free: 30.4 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/1.204, allocations: 1.094 kB / 1.369 GB, free: 30.4 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.399e-05/1.204, allocations: 7.969 kB / 1.369 GB, free: 30.4 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/1.204, allocations: 6.812 kB / 1.369 GB, free: 30.39 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/1.204, allocations: 96 / 1.369 GB, free: 30.39 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004048/1.205, allocations: 344.8 kB / 1.369 GB, free: 30.25 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.321e-05/1.205, allocations: 100.6 kB / 1.37 GB, free: 30.14 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.837e-05/1.205, allocations: 7.172 kB / 1.37 GB, free: 30.14 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001125/1.205, allocations: 20.31 kB / 1.37 GB, free: 30.13 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.196e-05/1.205, allocations: 34.22 kB / 1.37 GB, free: 30.12 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.755e-05/1.205, allocations: 20.25 kB / 1.37 GB, free: 30.12 MB / 0.8386 GB Notification: Performance of sort global known variables: time 8.629e-05/1.205, allocations: 113.1 kB / 1.37 GB, free: 30.05 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0004162/1.205, allocations: 81.05 kB / 1.37 GB, free: 30.05 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: 32 (accuTimer3.reset,$whenCondition16,$whenCondition17,$whenCondition14,$whenCondition15,$whenCondition12,$whenCondition13,$whenCondition10,$whenCondition11,$whenCondition9,$whenCondition8,$whenCondition6,$whenCondition7,$whenCondition4,$whenCondition5,$whenCondition3,$whenCondition1,$whenCondition2,resetTimer.entryTime,resetTimer.yAcc,accuTimer.entryTime,accuTimer.yAcc,accuTimer1.entryTime,accuTimer1.yAcc,accuTimer2.entryTime,accuTimer2.yAcc,accuTimer3.entryTime,accuTimer3.yAcc,booPul1.y,pre.u,booPul.y,booPul2.y) * Number of discrete states: 6 (pre.u,accuTimer3.y,accuTimer2.y,accuTimer1.y,accuTimer.y,resetTimer.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 13 * 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.0001798/1.206, allocations: 137.9 kB / 1.37 GB, free: 29.95 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0006489/1.206, allocations: 411.6 kB / 1.37 GB, free: 29.84 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/1.206, allocations: 0 / 1.37 GB, free: 29.84 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.000207/1.207, allocations: 143.2 kB / 1.371 GB, free: 29.83 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002965/1.207, allocations: 27.39 kB / 1.371 GB, free: 29.82 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006366/1.207, allocations: 300.3 kB / 1.371 GB, free: 29.7 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003674/1.208, allocations: 0.7765 MB / 1.372 GB, free: 29 MB / 0.8386 GB Notification: Performance of SimCode: time 3.41e-07/1.208, allocations: 0 / 1.372 GB, free: 29 MB / 0.8386 GB Notification: Performance of Templates: time 0.009942/1.218, allocations: 3.813 MB / 1.375 GB, free: 28.7 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.makefile (rm -f Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.sim & ./Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Obsolete_Controls_OBC_CDL_Logical_Validation_Timer.csv","../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches