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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.194/2.194, allocations: 387.1 MB / 399.7 MB, free: 9.488 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.001403/0.001403, allocations: 169 kB / 492.3 MB, free: 0.6094 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.616/1.616, allocations: 221.3 MB / 0.7872 GB, free: 12.92 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.0008767/0.0008767, allocations: 93.78 kB / 0.9267 GB, free: 14 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.787e-05/2.796e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2879/0.288, allocations: 142.3 MB / 1.212 GB, free: 38.48 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9087/1.197, allocations: 150.5 MB / 1.359 GB, free: 19.11 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002608/1.197, allocations: 69.02 kB / 1.359 GB, free: 19.11 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02635/1.223, allocations: 13.96 MB / 1.373 GB, free: 33.58 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.834e-06/1.223, allocations: 3.938 kB / 1.373 GB, free: 33.57 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.728e-05/1.224, allocations: 47 kB / 1.373 GB, free: 33.57 MB / 0.8386 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.001986/1.225, allocations: 1.387 MB / 1.374 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.529e-05/1.226, allocations: 11.53 kB / 1.374 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002558/1.226, allocations: 190.3 kB / 1.375 GB, free: 32.78 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001196/1.227, allocations: 0.862 MB / 1.375 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.085e-05/1.227, allocations: 153.8 kB / 1.376 GB, free: 32.44 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002007/1.227, allocations: 202 kB / 1.376 GB, free: 32.44 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0034/1.231, allocations: 2.876 MB / 1.379 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.12e-05/1.231, allocations: 15.41 kB / 1.379 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001587/1.231, allocations: 88.09 kB / 1.379 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.414e-05/1.231, allocations: 53.88 kB / 1.379 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002265/1.233, allocations: 1.71 MB / 1.38 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01105/1.244, allocations: 10.88 MB / 1.391 GB, free: 23.51 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001174/1.245, allocations: 169.1 kB / 1.391 GB, free: 23.34 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.774e-05/1.245, allocations: 84.14 kB / 1.391 GB, free: 23.25 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.681e-05/1.245, allocations: 79.16 kB / 1.391 GB, free: 23.18 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.964e-05/1.245, allocations: 113.6 kB / 1.392 GB, free: 23.06 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 3.947e-06/1.245, allocations: 0 / 1.392 GB, free: 23.06 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 0.0002953/1.245, allocations: 210.8 kB / 1.392 GB, free: 22.92 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.459e-05/1.245, allocations: 126.7 kB / 1.392 GB, free: 22.79 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003185/1.248, allocations: 3.033 MB / 1.395 GB, free: 22.16 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.195e-05/1.248, allocations: 25.7 kB / 1.395 GB, free: 22.13 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006249/1.249, allocations: 0.7688 MB / 1.396 GB, free: 21.98 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.907e-06/1.249, allocations: 0 / 1.396 GB, free: 21.98 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.8e-07/1.249, allocations: 3.875 kB / 1.396 GB, free: 21.98 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001517/1.249, allocations: 309.5 kB / 1.396 GB, free: 21.68 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.991e-06/1.249, allocations: 32 / 1.396 GB, free: 21.68 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.498e-06/1.249, allocations: 4 kB / 1.396 GB, free: 21.67 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.419e-05/1.249, allocations: 83.23 kB / 1.396 GB, free: 21.59 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-05/1.249, allocations: 75.28 kB / 1.396 GB, free: 21.52 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0) (initialization): time 0.0002246/1.249, allocations: 208 kB / 1.396 GB, free: 21.38 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 5.5e-05/1.25, allocations: 86.59 kB / 1.396 GB, free: 21.3 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.134e-05/1.25, allocations: 75.28 kB / 1.396 GB, free: 21.23 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.089e-05/1.25, allocations: 150.6 kB / 1.397 GB, free: 21.08 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.556e-05/1.25, allocations: 79.22 kB / 1.397 GB, free: 21 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.517e-05/1.25, allocations: 161.1 kB / 1.397 GB, free: 20.85 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003914/1.25, allocations: 161.3 kB / 1.397 GB, free: 20.71 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.867e-05/1.25, allocations: 79.27 kB / 1.397 GB, free: 20.63 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.000116/1.25, allocations: 259.4 kB / 1.397 GB, free: 20.38 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001867/1.251, allocations: 279.4 kB / 1.397 GB, free: 20.17 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002338/1.251, allocations: 337.2 kB / 1.398 GB, free: 19.99 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.599e-05/1.251, allocations: 185.1 kB / 1.398 GB, free: 19.8 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.7e-05/1.251, allocations: 180.2 kB / 1.398 GB, free: 19.62 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.837e-05/1.251, allocations: 180 kB / 1.398 GB, free: 19.44 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008725/1.252, allocations: 1.135 MB / 1.399 GB, free: 18.74 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-05/1.252, allocations: 108.9 kB / 1.4 GB, free: 18.62 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.03e-05/1.252, allocations: 109 kB / 1.4 GB, free: 18.51 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.989e-05/1.252, allocations: 188.1 kB / 1.4 GB, free: 18.32 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.429e-05/1.252, allocations: 183.6 kB / 1.4 GB, free: 18.14 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.794e-05/1.252, allocations: 176.6 kB / 1.4 GB, free: 17.96 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.755e-05/1.252, allocations: 184 kB / 1.4 GB, free: 17.78 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003156/1.253, allocations: 497 kB / 1.401 GB, free: 17.35 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006278/1.253, allocations: 0.5308 MB / 1.401 GB, free: 17.02 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002015/1.254, allocations: 180 kB / 1.402 GB, free: 16.84 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002399/1.254, allocations: 112.9 kB / 1.402 GB, free: 16.73 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.839e-05/1.254, allocations: 176.3 kB / 1.402 GB, free: 16.55 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.94e-05/1.254, allocations: 108.9 kB / 1.402 GB, free: 16.43 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.002368/1.256, allocations: 2.312 MB / 1.404 GB, free: 15.99 MB / 0.8386 GB Notification: Performance of sort global known variables: time 3.61e-07/1.256, allocations: 0 / 1.404 GB, free: 15.99 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003935/1.257, allocations: 153.2 kB / 1.404 GB, free: 15.99 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.0001576/1.257, allocations: 180.7 kB / 1.404 GB, free: 15.82 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 3.912e-05/1.257, allocations: 0 / 1.404 GB, free: 15.82 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/1.257, allocations: 0 / 1.404 GB, free: 15.82 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.124e-06/1.257, allocations: 4 kB / 1.404 GB, free: 15.82 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007736/1.258, allocations: 0.6348 MB / 1.405 GB, free: 15.29 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002501/1.26, allocations: 2.142 MB / 1.407 GB, free: 14.46 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008516/1.261, allocations: 1.374 MB / 1.409 GB, free: 13.12 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0002985/1.261, allocations: 275 kB / 1.409 GB, free: 12.85 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001736/1.262, allocations: 79.44 kB / 1.409 GB, free: 12.77 MB / 0.8386 GB Notification: Performance of SimCode: time 5.11e-07/1.262, allocations: 0 / 1.409 GB, free: 12.77 MB / 0.8386 GB Notification: Performance of Templates: time 0.02095/1.282, allocations: 10.46 MB / 1.419 GB, free: 2.328 MB / 0.8386 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