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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.198/2.198, allocations: 387.4 MB / 394.9 MB, free: 13.36 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.001051/0.001051, allocations: 180.8 kB / 487.4 MB, free: 5.059 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.424/1.424, allocations: 221.5 MB / 0.7824 GB, free: 1.004 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.001079/0.001078, allocations: 99.84 kB / 0.9219 GB, free: 2.227 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.759e-05/1.76e-05, allocations: 0 / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3013/0.3014, allocations: 142.4 MB / 1.206 GB, free: 43.96 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.08/1.382, allocations: 149.9 MB / 1.352 GB, free: 18.23 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000273/1.382, allocations: 76.75 kB / 1.352 GB, free: 18.23 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02778/1.41, allocations: 13.85 MB / 1.366 GB, free: 32.78 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.793e-06/1.41, allocations: 0 / 1.366 GB, free: 32.78 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0001387/1.41, allocations: 46.03 kB / 1.366 GB, free: 32.77 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.003855/1.414, allocations: 1.395 MB / 1.367 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.635e-05/1.414, allocations: 11.5 kB / 1.367 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007829/1.415, allocations: 198 kB / 1.368 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001745/1.417, allocations: 0.8589 MB / 1.368 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.678e-05/1.417, allocations: 65.25 kB / 1.368 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003747/1.417, allocations: 117.4 kB / 1.369 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00292/1.42, allocations: 1.494 MB / 1.37 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00442/1.425, allocations: 2.584 MB / 1.373 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.02e-05/1.425, allocations: 11.69 kB / 1.373 GB, free: 30.87 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001988/1.425, allocations: 11.69 kB / 1.373 GB, free: 30.87 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.142e-05/1.425, allocations: 58.11 kB / 1.373 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009077/1.434, allocations: 9.551 MB / 1.382 GB, free: 23.89 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000101/1.434, allocations: 179.3 kB / 1.382 GB, free: 23.71 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.606e-05/1.434, allocations: 80.14 kB / 1.382 GB, free: 23.63 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.209e-05/1.434, allocations: 75.28 kB / 1.382 GB, free: 23.56 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.285e-05/1.434, allocations: 109.8 kB / 1.382 GB, free: 23.44 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 2.054e-06/1.434, allocations: 0 / 1.382 GB, free: 23.44 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 0.0001236/1.434, allocations: 56.73 kB / 1.382 GB, free: 23.39 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.458e-05/1.434, allocations: 55.41 kB / 1.382 GB, free: 23.33 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007937/1.435, allocations: 0.5244 MB / 1.383 GB, free: 23.18 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.265e-05/1.435, allocations: 25.7 kB / 1.383 GB, free: 23.14 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004636/1.436, allocations: 0.7526 MB / 1.384 GB, free: 22.75 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.627e-06/1.436, allocations: 3.938 kB / 1.384 GB, free: 22.75 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.51e-07/1.436, allocations: 0 / 1.384 GB, free: 22.75 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001939/1.436, allocations: 347.1 kB / 1.384 GB, free: 22.43 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.358e-06/1.436, allocations: 0 / 1.384 GB, free: 22.43 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.531e-06/1.436, allocations: 4 kB / 1.384 GB, free: 22.43 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.296e-05/1.436, allocations: 75.28 kB / 1.384 GB, free: 22.36 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.838e-05/1.436, allocations: 75.28 kB / 1.384 GB, free: 22.28 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0) (initialization): time 0.0001015/1.436, allocations: 64.5 kB / 1.384 GB, free: 22.23 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 4.731e-05/1.436, allocations: 81.31 kB / 1.384 GB, free: 22.15 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.31e-05/1.436, allocations: 86.06 kB / 1.384 GB, free: 22.07 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.926e-05/1.436, allocations: 154.5 kB / 1.385 GB, free: 21.92 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.914e-05/1.436, allocations: 79.28 kB / 1.385 GB, free: 21.84 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.671e-05/1.436, allocations: 154 kB / 1.385 GB, free: 21.7 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.256e-05/1.437, allocations: 83.19 kB / 1.385 GB, free: 21.62 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.897e-05/1.437, allocations: 75.28 kB / 1.385 GB, free: 21.54 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.0001276/1.437, allocations: 258.1 kB / 1.385 GB, free: 21.29 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.862e-05/1.437, allocations: 139.8 kB / 1.385 GB, free: 21.16 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.709e-05/1.437, allocations: 145.2 kB / 1.385 GB, free: 21.03 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.508e-05/1.437, allocations: 182 kB / 1.386 GB, free: 20.85 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.405e-05/1.437, allocations: 177.2 kB / 1.386 GB, free: 20.67 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.201e-05/1.437, allocations: 188 kB / 1.386 GB, free: 20.48 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001233/1.438, allocations: 0.956 MB / 1.387 GB, free: 20.05 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.019e-05/1.438, allocations: 105 kB / 1.387 GB, free: 19.95 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.252e-05/1.438, allocations: 104.9 kB / 1.387 GB, free: 19.84 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.514e-05/1.439, allocations: 178.2 kB / 1.387 GB, free: 19.66 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-05/1.439, allocations: 184.1 kB / 1.387 GB, free: 19.47 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.161e-05/1.439, allocations: 184.5 kB / 1.388 GB, free: 19.29 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.318e-05/1.439, allocations: 178.5 kB / 1.388 GB, free: 19.11 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001826/1.439, allocations: 340.4 kB / 1.388 GB, free: 18.77 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 8.771e-05/1.439, allocations: 209.1 kB / 1.388 GB, free: 18.55 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001004/1.439, allocations: 190.1 kB / 1.389 GB, free: 18.36 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.429e-05/1.439, allocations: 104.9 kB / 1.389 GB, free: 18.25 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.874e-05/1.439, allocations: 180.3 kB / 1.389 GB, free: 18.07 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.171e-05/1.439, allocations: 110.2 kB / 1.389 GB, free: 17.96 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.000276/1.44, allocations: 291.2 kB / 1.389 GB, free: 17.87 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.61e-07/1.44, allocations: 0 / 1.389 GB, free: 17.87 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0008049/1.441, allocations: 201.2 kB / 1.389 GB, free: 17.81 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.0001758/1.441, allocations: 175.6 kB / 1.39 GB, free: 17.65 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 4.391e-05/1.441, allocations: 3.844 kB / 1.39 GB, free: 17.65 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/1.441, allocations: 4 kB / 1.39 GB, free: 17.65 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 3.106e-06/1.441, allocations: 0 / 1.39 GB, free: 17.65 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004685/1.441, allocations: 0.5321 MB / 1.39 GB, free: 17.13 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002902/1.444, allocations: 1.723 MB / 1.392 GB, free: 16.55 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001205/1.445, allocations: 1.441 MB / 1.393 GB, free: 15.58 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.451e-05/1.445, allocations: 12.39 kB / 1.393 GB, free: 15.58 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.291e-05/1.445, allocations: 11.28 kB / 1.393 GB, free: 15.57 MB / 0.8386 GB Notification: Performance of SimCode: time 5.31e-07/1.445, allocations: 3.938 kB / 1.393 GB, free: 15.57 MB / 0.8386 GB Notification: Performance of Templates: time 0.006944/1.452, allocations: 1.121 MB / 1.394 GB, free: 15 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