Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.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_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_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator") translateModel(Buildings.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_9_Buildings.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 9.1.1-maint.9.1.x/package.mo): time 1.773/1.773, allocations: 387.2 MB / 394.5 MB, free: 13.68 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.001052/0.001052, allocations: 177.3 kB / 487 MB, free: 5.395 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.107/1.107, allocations: 221.3 MB / 0.7819 GB, free: 1.371 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.0008246/0.0008246, allocations: 98.11 kB / 0.9213 GB, free: 2.633 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 5.21e-06/5.23e-06, allocations: 0 / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1753/0.1753, allocations: 142.3 MB / 1.205 GB, free: 26.22 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5126/0.688, allocations: 149.8 MB / 1.352 GB, free: 15.8 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001896/0.6882, allocations: 69.33 kB / 1.352 GB, free: 15.8 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.02625/0.7145, allocations: 13.34 MB / 1.365 GB, free: 11.43 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 6.106e-05/0.7146, allocations: 43.94 kB / 1.365 GB, free: 11.38 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.002124/0.7167, allocations: 1.409 MB / 1.366 GB, free: 10.08 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.219e-05/0.7168, allocations: 9.031 kB / 1.366 GB, free: 10.07 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004278/0.7172, allocations: 197.6 kB / 1.366 GB, free: 9.879 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001152/0.7184, allocations: 0.8546 MB / 1.367 GB, free: 9.113 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.264e-05/0.7184, allocations: 68 kB / 1.367 GB, free: 9.047 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001735/0.7186, allocations: 112 kB / 1.367 GB, free: 8.938 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00188/0.7205, allocations: 1.521 MB / 1.369 GB, free: 7.816 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002538/0.723, allocations: 2.612 MB / 1.371 GB, free: 5.422 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.947e-05/0.7231, allocations: 11.88 kB / 1.371 GB, free: 5.41 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000147/0.7232, allocations: 8 kB / 1.371 GB, free: 5.402 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.334e-05/0.7233, allocations: 56 kB / 1.371 GB, free: 5.348 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005242/0.7285, allocations: 9.544 MB / 1.381 GB, free: 12.18 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 6.047e-05/0.7286, allocations: 169.1 kB / 1.381 GB, free: 12.01 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.786e-05/0.7286, allocations: 80.14 kB / 1.381 GB, free: 11.93 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.133e-05/0.7286, allocations: 75.28 kB / 1.381 GB, free: 11.85 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.628e-05/0.7287, allocations: 121 kB / 1.381 GB, free: 11.73 MB / 0.823 GB Notification: Performance of pre-optimization done (n=0): time 1.423e-06/0.7287, allocations: 0 / 1.381 GB, free: 11.73 MB / 0.823 GB Notification: Performance of matching and sorting (n=0): time 8.163e-05/0.7288, allocations: 61.22 kB / 1.381 GB, free: 11.66 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.076e-05/0.7288, allocations: 51.41 kB / 1.381 GB, free: 11.6 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004266/0.7292, allocations: 0.5204 MB / 1.382 GB, free: 11.19 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 8.797e-06/0.7292, allocations: 25.7 kB / 1.382 GB, free: 11.16 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002816/0.7295, allocations: 0.6974 MB / 1.382 GB, free: 10.57 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.182e-06/0.7295, allocations: 4 kB / 1.382 GB, free: 10.57 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.7e-07/0.7295, allocations: 0 / 1.382 GB, free: 10.57 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001013/0.7296, allocations: 353 kB / 1.383 GB, free: 10.23 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.976e-06/0.7297, allocations: 0 / 1.383 GB, free: 10.23 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.174e-06/0.7297, allocations: 0 / 1.383 GB, free: 10.23 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.867e-05/0.7297, allocations: 75.28 kB / 1.383 GB, free: 10.15 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.759e-05/0.7297, allocations: 75.28 kB / 1.383 GB, free: 10.08 MB / 0.823 GB Notification: Performance of matching and sorting (n=0) (initialization): time 7.171e-05/0.7298, allocations: 61.31 kB / 1.383 GB, free: 10.01 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.144e-05/0.7298, allocations: 6.812 kB / 1.383 GB, free: 10.01 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.935e-05/0.7298, allocations: 75.28 kB / 1.383 GB, free: 9.934 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.953e-05/0.7299, allocations: 166.5 kB / 1.383 GB, free: 9.77 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.713e-05/0.7299, allocations: 75.28 kB / 1.383 GB, free: 9.695 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.289e-05/0.7299, allocations: 150.6 kB / 1.383 GB, free: 9.547 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.138e-05/0.73, allocations: 84.44 kB / 1.384 GB, free: 9.465 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.856e-05/0.73, allocations: 79.28 kB / 1.384 GB, free: 9.387 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 7.639e-05/0.7301, allocations: 263.1 kB / 1.384 GB, free: 9.125 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.492e-05/0.7302, allocations: 132.6 kB / 1.384 GB, free: 8.988 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.104e-05/0.7303, allocations: 146.1 kB / 1.384 GB, free: 8.84 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.221e-05/0.7303, allocations: 180.3 kB / 1.384 GB, free: 8.656 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.537e-05/0.7304, allocations: 184.2 kB / 1.384 GB, free: 8.469 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-05/0.7304, allocations: 180.2 kB / 1.385 GB, free: 8.285 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006726/0.7311, allocations: 0.9558 MB / 1.386 GB, free: 7.434 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.812e-05/0.7311, allocations: 105 kB / 1.386 GB, free: 7.324 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.695e-05/0.7312, allocations: 105.2 kB / 1.386 GB, free: 7.215 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.234e-05/0.7312, allocations: 176.3 kB / 1.386 GB, free: 7.035 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.305e-05/0.7313, allocations: 184.3 kB / 1.386 GB, free: 6.848 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.135e-05/0.7313, allocations: 180.2 kB / 1.386 GB, free: 6.664 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.479e-05/0.7314, allocations: 187.5 kB / 1.386 GB, free: 6.477 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001105/0.7315, allocations: 335.3 kB / 1.387 GB, free: 6.125 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 7.115e-05/0.7316, allocations: 212.3 kB / 1.387 GB, free: 5.895 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.299e-05/0.7316, allocations: 180.2 kB / 1.387 GB, free: 5.711 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.411e-05/0.7317, allocations: 108.9 kB / 1.387 GB, free: 5.598 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.403e-05/0.7318, allocations: 176.3 kB / 1.387 GB, free: 5.418 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.525e-05/0.7318, allocations: 105 kB / 1.388 GB, free: 5.309 MB / 0.823 GB Notification: Performance of sort global known variables: time 0.0002131/0.732, allocations: 295.2 kB / 1.388 GB, free: 5.078 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0004328/0.7324, allocations: 198.8 kB / 1.388 GB, free: 4.883 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 0.00011/0.7326, allocations: 175.9 kB / 1.388 GB, free: 4.703 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 2.332e-05/0.7326, allocations: 4 kB / 1.388 GB, free: 4.699 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.343e-06/0.7326, allocations: 0 / 1.388 GB, free: 4.699 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 1.122e-06/0.7326, allocations: 3.938 kB / 1.388 GB, free: 4.695 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003309/0.7329, allocations: 0.5427 MB / 1.389 GB, free: 4.156 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007224/0.7402, allocations: 1.715 MB / 1.39 GB, free: 2.473 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009198/0.7411, allocations: 1.445 MB / 1.392 GB, free: 1.07 MB / 0.823 GB Notification: Performance of SimCode: time 2.51e-07/0.7411, allocations: 0 / 1.392 GB, free: 1.07 MB / 0.823 GB Notification: Performance of Templates: time 0.00554/0.7467, allocations: 1.171 MB / 1.393 GB, free: 15.95 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_PR1_Generic_SetPoints_Validation_ZoneStatusDuplicator.csv","../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches