Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Obsolete.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_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator") translateModel(Buildings.Obsolete.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_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.324/2.324, allocations: 393.5 MB / 408.4 MB, free: 11 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.001234/0.001235, allocations: 191.9 kB / 0.4902 GB, free: 2.211 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.63/1.63, allocations: 223.1 MB / 0.7992 GB, free: 14.67 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.001229/0.001229, allocations: 104.1 kB / 0.9396 GB, free: 1.824 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003653/0.0003653, allocations: 6.969 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2955/0.2959, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2048/0.5007, allocations: 152.8 MB / 1.379 GB, free: 0.582 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003066/0.5011, allocations: 79.94 kB / 1.379 GB, free: 0.5039 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.03116/0.5323, allocations: 13.97 MB / 1.392 GB, free: 2.504 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.004e-06/0.5323, allocations: 0 / 1.392 GB, free: 2.504 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.000127/0.5325, allocations: 47.94 kB / 1.392 GB, free: 2.457 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.003402/0.5359, allocations: 1.448 MB / 1.394 GB, free: 0.9492 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.874e-05/0.536, allocations: 12.5 kB / 1.394 GB, free: 0.9375 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006454/0.5366, allocations: 197.6 kB / 1.394 GB, free: 0.7422 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002338/0.539, allocations: 0.8628 MB / 1.395 GB, free: 15.84 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001518/0.5391, allocations: 156.1 kB / 1.395 GB, free: 15.68 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004033/0.5395, allocations: 196 kB / 1.395 GB, free: 15.49 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00522/0.5448, allocations: 2.907 MB / 1.398 GB, free: 12.3 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.263e-05/0.5449, allocations: 11.88 kB / 1.398 GB, free: 12.29 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002211/0.5451, allocations: 88 kB / 1.398 GB, free: 12.2 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.542e-05/0.5452, allocations: 56 kB / 1.398 GB, free: 12.14 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003071/0.5482, allocations: 1.744 MB / 1.4 GB, free: 10.4 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01308/0.5613, allocations: 10.87 MB / 1.41 GB, free: 15.18 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001203/0.5615, allocations: 181.1 kB / 1.411 GB, free: 14.99 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 4.027e-05/0.5616, allocations: 79.28 kB / 1.411 GB, free: 14.91 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.481e-05/0.5616, allocations: 105.8 kB / 1.411 GB, free: 14.8 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=0): time 2.905e-06/0.5616, allocations: 0 / 1.411 GB, free: 14.8 MB / 0.9167 GB Notification: Performance of matching and sorting (n=0): time 0.0004243/0.5621, allocations: 203.4 kB / 1.411 GB, free: 14.59 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.721e-05/0.5622, allocations: 130.7 kB / 1.411 GB, free: 14.45 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004903/0.5671, allocations: 3.056 MB / 1.414 GB, free: 11.37 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.713e-05/0.5671, allocations: 29.7 kB / 1.414 GB, free: 11.34 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008576/0.568, allocations: 0.7724 MB / 1.415 GB, free: 10.56 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 4.809e-06/0.568, allocations: 0 / 1.415 GB, free: 10.56 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.445e-06/0.568, allocations: 0 / 1.415 GB, free: 10.56 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001344/0.5681, allocations: 313.9 kB / 1.415 GB, free: 10.25 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.48e-06/0.5681, allocations: 0 / 1.415 GB, free: 10.25 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.753e-06/0.5682, allocations: 0 / 1.415 GB, free: 10.25 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.011e-05/0.5682, allocations: 75.28 kB / 1.415 GB, free: 10.17 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.744e-05/0.5682, allocations: 79.28 kB / 1.415 GB, free: 10.09 MB / 0.9167 GB Notification: Performance of matching and sorting (n=0) (initialization): time 0.0004377/0.5687, allocations: 211.3 kB / 1.415 GB, free: 9.879 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 5.409e-05/0.5687, allocations: 79.28 kB / 1.416 GB, free: 9.801 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.326e-05/0.5688, allocations: 79.22 kB / 1.416 GB, free: 9.723 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.549e-05/0.5689, allocations: 154.5 kB / 1.416 GB, free: 9.57 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.936e-05/0.5689, allocations: 83.28 kB / 1.416 GB, free: 9.488 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.803e-05/0.569, allocations: 154.5 kB / 1.416 GB, free: 9.336 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005488/0.5696, allocations: 165.9 kB / 1.416 GB, free: 9.172 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.109e-05/0.5696, allocations: 79.22 kB / 1.416 GB, free: 9.094 MB / 0.9167 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.0009187/0.5706, allocations: 0.7383 MB / 1.417 GB, free: 8.344 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003424/0.5709, allocations: 282.6 kB / 1.417 GB, free: 8.059 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004486/0.5714, allocations: 322.5 kB / 1.418 GB, free: 7.73 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.505e-05/0.5715, allocations: 192.3 kB / 1.418 GB, free: 7.535 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.362e-05/0.5716, allocations: 176.3 kB / 1.418 GB, free: 7.355 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.361e-05/0.5717, allocations: 192.2 kB / 1.418 GB, free: 7.16 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00127/0.5729, allocations: 1.138 MB / 1.419 GB, free: 5.961 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.496e-05/0.573, allocations: 109 kB / 1.419 GB, free: 5.848 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.6e-05/0.573, allocations: 104.9 kB / 1.419 GB, free: 5.738 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.726e-05/0.5731, allocations: 188.2 kB / 1.42 GB, free: 5.547 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.685e-05/0.5732, allocations: 180.2 kB / 1.42 GB, free: 5.363 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.524e-05/0.5732, allocations: 176.3 kB / 1.42 GB, free: 5.184 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.081e-05/0.5733, allocations: 188.2 kB / 1.42 GB, free: 4.992 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003717/0.5737, allocations: 484.5 kB / 1.421 GB, free: 4.492 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001182/0.5749, allocations: 0.5385 MB / 1.421 GB, free: 3.926 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003493/0.5753, allocations: 180.3 kB / 1.421 GB, free: 3.742 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003184/0.5756, allocations: 101 kB / 1.421 GB, free: 3.637 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.743e-05/0.5757, allocations: 184.2 kB / 1.422 GB, free: 3.449 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.114e-05/0.5757, allocations: 101 kB / 1.422 GB, free: 3.344 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.003635/0.5794, allocations: 2.349 MB / 1.424 GB, free: 0.9805 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5794, allocations: 0 / 1.424 GB, free: 0.9805 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0006014/0.58, allocations: 152 kB / 1.424 GB, free: 0.832 MB / 0.9167 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.0002491/0.5803, allocations: 175.3 kB / 1.424 GB, free: 0.6523 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 7.3e-05/0.5803, allocations: 3.938 kB / 1.424 GB, free: 0.6484 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.5803, allocations: 0 / 1.424 GB, free: 0.6484 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 2.084e-06/0.5803, allocations: 0 / 1.424 GB, free: 0.6484 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.5418/1.122, allocations: 0.6436 MB / 1.425 GB, free: 184.9 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004521/1.127, allocations: 2.854 MB / 1.428 GB, free: 183.8 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001281/1.128, allocations: 1.37 MB / 1.429 GB, free: 183 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0004574/1.129, allocations: 280.3 kB / 1.429 GB, free: 183 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002167/1.129, allocations: 75.94 kB / 1.429 GB, free: 183 MB / 0.9167 GB Notification: Performance of SimCode: time 2.675e-06/1.129, allocations: 6.406 kB / 1.429 GB, free: 183 MB / 0.9167 GB Notification: Performance of Templates: time 0.03387/1.163, allocations: 10.46 MB / 1.44 GB, free: 182.6 MB / 0.9167 GB make -j1 -f Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator.makefile (rm -f Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator.pipe ; mkfifo Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator.pipe ; head -c 1048576 < Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator.pipe >> ../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator.sim & ./Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Obsolete_Controls_OBC_ASHRAE_G36_PR1_Generic_SetPoints_Validation_ZoneStatusDuplicator.csv","../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches