Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.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.Controls.OBC.ASHRAE.G36.ZoneGroups.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.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator") translateModel(Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.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.Controls.OBC.ASHRAE.G36.ZoneGroups.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.738/1.738, allocations: 390.4 MB / 397.7 MB, free: 11.21 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.0009078/0.0009078, allocations: 169.3 kB / 490.8 MB, free: 1.875 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.073/1.073, allocations: 221.4 MB / 0.7863 GB, free: 13.61 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.0008201/0.0008201, allocations: 96.31 kB / 0.9264 GB, free: 14.16 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 5.31e-06/5.41e-06, allocations: 0 / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1721/0.1721, allocations: 143 MB / 1.212 GB, free: 40.03 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4726/0.6447, allocations: 150.5 MB / 1.359 GB, free: 17.34 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000171/0.6449, allocations: 68.67 kB / 1.359 GB, free: 17.34 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.02482/0.6698, allocations: 13.33 MB / 1.372 GB, free: 16.2 MB / 0.823 GB Notification: Performance of Transformations before backend: time 7.721e-05/0.6699, allocations: 46.91 kB / 1.372 GB, free: 16.2 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.002775/0.6727, allocations: 1.404 MB / 1.373 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.337e-05/0.6727, allocations: 9 kB / 1.373 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006034/0.6733, allocations: 194.5 kB / 1.373 GB, free: 31.4 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001575/0.6749, allocations: 0.8693 MB / 1.374 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.167e-05/0.675, allocations: 65.84 kB / 1.374 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003001/0.6753, allocations: 115.4 kB / 1.374 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002654/0.678, allocations: 1.522 MB / 1.376 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003792/0.6818, allocations: 2.605 MB / 1.378 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.716e-05/0.6818, allocations: 9.094 kB / 1.378 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001583/0.682, allocations: 6.781 kB / 1.378 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.431e-05/0.682, allocations: 61.19 kB / 1.378 GB, free: 30.28 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006651/0.6887, allocations: 9.546 MB / 1.388 GB, free: 23.21 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 5.769e-05/0.6888, allocations: 174.4 kB / 1.388 GB, free: 23.03 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.281e-05/0.6888, allocations: 80.14 kB / 1.388 GB, free: 22.95 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.112e-05/0.6888, allocations: 75.28 kB / 1.388 GB, free: 22.88 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.749e-05/0.6889, allocations: 111.1 kB / 1.388 GB, free: 22.76 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 1.433e-06/0.6889, allocations: 0 / 1.388 GB, free: 22.76 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 8.006e-05/0.6889, allocations: 62.58 kB / 1.388 GB, free: 22.71 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.886e-05/0.689, allocations: 55.41 kB / 1.388 GB, free: 22.64 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004383/0.6894, allocations: 0.5154 MB / 1.389 GB, free: 22.43 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.078e-06/0.6894, allocations: 25.7 kB / 1.389 GB, free: 22.4 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002223/0.6896, allocations: 0.6951 MB / 1.389 GB, free: 21.93 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.413e-06/0.6897, allocations: 1.25 kB / 1.389 GB, free: 21.93 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.41e-07/0.6897, allocations: 0 / 1.389 GB, free: 21.93 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 8.991e-05/0.6898, allocations: 348.8 kB / 1.39 GB, free: 21.61 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.835e-06/0.6898, allocations: 0 / 1.39 GB, free: 21.61 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.497e-06/0.6898, allocations: 5.094 kB / 1.39 GB, free: 21.6 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.8e-05/0.6898, allocations: 79.28 kB / 1.39 GB, free: 21.52 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.499e-05/0.6898, allocations: 75.28 kB / 1.39 GB, free: 21.45 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.276e-05/0.6899, allocations: 65.47 kB / 1.39 GB, free: 21.39 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.116e-05/0.6899, allocations: 5.25 kB / 1.39 GB, free: 21.39 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.037e-05/0.6899, allocations: 75.28 kB / 1.39 GB, free: 21.32 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.408e-05/0.69, allocations: 159.8 kB / 1.39 GB, free: 21.16 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.925e-05/0.69, allocations: 76.59 kB / 1.39 GB, free: 21.09 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.236e-05/0.6901, allocations: 154.6 kB / 1.39 GB, free: 20.94 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.956e-05/0.6901, allocations: 85.75 kB / 1.391 GB, free: 20.86 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.652e-05/0.6902, allocations: 76.5 kB / 1.391 GB, free: 20.78 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 6.925e-05/0.6902, allocations: 263.2 kB / 1.391 GB, free: 20.52 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.668e-05/0.6903, allocations: 131.9 kB / 1.391 GB, free: 20.4 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.689e-05/0.6904, allocations: 145.8 kB / 1.391 GB, free: 20.27 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-05/0.6904, allocations: 185.6 kB / 1.391 GB, free: 20.08 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.871e-05/0.6905, allocations: 181.6 kB / 1.391 GB, free: 19.9 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.531e-05/0.6905, allocations: 184.1 kB / 1.392 GB, free: 19.71 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006973/0.6912, allocations: 0.9513 MB / 1.393 GB, free: 19.17 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.989e-05/0.6912, allocations: 105.2 kB / 1.393 GB, free: 19.06 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.124e-05/0.6912, allocations: 110.5 kB / 1.393 GB, free: 18.95 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.383e-05/0.6913, allocations: 184.2 kB / 1.393 GB, free: 18.76 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.865e-05/0.6913, allocations: 181.6 kB / 1.393 GB, free: 18.58 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.638e-05/0.6914, allocations: 181.5 kB / 1.393 GB, free: 18.39 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.505e-05/0.6914, allocations: 176.3 kB / 1.393 GB, free: 18.21 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.583e-05/0.6915, allocations: 347 kB / 1.394 GB, free: 17.87 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.337e-05/0.6916, allocations: 201.3 kB / 1.394 GB, free: 17.66 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.658e-05/0.6916, allocations: 180.5 kB / 1.394 GB, free: 17.48 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.708e-05/0.6917, allocations: 110.1 kB / 1.394 GB, free: 17.36 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.97e-05/0.6918, allocations: 177.6 kB / 1.394 GB, free: 17.18 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.083e-05/0.6918, allocations: 109 kB / 1.395 GB, free: 17.07 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.0002214/0.692, allocations: 288.3 kB / 1.395 GB, free: 16.96 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0004454/0.6925, allocations: 198.5 kB / 1.395 GB, free: 16.9 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.0001022/0.6926, allocations: 172.4 kB / 1.395 GB, free: 16.74 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 2.889e-05/0.6926, allocations: 7.25 kB / 1.395 GB, free: 16.74 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.6926, allocations: 0 / 1.395 GB, free: 16.74 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 8.41e-07/0.6926, allocations: 1.469 kB / 1.395 GB, free: 16.74 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003173/0.6929, allocations: 0.5395 MB / 1.396 GB, free: 16.21 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00756/0.7005, allocations: 1.71 MB / 1.397 GB, free: 15.5 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00103/0.7015, allocations: 1.444 MB / 1.399 GB, free: 14.54 MB / 0.8386 GB Notification: Performance of SimCode: time 2.41e-07/0.7015, allocations: 0 / 1.399 GB, free: 14.54 MB / 0.8386 GB Notification: Performance of Templates: time 0.005405/0.707, allocations: 1.17 MB / 1.4 GB, free: 13.93 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_ZoneGroups_Validation_ZoneStatusDuplicator.csv","../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches