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.57/2.57, allocations: 390.3 MB / 405.3 MB, free: 13.48 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.001362/0.001361, allocations: 182.1 kB / 498.1 MB, free: 5.738 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.692/1.692, allocations: 223.2 MB / 0.7948 GB, free: 18.82 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.0009938/0.0009934, allocations: 96.28 kB / 0.9346 GB, free: 7.152 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004069/0.0004069, allocations: 9.875 kB / 1.084 GB, free: 213 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2918/0.2923, allocations: 142.3 MB / 1.223 GB, free: 89.56 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1915/0.4838, allocations: 150.6 MB / 1.37 GB, free: 2.75 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000271/0.4841, allocations: 71.95 kB / 1.37 GB, free: 2.68 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.02947/0.5136, allocations: 13.91 MB / 1.384 GB, free: 4.742 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.785e-06/0.5136, allocations: 3.938 kB / 1.384 GB, free: 4.738 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001194/0.5137, allocations: 51.94 kB / 1.384 GB, free: 4.688 MB / 0.8855 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.003153/0.5169, allocations: 1.448 MB / 1.385 GB, free: 3.18 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.696e-05/0.517, allocations: 8.031 kB / 1.385 GB, free: 3.172 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005514/0.5175, allocations: 193.7 kB / 1.385 GB, free: 2.98 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002184/0.5197, allocations: 0.8628 MB / 1.386 GB, free: 2.078 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001661/0.5199, allocations: 152.1 kB / 1.386 GB, free: 1.926 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000389/0.5203, allocations: 196 kB / 1.386 GB, free: 1.734 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005157/0.5255, allocations: 2.907 MB / 1.389 GB, free: 14.54 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.353e-05/0.5255, allocations: 11.88 kB / 1.389 GB, free: 14.53 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001946/0.5257, allocations: 91.98 kB / 1.389 GB, free: 14.44 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.362e-05/0.5258, allocations: 56 kB / 1.389 GB, free: 14.39 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002754/0.5285, allocations: 1.736 MB / 1.391 GB, free: 12.65 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01079/0.5393, allocations: 10.89 MB / 1.402 GB, free: 1.414 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001077/0.5395, allocations: 165.1 kB / 1.402 GB, free: 1.242 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 3.317e-05/0.5395, allocations: 83.28 kB / 1.402 GB, free: 1.16 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.969e-05/0.5396, allocations: 105.8 kB / 1.402 GB, free: 1.047 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=0): time 3.216e-06/0.5396, allocations: 4 kB / 1.402 GB, free: 1.043 MB / 0.9011 GB Notification: Performance of matching and sorting (n=0): time 0.0003312/0.54, allocations: 215.2 kB / 1.402 GB, free: 0.8242 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.631e-05/0.54, allocations: 126.7 kB / 1.402 GB, free: 0.6875 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.6105/1.151, allocations: 3.054 MB / 1.405 GB, free: 168.4 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 8.567e-06/1.151, allocations: 25.7 kB / 1.405 GB, free: 168.4 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006073/1.151, allocations: 0.7693 MB / 1.406 GB, free: 168.3 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 3.056e-06/1.151, allocations: 0 / 1.406 GB, free: 168.3 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.7e-07/1.151, allocations: 1.344 kB / 1.406 GB, free: 168.3 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 4.715e-05/1.151, allocations: 308.6 kB / 1.407 GB, free: 168 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.098e-06/1.151, allocations: 0 / 1.407 GB, free: 168 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.711e-06/1.151, allocations: 2.156 kB / 1.407 GB, free: 168 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.626e-05/1.151, allocations: 75.91 kB / 1.407 GB, free: 167.9 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.097e-05/1.151, allocations: 76.81 kB / 1.407 GB, free: 167.9 MB / 0.9011 GB Notification: Performance of matching and sorting (n=0) (initialization): time 0.0002923/1.152, allocations: 207 kB / 1.407 GB, free: 167.8 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 2.932e-05/1.152, allocations: 81.7 kB / 1.407 GB, free: 167.8 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.692e-05/1.152, allocations: 82.5 kB / 1.407 GB, free: 167.7 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.656e-05/1.152, allocations: 157 kB / 1.407 GB, free: 167.5 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.123e-05/1.152, allocations: 79.5 kB / 1.407 GB, free: 167.5 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.965e-05/1.152, allocations: 151.7 kB / 1.407 GB, free: 167.3 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00034/1.152, allocations: 158 kB / 1.408 GB, free: 167.2 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.313e-05/1.152, allocations: 82.11 kB / 1.408 GB, free: 167.2 MB / 0.9011 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 () * Number of clocked 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.0007291/1.153, allocations: 0.7446 MB / 1.408 GB, free: 166.9 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002036/1.153, allocations: 286.5 kB / 1.409 GB, free: 166.8 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002777/1.153, allocations: 325.9 kB / 1.409 GB, free: 166.6 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.097e-05/1.153, allocations: 176.8 kB / 1.409 GB, free: 166.4 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.582e-05/1.153, allocations: 186.9 kB / 1.409 GB, free: 166.3 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.39e-05/1.153, allocations: 189.8 kB / 1.409 GB, free: 166.1 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000948/1.154, allocations: 1.143 MB / 1.411 GB, free: 165.6 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.499e-05/1.154, allocations: 101.6 kB / 1.411 GB, free: 165.5 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.497e-05/1.154, allocations: 106.6 kB / 1.411 GB, free: 165.4 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-05/1.155, allocations: 178.3 kB / 1.411 GB, free: 165.2 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.639e-05/1.155, allocations: 179.9 kB / 1.411 GB, free: 165 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.235e-05/1.155, allocations: 188.2 kB / 1.411 GB, free: 164.9 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.399e-05/1.155, allocations: 182.8 kB / 1.411 GB, free: 164.7 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002296/1.155, allocations: 488.9 kB / 1.412 GB, free: 164.3 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008782/1.156, allocations: 0.5303 MB / 1.412 GB, free: 164 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002113/1.156, allocations: 183.9 kB / 1.413 GB, free: 163.8 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002402/1.156, allocations: 104.7 kB / 1.413 GB, free: 163.7 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.03e-05/1.156, allocations: 181.8 kB / 1.413 GB, free: 163.5 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.804e-05/1.156, allocations: 103.1 kB / 1.413 GB, free: 163.4 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.003323/1.16, allocations: 2.339 MB / 1.415 GB, free: 163.3 MB / 0.9011 GB Notification: Performance of sort global known variables: time 2.61e-07/1.16, allocations: 1.406 kB / 1.415 GB, free: 163.3 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0005253/1.16, allocations: 152.2 kB / 1.415 GB, free: 163.3 MB / 0.9011 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 () * Number of clocked 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.0001215/1.16, allocations: 189.3 kB / 1.416 GB, free: 163.1 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 4.182e-05/1.16, allocations: 0 / 1.416 GB, free: 163.1 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/1.16, allocations: 1 kB / 1.416 GB, free: 163.1 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 3.226e-06/1.16, allocations: 1.422 kB / 1.416 GB, free: 163.1 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007171/1.161, allocations: 0.6436 MB / 1.416 GB, free: 162.6 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003849/1.165, allocations: 2.86 MB / 1.419 GB, free: 161.4 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001182/1.166, allocations: 1.375 MB / 1.42 GB, free: 160.7 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0004705/1.167, allocations: 276.9 kB / 1.421 GB, free: 160.7 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001958/1.167, allocations: 80.91 kB / 1.421 GB, free: 160.7 MB / 0.9011 GB Notification: Performance of SimCode: time 9.82e-07/1.167, allocations: 0 / 1.421 GB, free: 160.7 MB / 0.9011 GB Notification: Performance of Templates: time 0.02659/1.193, allocations: 10.46 MB / 1.431 GB, free: 160.2 MB / 0.9011 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