Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.OffTimer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|offTim1.u|offTim1.y|offTim2.u|offTim2.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.OffTimer") translateModel(Buildings.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|offTim1.u|offTim1.y|offTim2.u|offTim2.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.OffTimer") [: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 7.0.3-maint.7.0.x/package.mo): time 1.429/1.429, allocations: 249.4 MB / 256.7 MB, free: 7.004 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001197/0.001197, allocations: 192.7 kB / 316 MB, free: 3.504 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.408/1.408, allocations: 205.2 MB / 0.5667 GB, free: 15.6 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009021/0.0009021, allocations: 81.05 kB / 0.671 GB, free: 4.734 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.009e-05/1.011e-05, allocations: 0 / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2198/0.2198, allocations: 106.3 MB / 0.8846 GB, free: 12.62 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5601/0.7799, allocations: 132.6 MB / 1.014 GB, free: 6.031 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002174/0.7802, allocations: 73.39 kB / 1.014 GB, free: 5.992 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.00284/0.7831, allocations: 0.7809 MB / 1.015 GB, free: 5.348 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.302e-06/0.7831, allocations: 0 / 1.015 GB, free: 5.348 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0003948/0.7835, allocations: 361.1 kB / 1.015 GB, free: 4.957 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.618e-05/0.7835, allocations: 8.031 kB / 1.015 GB, free: 4.949 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.481e-05/0.7836, allocations: 7.906 kB / 1.015 GB, free: 4.941 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000148/0.7837, allocations: 167 kB / 1.015 GB, free: 4.738 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.629e-05/0.7837, allocations: 4 kB / 1.015 GB, free: 4.734 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.416e-05/0.7838, allocations: 7.906 kB / 1.015 GB, free: 4.727 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.978e-05/0.7838, allocations: 23.17 kB / 1.015 GB, free: 4.711 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.352e-05/0.7839, allocations: 44.88 kB / 1.016 GB, free: 4.664 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.7839, allocations: 0 / 1.016 GB, free: 4.664 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.784, allocations: 3.625 kB / 1.016 GB, free: 4.664 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.784, allocations: 8 kB / 1.016 GB, free: 4.656 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003918/0.7844, allocations: 269.5 kB / 1.016 GB, free: 4.371 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.774e-05/0.7845, allocations: 46.27 kB / 1.016 GB, free: 4.324 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.014e-05/0.7845, allocations: 24.39 kB / 1.016 GB, free: 4.305 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.416e-05/0.7845, allocations: 3.984 kB / 1.016 GB, free: 4.301 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.675e-05/0.7846, allocations: 77.39 kB / 1.016 GB, free: 4.223 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=9): time 1.532e-06/0.7846, allocations: 0 / 1.016 GB, free: 4.223 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9): time 0.0001652/0.7848, allocations: 61 kB / 1.016 GB, free: 4.164 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.23e-05/0.7849, allocations: 66.66 kB / 1.016 GB, free: 4.09 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.524e-05/0.785, allocations: 104.8 kB / 1.016 GB, free: 3.984 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.512e-05/0.785, allocations: 25.7 kB / 1.016 GB, free: 3.953 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.506e-05/0.785, allocations: 84.14 kB / 1.016 GB, free: 3.867 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.045e-05/0.7851, allocations: 15.47 kB / 1.016 GB, free: 3.855 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.448e-06/0.7851, allocations: 4.094 kB / 1.016 GB, free: 3.852 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.713e-05/0.7852, allocations: 322.5 kB / 1.017 GB, free: 3.531 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.03e-05/0.7852, allocations: 14.88 kB / 1.017 GB, free: 3.523 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.554e-05/0.7853, allocations: 42.5 kB / 1.017 GB, free: 3.477 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.567e-05/0.7853, allocations: 15.36 kB / 1.017 GB, free: 3.465 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.7853, allocations: 0 / 1.017 GB, free: 3.465 MB / 0.6355 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000118/0.7854, allocations: 88.77 kB / 1.017 GB, free: 3.383 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/0.7855, allocations: 4 kB / 1.017 GB, free: 3.379 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.439e-06/0.7855, allocations: 3.938 kB / 1.017 GB, free: 3.375 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.161e-05/0.7855, allocations: 4 kB / 1.017 GB, free: 3.371 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.955e-05/0.7856, allocations: 11.94 kB / 1.017 GB, free: 3.359 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.528e-06/0.7856, allocations: 4.031 kB / 1.017 GB, free: 3.355 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.031e-05/0.7856, allocations: 11.98 kB / 1.017 GB, free: 3.344 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.887e-06/0.7857, allocations: 7.906 kB / 1.017 GB, free: 3.336 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$whenCondition3,$whenCondition2,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart,not1.y,$PRE.offTim1.entryTime,offTim1.entryTime,$PRE.offTim2.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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 6.384e-05/0.7857, allocations: 108 kB / 1.017 GB, free: 3.227 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.34e-05/0.7858, allocations: 7.906 kB / 1.017 GB, free: 3.219 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.04e-05/0.7858, allocations: 7.938 kB / 1.017 GB, free: 3.211 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.045e-06/0.7858, allocations: 8 kB / 1.017 GB, free: 3.203 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.7858, allocations: 0 / 1.017 GB, free: 3.203 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.7858, allocations: 0 / 1.017 GB, free: 3.203 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003421/0.7862, allocations: 328.3 kB / 1.017 GB, free: 2.855 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.7862, allocations: 0 / 1.017 GB, free: 2.855 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.743e-05/0.7862, allocations: 8.875 kB / 1.017 GB, free: 2.848 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.7862, allocations: 0 / 1.017 GB, free: 2.848 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.993e-06/0.7862, allocations: 0 / 1.017 GB, free: 2.848 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.7862, allocations: 3.984 kB / 1.017 GB, free: 2.844 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/0.7862, allocations: 3.984 kB / 1.017 GB, free: 2.84 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001245/0.7864, allocations: 166.1 kB / 1.017 GB, free: 2.672 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.092e-05/0.7864, allocations: 81.08 kB / 1.017 GB, free: 2.574 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.652e-05/0.7864, allocations: 8.188 kB / 1.017 GB, free: 2.566 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.052e-05/0.7865, allocations: 11.98 kB / 1.017 GB, free: 2.555 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.883e-05/0.7866, allocations: 11.92 kB / 1.017 GB, free: 2.543 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.444e-06/0.7866, allocations: 7.625 kB / 1.017 GB, free: 2.539 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.153e-05/0.7866, allocations: 82 kB / 1.018 GB, free: 2.461 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002184/0.7869, allocations: 8 kB / 1.018 GB, free: 2.453 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (not1.y,$whenCondition3,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,offTim1.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001006/0.787, allocations: 99.38 kB / 1.018 GB, free: 2.348 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001068/0.7871, allocations: 52.22 kB / 1.018 GB, free: 2.309 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.392e-06/0.7871, allocations: 0 / 1.018 GB, free: 2.309 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.715e-05/0.7871, allocations: 23.38 kB / 1.018 GB, free: 2.289 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002086/0.7874, allocations: 11.31 kB / 1.018 GB, free: 2.281 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00034/0.7877, allocations: 110.7 kB / 1.018 GB, free: 2.156 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002765/0.788, allocations: 0.7074 MB / 1.019 GB, free: 1.422 MB / 0.6355 GB Notification: Performance of SimCode: time 2.51e-07/0.788, allocations: 0 / 1.019 GB, free: 1.422 MB / 0.6355 GB Notification: Performance of Templates: time 0.002481/0.7905, allocations: 0.7068 MB / 1.019 GB, free: 0.7227 MB / 0.6355 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.OffTimer.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.OffTimer.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.OffTimer.sim & ./Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.OffTimer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.OffTimer.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.OffTimer_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_Continuous_Examples_OffTimer.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.OffTimer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches