Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator.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.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_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 1.767/1.767, allocations: 387.2 MB / 394.5 MB, free: 13.65 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.0009474/0.0009475, allocations: 173.4 kB / 487 MB, free: 5.352 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.11/1.11, allocations: 221.3 MB / 0.7819 GB, free: 1.312 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.0008104/0.0008104, allocations: 109.8 kB / 0.9213 GB, free: 2.57 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 5.059e-06/5.079e-06, allocations: 0 / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1779/0.1779, allocations: 142.3 MB / 1.205 GB, free: 26.17 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4863/0.6643, allocations: 149.7 MB / 1.351 GB, free: 16.02 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001696/0.6645, allocations: 66.11 kB / 1.352 GB, free: 16.02 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.02531/0.6898, allocations: 13.33 MB / 1.365 GB, free: 11.52 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 4.817e-05/0.6899, allocations: 47.94 kB / 1.365 GB, free: 11.47 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: 525 * Number of variables: 525 Notification: Performance of Generate backend data structure: time 0.00123/0.6911, allocations: 1.406 MB / 1.366 GB, free: 10.18 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.046e-05/0.6912, allocations: 8.031 kB / 1.366 GB, free: 10.17 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002224/0.6914, allocations: 197.6 kB / 1.366 GB, free: 9.977 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001154/0.6925, allocations: 0.853 MB / 1.367 GB, free: 9.211 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.214e-05/0.6926, allocations: 68 kB / 1.367 GB, free: 9.145 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001701/0.6928, allocations: 116 kB / 1.367 GB, free: 9.031 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001728/0.6945, allocations: 1.521 MB / 1.369 GB, free: 7.91 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002549/0.6971, allocations: 2.609 MB / 1.371 GB, free: 5.52 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.878e-05/0.6971, allocations: 7.938 kB / 1.371 GB, free: 5.512 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001375/0.6972, allocations: 8 kB / 1.371 GB, free: 5.504 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.524e-05/0.6973, allocations: 56 kB / 1.371 GB, free: 5.449 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005126/0.7024, allocations: 9.548 MB / 1.381 GB, free: 12.28 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 6.017e-05/0.7025, allocations: 172.1 kB / 1.381 GB, free: 12.11 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.524e-05/0.7025, allocations: 80.14 kB / 1.381 GB, free: 12.02 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.235e-05/0.7026, allocations: 83.22 kB / 1.381 GB, free: 11.94 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.234e-05/0.7026, allocations: 109.8 kB / 1.381 GB, free: 11.82 MB / 0.823 GB Notification: Performance of pre-optimization done (n=0): time 2.795e-06/0.7026, allocations: 7.922 kB / 1.381 GB, free: 11.82 MB / 0.823 GB Notification: Performance of matching and sorting (n=0): time 8.303e-05/0.7027, allocations: 57.23 kB / 1.381 GB, free: 11.75 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.449e-05/0.7027, allocations: 55.41 kB / 1.381 GB, free: 11.69 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004442/0.7032, allocations: 0.5131 MB / 1.382 GB, free: 11.29 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 7.925e-06/0.7032, allocations: 25.7 kB / 1.382 GB, free: 11.25 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002741/0.7035, allocations: 0.6957 MB / 1.382 GB, free: 10.67 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.182e-06/0.7035, allocations: 0 / 1.382 GB, free: 10.67 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.71e-07/0.7035, allocations: 0 / 1.382 GB, free: 10.67 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 9.833e-05/0.7036, allocations: 358 kB / 1.383 GB, free: 10.32 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.965e-06/0.7036, allocations: 3.938 kB / 1.383 GB, free: 10.32 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.204e-06/0.7036, allocations: 0 / 1.383 GB, free: 10.32 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.062e-05/0.7036, allocations: 75.28 kB / 1.383 GB, free: 10.25 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-05/0.7036, allocations: 75.28 kB / 1.383 GB, free: 10.17 MB / 0.823 GB Notification: Performance of matching and sorting (n=0) (initialization): time 8.226e-05/0.7037, allocations: 57.33 kB / 1.383 GB, free: 10.11 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.2e-05/0.7037, allocations: 4 kB / 1.383 GB, free: 10.11 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.124e-05/0.7038, allocations: 79.28 kB / 1.383 GB, free: 10.03 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.76e-05/0.7038, allocations: 166.5 kB / 1.383 GB, free: 9.863 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.724e-05/0.7038, allocations: 75.28 kB / 1.383 GB, free: 9.789 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.888e-05/0.7039, allocations: 150.6 kB / 1.383 GB, free: 9.641 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.972e-05/0.704, allocations: 84.44 kB / 1.383 GB, free: 9.559 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.953e-05/0.704, allocations: 79.28 kB / 1.383 GB, free: 9.48 MB / 0.823 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.991e-05/0.7041, allocations: 255.5 kB / 1.384 GB, free: 9.223 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.992e-05/0.7041, allocations: 131.8 kB / 1.384 GB, free: 9.09 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.305e-05/0.7042, allocations: 153.5 kB / 1.384 GB, free: 8.934 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.74e-05/0.7043, allocations: 176.3 kB / 1.384 GB, free: 8.754 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-05/0.7043, allocations: 180.2 kB / 1.384 GB, free: 8.57 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.133e-05/0.7043, allocations: 180.2 kB / 1.385 GB, free: 8.387 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000682/0.705, allocations: 0.963 MB / 1.385 GB, free: 7.527 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.336e-05/0.7051, allocations: 101 kB / 1.386 GB, free: 7.422 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.539e-05/0.7051, allocations: 105.2 kB / 1.386 GB, free: 7.312 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.624e-05/0.7051, allocations: 180.1 kB / 1.386 GB, free: 7.133 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.351e-05/0.7052, allocations: 184.3 kB / 1.386 GB, free: 6.945 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.245e-05/0.7052, allocations: 188.2 kB / 1.386 GB, free: 6.754 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.224e-05/0.7053, allocations: 180.2 kB / 1.386 GB, free: 6.57 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001027/0.7054, allocations: 339.2 kB / 1.387 GB, free: 6.215 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.844e-05/0.7055, allocations: 204.6 kB / 1.387 GB, free: 5.992 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.707e-05/0.7055, allocations: 184.2 kB / 1.387 GB, free: 5.805 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.119e-05/0.7056, allocations: 108.9 kB / 1.387 GB, free: 5.691 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.244e-05/0.7056, allocations: 180.3 kB / 1.387 GB, free: 5.508 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.191e-05/0.7057, allocations: 101 kB / 1.387 GB, free: 5.402 MB / 0.823 GB Notification: Performance of sort global known variables: time 0.0002137/0.7059, allocations: 294.7 kB / 1.388 GB, free: 5.172 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.000427/0.7063, allocations: 198.8 kB / 1.388 GB, free: 4.977 MB / 0.823 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 9.937e-05/0.7064, allocations: 185.4 kB / 1.388 GB, free: 4.789 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 2.499e-05/0.7065, allocations: 0 / 1.388 GB, free: 4.789 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.372e-06/0.7065, allocations: 0 / 1.388 GB, free: 4.789 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 8.01e-07/0.7065, allocations: 0 / 1.388 GB, free: 4.789 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003161/0.7068, allocations: 0.5384 MB / 1.389 GB, free: 4.254 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007297/0.7141, allocations: 1.711 MB / 1.39 GB, free: 2.574 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009416/0.715, allocations: 1.439 MB / 1.392 GB, free: 1.176 MB / 0.823 GB Notification: Performance of SimCode: time 2.2e-07/0.7151, allocations: 7.875 kB / 1.392 GB, free: 1.168 MB / 0.823 GB Notification: Performance of Templates: time 0.005529/0.7206, allocations: 1.167 MB / 1.393 GB, free: 32 kB / 0.823 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_ZoneGroups_Validation_ZoneStatusDuplicator.csv","../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches