Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator.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.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|zonStaDup.yTZon.1|1.|zonStaDup.yTZon.1|2.|zonStaDup.yTZon.2|3.|zonStaDup.yTZon.2|4.|zonStaDup.yTZon.2|5.",fileNamePrefix="Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator") translateModel(Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|zonStaDup.yTZon.1|1.|zonStaDup.yTZon.1|2.|zonStaDup.yTZon.2|3.|zonStaDup.yTZon.2|4.|zonStaDup.yTZon.2|5.",fileNamePrefix="Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator") [: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.965/1.965, 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.001011/0.001011, allocations: 185.2 kB / 490.8 MB, free: 1.922 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.368/1.368, allocations: 221.3 MB / 0.7863 GB, free: 13.66 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.0009964/0.0009965, allocations: 96.59 kB / 0.9264 GB, free: 14.18 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 5.259e-06/5.29e-06, allocations: 0 / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2286/0.2286, allocations: 143 MB / 1.212 GB, free: 40.05 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6599/0.8885, allocations: 152 MB / 1.36 GB, free: 16.87 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002034/0.8888, allocations: 81.64 kB / 1.36 GB, free: 16.87 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.02872/0.9175, allocations: 13.42 MB / 1.373 GB, free: 15.73 MB / 0.823 GB Notification: Performance of Transformations before backend: time 9.878e-05/0.9176, allocations: 51.09 kB / 1.373 GB, free: 15.72 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: 525 * Number of variables: 525 Notification: Performance of Generate backend data structure: time 0.002601/0.9203, allocations: 1.405 MB / 1.375 GB, free: 31.02 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/0.9203, allocations: 8.125 kB / 1.375 GB, free: 31.02 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003787/0.9207, allocations: 194.6 kB / 1.375 GB, free: 30.92 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001578/0.9223, allocations: 0.8576 MB / 1.376 GB, free: 30.6 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.434e-05/0.9224, allocations: 70.34 kB / 1.376 GB, free: 30.6 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002309/0.9226, allocations: 115.3 kB / 1.376 GB, free: 30.6 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002794/0.9254, allocations: 1.521 MB / 1.377 GB, free: 30.58 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003918/0.9293, allocations: 2.602 MB / 1.38 GB, free: 29.82 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.525e-05/0.9294, allocations: 12.88 kB / 1.38 GB, free: 29.81 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001517/0.9296, allocations: 7.688 kB / 1.38 GB, free: 29.81 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.8e-05/0.9296, allocations: 55.59 kB / 1.38 GB, free: 29.81 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009073/0.9387, allocations: 9.556 MB / 1.389 GB, free: 22.26 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 8.635e-05/0.9388, allocations: 165.1 kB / 1.389 GB, free: 22.09 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.533e-05/0.9389, allocations: 81.45 kB / 1.39 GB, free: 22.01 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.192e-05/0.9389, allocations: 75.28 kB / 1.39 GB, free: 21.93 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.704e-05/0.939, allocations: 122.5 kB / 1.39 GB, free: 21.81 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 1.773e-06/0.939, allocations: 0 / 1.39 GB, free: 21.81 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 0.0001334/0.9391, allocations: 59.8 kB / 1.39 GB, free: 21.76 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.113e-05/0.9391, allocations: 51.41 kB / 1.39 GB, free: 21.7 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006425/0.9398, allocations: 0.5149 MB / 1.39 GB, free: 21.49 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 5.279e-06/0.9398, allocations: 25.7 kB / 1.39 GB, free: 21.46 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002822/0.9401, allocations: 0.6958 MB / 1.391 GB, free: 20.98 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.893e-06/0.9401, allocations: 0 / 1.391 GB, free: 20.98 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.32e-07/0.9401, allocations: 4 kB / 1.391 GB, free: 20.98 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001288/0.9402, allocations: 349.3 kB / 1.391 GB, free: 20.66 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.966e-06/0.9402, allocations: 0 / 1.391 GB, free: 20.66 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.798e-06/0.9402, allocations: 0 / 1.391 GB, free: 20.66 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.615e-05/0.9403, allocations: 76.56 kB / 1.391 GB, free: 20.58 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.147e-05/0.9403, allocations: 75.28 kB / 1.392 GB, free: 20.51 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0) (initialization): time 7.627e-05/0.9404, allocations: 64.88 kB / 1.392 GB, free: 20.45 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.9404, allocations: 4.969 kB / 1.392 GB, free: 20.45 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.332e-05/0.9404, allocations: 79.28 kB / 1.392 GB, free: 20.38 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.675e-05/0.9405, allocations: 159.3 kB / 1.392 GB, free: 20.22 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.091e-05/0.9405, allocations: 80.41 kB / 1.392 GB, free: 20.14 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.771e-05/0.9406, allocations: 150.6 kB / 1.392 GB, free: 20 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001317/0.9407, allocations: 77.75 kB / 1.392 GB, free: 19.92 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.143e-05/0.9408, allocations: 79.97 kB / 1.392 GB, free: 19.84 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * 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 0.000105/0.9409, allocations: 271.2 kB / 1.392 GB, free: 19.57 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.104e-05/0.941, allocations: 131.5 kB / 1.393 GB, free: 19.45 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.61e-05/0.941, allocations: 141.4 kB / 1.393 GB, free: 19.33 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.531e-05/0.9411, allocations: 187.9 kB / 1.393 GB, free: 19.14 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.91e-05/0.9412, allocations: 181.3 kB / 1.393 GB, free: 18.96 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.847e-05/0.9412, allocations: 184.8 kB / 1.393 GB, free: 18.77 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009243/0.9422, allocations: 0.9594 MB / 1.394 GB, free: 18.22 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.566e-05/0.9422, allocations: 101.2 kB / 1.394 GB, free: 18.12 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.27e-05/0.9422, allocations: 102.3 kB / 1.394 GB, free: 18.01 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.79e-05/0.9423, allocations: 189.5 kB / 1.395 GB, free: 17.82 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.669e-05/0.9423, allocations: 176.3 kB / 1.395 GB, free: 17.64 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.754e-05/0.9424, allocations: 185.5 kB / 1.395 GB, free: 17.45 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.755e-05/0.9425, allocations: 181.5 kB / 1.395 GB, free: 17.27 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000131/0.9426, allocations: 339.2 kB / 1.395 GB, free: 16.93 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 6.464e-05/0.9427, allocations: 205.6 kB / 1.396 GB, free: 16.71 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.204e-05/0.9427, allocations: 181.6 kB / 1.396 GB, free: 16.53 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.717e-05/0.9428, allocations: 104.9 kB / 1.396 GB, free: 16.42 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.11e-05/0.9429, allocations: 181.5 kB / 1.396 GB, free: 16.24 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.702e-05/0.9429, allocations: 106.3 kB / 1.396 GB, free: 16.13 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.0002689/0.9432, allocations: 292 kB / 1.396 GB, free: 16.02 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000657/0.9439, allocations: 198.1 kB / 1.397 GB, free: 15.96 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.000153/0.944, allocations: 181.8 kB / 1.397 GB, free: 15.79 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 3.772e-05/0.9441, allocations: 0 / 1.397 GB, free: 15.79 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.9441, allocations: 0 / 1.397 GB, free: 15.79 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.194e-06/0.9441, allocations: 4.938 kB / 1.397 GB, free: 15.79 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004078/0.9445, allocations: 0.5367 MB / 1.397 GB, free: 15.26 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009167/0.9537, allocations: 1.714 MB / 1.399 GB, free: 14.55 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001419/0.9551, allocations: 1.44 MB / 1.4 GB, free: 13.59 MB / 0.8386 GB Notification: Performance of SimCode: time 1.303e-06/0.9552, allocations: 0 / 1.4 GB, free: 13.59 MB / 0.8386 GB Notification: Performance of Templates: time 0.00721/0.9624, allocations: 1.176 MB / 1.402 GB, free: 13.01 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator.makefile (rm -f Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator.pipe ; mkfifo Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator.pipe ; head -c 1048576 < Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator.pipe >> ../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator.sim & ./Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Obsolete_Controls_OBC_ASHRAE_G36_PR1_Generic_SetPoints_Validation_ZoneStatusDuplicator.csv","../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches