Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.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.Validation.OffTimerNonZeroStart,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.Validation.OffTimerNonZeroStart") translateModel(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart,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.Validation.OffTimerNonZeroStart") [: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.44/1.44, allocations: 249.4 MB / 256.7 MB, free: 7.059 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.001108/0.001108, allocations: 177.3 kB / 316 MB, free: 3.59 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.355/1.355, allocations: 205.2 MB / 0.5667 GB, free: 15.72 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.001002/0.001002, allocations: 101.2 kB / 0.671 GB, free: 4.844 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.021e-06/6.051e-06, allocations: 0 / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2124/0.2124, allocations: 106.3 MB / 0.8845 GB, free: 12.7 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5853/0.7978, allocations: 132.7 MB / 1.014 GB, free: 6.105 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002514/0.7981, allocations: 73.7 kB / 1.014 GB, free: 6.066 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.003818/0.8019, allocations: 1.062 MB / 1.015 GB, free: 5.18 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.215e-05/0.802, allocations: 4 kB / 1.015 GB, free: 5.176 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.000437/0.8024, allocations: 345.8 kB / 1.016 GB, free: 4.797 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.338e-05/0.8025, allocations: 12.03 kB / 1.016 GB, free: 4.785 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.383e-05/0.8025, allocations: 11.91 kB / 1.016 GB, free: 4.773 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001524/0.8027, allocations: 171 kB / 1.016 GB, free: 4.566 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.737e-05/0.8027, allocations: 0 / 1.016 GB, free: 4.566 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.177e-05/0.8027, allocations: 12.59 kB / 1.016 GB, free: 4.555 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.685e-05/0.8028, allocations: 26.86 kB / 1.016 GB, free: 4.535 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.156e-05/0.8029, allocations: 48.31 kB / 1.016 GB, free: 4.488 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.799e-06/0.8029, allocations: 0 / 1.016 GB, free: 4.488 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/0.8029, allocations: 3.938 kB / 1.016 GB, free: 4.484 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.095e-06/0.803, allocations: 0 / 1.016 GB, free: 4.484 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004252/0.8034, allocations: 278 kB / 1.016 GB, free: 4.191 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 9.783e-05/0.8035, allocations: 44.45 kB / 1.016 GB, free: 4.148 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.664e-05/0.8036, allocations: 26.95 kB / 1.016 GB, free: 4.125 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.329e-05/0.8036, allocations: 0 / 1.016 GB, free: 4.125 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.428e-05/0.8037, allocations: 70.2 kB / 1.016 GB, free: 4.051 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=9): time 1.112e-06/0.8037, allocations: 0 / 1.016 GB, free: 4.051 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9): time 0.0001882/0.8039, allocations: 64.81 kB / 1.016 GB, free: 3.988 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.365e-05/0.8039, allocations: 51.41 kB / 1.016 GB, free: 3.926 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.954e-05/0.804, allocations: 108.1 kB / 1.016 GB, free: 3.82 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.078e-05/0.8041, allocations: 29.7 kB / 1.017 GB, free: 3.785 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.303e-05/0.8041, allocations: 84.08 kB / 1.017 GB, free: 3.699 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.042e-05/0.8041, allocations: 23.09 kB / 1.017 GB, free: 3.68 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.328e-06/0.8041, allocations: 0 / 1.017 GB, free: 3.68 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001029/0.8043, allocations: 322.4 kB / 1.017 GB, free: 3.359 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.977e-05/0.8043, allocations: 11.56 kB / 1.017 GB, free: 3.352 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.025e-05/0.8043, allocations: 43.86 kB / 1.017 GB, free: 3.309 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.939e-05/0.8044, allocations: 19.48 kB / 1.017 GB, free: 3.293 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.8044, allocations: 0 / 1.017 GB, free: 3.293 MB / 0.6355 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001251/0.8045, allocations: 84.33 kB / 1.017 GB, free: 3.215 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.8046, allocations: 8 kB / 1.017 GB, free: 3.207 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.8046, allocations: 3.938 kB / 1.017 GB, free: 3.203 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.8046, allocations: 0 / 1.017 GB, free: 3.203 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.888e-05/0.8047, allocations: 11.94 kB / 1.017 GB, free: 3.191 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.8047, allocations: 4 kB / 1.017 GB, free: 3.188 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.026e-05/0.8048, allocations: 15.92 kB / 1.017 GB, free: 3.172 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.536e-06/0.8048, allocations: 4 kB / 1.017 GB, free: 3.168 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 8.676e-05/0.8049, allocations: 112.5 kB / 1.017 GB, free: 3.055 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.355e-05/0.8049, allocations: 7.906 kB / 1.017 GB, free: 3.047 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.619e-05/0.8049, allocations: 7.25 kB / 1.017 GB, free: 3.043 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.8049, allocations: 0 / 1.017 GB, free: 3.043 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.8049, allocations: 96 / 1.017 GB, free: 3.043 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.878e-06/0.8049, allocations: 3.938 kB / 1.017 GB, free: 3.039 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003523/0.8053, allocations: 328.5 kB / 1.018 GB, free: 2.691 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.8053, allocations: 0 / 1.018 GB, free: 2.691 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.829e-05/0.8054, allocations: 12 kB / 1.018 GB, free: 2.68 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-06/0.8054, allocations: 0 / 1.018 GB, free: 2.68 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.01e-05/0.8054, allocations: 8 kB / 1.018 GB, free: 2.672 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.8054, allocations: 0 / 1.018 GB, free: 2.672 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.8054, allocations: 3.984 kB / 1.018 GB, free: 2.668 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001407/0.8055, allocations: 168.4 kB / 1.018 GB, free: 2.5 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.803e-05/0.8056, allocations: 81.02 kB / 1.018 GB, free: 2.402 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.659e-05/0.8056, allocations: 0 / 1.018 GB, free: 2.402 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.228e-05/0.8057, allocations: 15.98 kB / 1.018 GB, free: 2.387 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.097e-05/0.8058, allocations: 10.17 kB / 1.018 GB, free: 2.379 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.559e-06/0.8058, allocations: 0 / 1.018 GB, free: 2.379 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.416e-05/0.8058, allocations: 83.09 kB / 1.018 GB, free: 2.301 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002211/0.8061, allocations: 12 kB / 1.018 GB, free: 2.289 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.0001172/0.8062, allocations: 99.23 kB / 1.018 GB, free: 2.184 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001193/0.8063, allocations: 46 kB / 1.018 GB, free: 2.148 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.8063, allocations: 0 / 1.018 GB, free: 2.148 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.1e-05/0.8064, allocations: 30.69 kB / 1.018 GB, free: 2.125 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002259/0.8066, allocations: 8.281 kB / 1.018 GB, free: 2.117 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002511/0.8069, allocations: 87.19 kB / 1.018 GB, free: 2.016 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002718/0.8072, allocations: 0.7074 MB / 1.019 GB, free: 1.281 MB / 0.6355 GB Notification: Performance of SimCode: time 2.4e-07/0.8072, allocations: 0 / 1.019 GB, free: 1.281 MB / 0.6355 GB Notification: Performance of Templates: time 0.002726/0.8099, allocations: 0.7238 MB / 1.02 GB, free: 0.5703 MB / 0.6355 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.sim & ./Buildings_maint.7.0.x_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches