Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|noThr.u|noThr.y|noThr.t|noThr.passed|thrTim.u|thrTim.y|thrTim.t|thrTim.passed",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|noThr.u|noThr.y|noThr.t|noThr.passed|thrTim.u|thrTim.y|thrTim.t|thrTim.passed",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime") [: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 9.1.1-maint.9.1.x/package.mo): time 1.775/1.775, allocations: 387.2 MB / 394.5 MB, free: 13.62 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.0009345/0.0009345, allocations: 193.2 kB / 487 MB, free: 5.34 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.118/1.118, allocations: 221.3 MB / 0.7819 GB, free: 1.359 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007944/0.0007944, allocations: 83.7 kB / 0.9213 GB, free: 2.629 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 7.154e-06/7.174e-06, allocations: 4 kB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1927/0.1927, allocations: 142.3 MB / 1.205 GB, free: 26.23 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4868/0.6796, allocations: 148.8 MB / 1.351 GB, free: 15.91 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001852/0.6798, allocations: 67.52 kB / 1.351 GB, free: 15.91 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.005235/0.6851, allocations: 1.769 MB / 1.352 GB, free: 15.82 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 5.66e-06/0.6851, allocations: 2.125 kB / 1.352 GB, free: 15.82 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003215/0.6854, allocations: 402.8 kB / 1.353 GB, free: 15.43 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.15e-05/0.6854, allocations: 9.25 kB / 1.353 GB, free: 15.43 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.933e-05/0.6855, allocations: 15.56 kB / 1.353 GB, free: 15.43 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.939e-05/0.6856, allocations: 169.2 kB / 1.353 GB, free: 15.23 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.068e-05/0.6856, allocations: 3.703 kB / 1.353 GB, free: 15.23 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.895e-05/0.6856, allocations: 14.67 kB / 1.353 GB, free: 15.22 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.416e-05/0.6857, allocations: 38.03 kB / 1.353 GB, free: 15.22 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000117/0.6859, allocations: 75.81 kB / 1.353 GB, free: 15.19 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.331e-06/0.6859, allocations: 1.688 kB / 1.353 GB, free: 15.19 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.384e-05/0.6859, allocations: 6.016 kB / 1.353 GB, free: 15.18 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.6859, allocations: 1.375 kB / 1.353 GB, free: 15.18 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004634/0.6864, allocations: 346 kB / 1.353 GB, free: 14.94 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001174/0.6865, allocations: 83.25 kB / 1.353 GB, free: 14.92 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.928e-05/0.6865, allocations: 35.42 kB / 1.353 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.133e-05/0.6866, allocations: 5.203 kB / 1.353 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001182/0.6867, allocations: 101.7 kB / 1.354 GB, free: 14.86 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=13): time 1.293e-06/0.6867, allocations: 0 / 1.354 GB, free: 14.86 MB / 0.8073 GB Notification: Performance of matching and sorting (n=13): time 0.0002137/0.6869, allocations: 124.1 kB / 1.354 GB, free: 14.82 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.819e-05/0.6869, allocations: 60.08 kB / 1.354 GB, free: 14.75 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.619e-05/0.687, allocations: 103.3 kB / 1.354 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.306e-05/0.687, allocations: 28.89 kB / 1.354 GB, free: 14.63 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.805e-05/0.6871, allocations: 93.16 kB / 1.354 GB, free: 14.54 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.261e-05/0.6871, allocations: 28.84 kB / 1.354 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.314e-05/0.6871, allocations: 6.156 kB / 1.354 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 3.593e-05/0.6871, allocations: 319.5 kB / 1.354 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.675e-05/0.6872, allocations: 43.92 kB / 1.354 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.749e-05/0.6873, allocations: 82.92 kB / 1.354 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001941/0.6875, allocations: 58.34 kB / 1.354 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.6875, allocations: 0.875 kB / 1.354 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003499/0.6879, allocations: 172.4 kB / 1.355 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.083e-05/0.6879, allocations: 5.156 kB / 1.355 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.429e-06/0.6879, allocations: 4.906 kB / 1.355 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.6879, allocations: 3.594 kB / 1.355 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.233e-05/0.688, allocations: 9.094 kB / 1.355 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.688, allocations: 6.75 kB / 1.355 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002108/0.6882, allocations: 50.41 kB / 1.355 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.372e-05/0.6883, allocations: 12 kB / 1.355 GB, free: 14.11 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 16 ($PRE.thrTim.passed,thrTim.passed,$PRE.noThr.passed,noThr.passed,$whenCondition5,$whenCondition6,$whenCondition4,$whenCondition1,$whenCondition2,$whenCondition3,$PRE.noThr.entryTime,noThr.entryTime,$PRE.thrTim.entryTime,thrTim.entryTime,$PRE.booPul.y,booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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 5.748e-05/0.6883, allocations: 117.8 kB / 1.355 GB, free: 13.99 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.687e-05/0.6884, allocations: 13.16 kB / 1.355 GB, free: 13.98 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.646e-05/0.6884, allocations: 10.69 kB / 1.355 GB, free: 13.98 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.6884, allocations: 1.75 kB / 1.355 GB, free: 13.98 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.6884, allocations: 0 / 1.355 GB, free: 13.98 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.6884, allocations: 2.578 kB / 1.355 GB, free: 13.98 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002422/0.6887, allocations: 367.6 kB / 1.355 GB, free: 13.71 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.6887, allocations: 3 kB / 1.355 GB, free: 13.71 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.901e-05/0.6887, allocations: 4.031 kB / 1.355 GB, free: 13.71 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.6887, allocations: 5.312 kB / 1.355 GB, free: 13.7 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.434e-05/0.6887, allocations: 4.938 kB / 1.355 GB, free: 13.7 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.6887, allocations: 0 / 1.355 GB, free: 13.7 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.6887, allocations: 4.594 kB / 1.355 GB, free: 13.7 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001702/0.6889, allocations: 214.7 kB / 1.355 GB, free: 13.56 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.764e-05/0.6889, allocations: 87.78 kB / 1.356 GB, free: 13.46 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.789e-05/0.689, allocations: 8.188 kB / 1.356 GB, free: 13.46 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.295e-05/0.6891, allocations: 16.14 kB / 1.356 GB, free: 13.45 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.61e-05/0.6891, allocations: 12.16 kB / 1.356 GB, free: 13.45 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.353e-05/0.6891, allocations: 11.73 kB / 1.356 GB, free: 13.45 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1.923e-05/0.6892, allocations: 80.97 kB / 1.356 GB, free: 13.38 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002533/0.6894, allocations: 33.59 kB / 1.356 GB, free: 13.38 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition5,$whenCondition6,$whenCondition4,$whenCondition1,$whenCondition2,$whenCondition3,noThr.passed,noThr.entryTime,thrTim.passed,thrTim.entryTime,booPul.y) * Number of discrete states: 2 (noThr.entryTime,thrTim.entryTime) * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0001249/0.6896, allocations: 114.9 kB / 1.356 GB, free: 13.29 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0002287/0.6898, allocations: 142.4 kB / 1.356 GB, free: 13.25 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.282e-06/0.6898, allocations: 5.031 kB / 1.356 GB, free: 13.25 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 8.948e-05/0.6899, allocations: 70.28 kB / 1.356 GB, free: 13.24 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001775/0.6901, allocations: 18.58 kB / 1.356 GB, free: 13.24 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002586/0.6903, allocations: 122.7 kB / 1.356 GB, free: 13.16 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002501/0.6906, allocations: 0.7057 MB / 1.357 GB, free: 28.46 MB / 0.823 GB Notification: Performance of SimCode: time 2.51e-07/0.6906, allocations: 0 / 1.357 GB, free: 28.46 MB / 0.823 GB Notification: Performance of Templates: time 0.003536/0.6942, allocations: 1.562 MB / 1.358 GB, free: 28.32 MB / 0.823 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches