Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_latest_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_latest_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009413/0.0009413, allocations: 90.67 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.009258/0.009258, allocations: 171.1 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.49/1.49, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.059/3.059, allocations: 462.7 MB / 0.7364 GB, free: 268 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0004376/0.0004376, allocations: 11.89 kB / 0.9028 GB, free: 36.62 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.409/0.4094, allocations: 159.6 MB / 1.059 GB, free: 5.441 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator): time 0.002116/0.4116, allocations: 0.8924 MB / 1.06 GB, free: 4.551 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001045/0.4127, allocations: 223.8 kB / 1.06 GB, free: 4.332 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003439/0.4131, allocations: 7.938 kB / 1.06 GB, free: 4.324 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0003893/0.4135, allocations: 103.4 kB / 1.06 GB, free: 4.223 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0004165/0.4139, allocations: 71.73 kB / 1.06 GB, free: 4.152 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002501/0.4142, allocations: 71.92 kB / 1.06 GB, free: 4.082 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.001043/0.4152, allocations: 0.765 MB / 1.061 GB, free: 3.316 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002361/0.4176, allocations: 1.876 MB / 1.063 GB, free: 1.398 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003238/0.418, allocations: 210.8 kB / 1.063 GB, free: 1.191 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005086/0.4185, allocations: 398.1 kB / 1.063 GB, free: 0.8008 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 5.046e-05/0.4185, allocations: 19.88 kB / 1.063 GB, free: 0.7812 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 7.128e-05/0.4186, allocations: 12 kB / 1.063 GB, free: 0.7695 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0004641/0.4191, allocations: 0.5298 MB / 1.064 GB, free: 244 kB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0006829/0.4198, allocations: 0.5951 MB / 1.064 GB, free: 15.63 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.001991/0.4218, allocations: 2.243 MB / 1.067 GB, free: 13.38 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.4218, allocations: 4 kB / 1.067 GB, free: 13.38 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.443e-06/0.4218, allocations: 0 / 1.067 GB, free: 13.38 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.823e-05/0.4219, allocations: 4 kB / 1.067 GB, free: 13.38 MB / 0.8262 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.002022/0.4239, allocations: 1.452 MB / 1.068 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.872e-05/0.424, allocations: 12.03 kB / 1.068 GB, free: 11.85 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002839/0.4243, allocations: 194.5 kB / 1.068 GB, free: 11.66 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00138/0.4257, allocations: 0.9494 MB / 1.069 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001107/0.4258, allocations: 152.5 kB / 1.069 GB, free: 10.51 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002489/0.426, allocations: 200.3 kB / 1.069 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003877/0.4299, allocations: 2.798 MB / 1.072 GB, free: 7.23 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.025e-05/0.43, allocations: 12.06 kB / 1.072 GB, free: 7.219 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001754/0.4302, allocations: 99.94 kB / 1.072 GB, free: 7.121 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.687e-05/0.4302, allocations: 56 kB / 1.072 GB, free: 7.066 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002469/0.4327, allocations: 1.639 MB / 1.074 GB, free: 5.426 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009014/0.4417, allocations: 10.46 MB / 1.084 GB, free: 10.62 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001088/0.4419, allocations: 177 kB / 1.084 GB, free: 10.44 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.867e-05/0.4419, allocations: 88.08 kB / 1.084 GB, free: 10.35 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.187e-05/0.442, allocations: 75.28 kB / 1.084 GB, free: 10.27 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.491e-05/0.442, allocations: 109.8 kB / 1.085 GB, free: 10.16 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=0): time 2.856e-06/0.4421, allocations: 0 / 1.085 GB, free: 10.16 MB / 0.8419 GB Notification: Performance of matching and sorting (n=0): time 0.0001926/0.4422, allocations: 88.95 kB / 1.085 GB, free: 10.06 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.902e-05/0.4423, allocations: 126.7 kB / 1.085 GB, free: 9.926 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001059/0.4434, allocations: 0.9126 MB / 1.086 GB, free: 9.004 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.401e-05/0.4434, allocations: 29.7 kB / 1.086 GB, free: 8.969 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005738/0.444, allocations: 0.8471 MB / 1.086 GB, free: 8.105 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.488e-05/0.444, allocations: 11.98 kB / 1.086 GB, free: 8.094 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002242/0.4443, allocations: 202.7 kB / 1.087 GB, free: 7.891 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001804/0.4445, allocations: 374.8 kB / 1.087 GB, free: 7.516 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001693/0.4446, allocations: 133.2 kB / 1.087 GB, free: 7.387 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005315/0.4452, allocations: 0.5834 MB / 1.088 GB, free: 6.57 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007604/0.4459, allocations: 0.7767 MB / 1.089 GB, free: 5.562 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.285e-06/0.4459, allocations: 4 kB / 1.089 GB, free: 5.559 MB / 0.8419 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001042/0.447, allocations: 0.7005 MB / 1.089 GB, free: 4.852 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 3.24e-05/0.447, allocations: 12.19 kB / 1.089 GB, free: 4.84 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.866e-05/0.4471, allocations: 20 kB / 1.089 GB, free: 4.82 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.214e-05/0.4471, allocations: 24 kB / 1.089 GB, free: 4.797 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002452/0.4474, allocations: 91.66 kB / 1.089 GB, free: 4.707 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.817e-05/0.4475, allocations: 31.91 kB / 1.089 GB, free: 4.676 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000325/0.4478, allocations: 91.06 kB / 1.089 GB, free: 4.586 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.519e-05/0.4478, allocations: 36 kB / 1.089 GB, free: 4.551 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 75 * Number of states: 0 () * Number of discrete variables: 45 (booInp[9,5].y,booInp[9,4].y,booInp[9,3].y,booInp[9,2].y,booInp[9,1].y,booInp[8,5].y,booInp[8,4].y,booInp[8,3].y,booInp[8,2].y,booInp[8,1].y,booInp[7,5].y,booInp[7,4].y,booInp[7,3].y,booInp[7,2].y,booInp[7,1].y,booInp[6,5].y,booInp[6,4].y,booInp[6,3].y,booInp[6,2].y,booInp[6,1].y,booInp[5,5].y,booInp[5,4].y,booInp[5,3].y,booInp[5,2].y,booInp[5,1].y,booInp[4,5].y,booInp[4,4].y,booInp[4,3].y,booInp[4,2].y,booInp[4,1].y,booInp[3,5].y,booInp[3,4].y,booInp[3,3].y,booInp[3,2].y,booInp[3,1].y,booInp[2,5].y,booInp[2,4].y,booInp[2,3].y,booInp[2,2].y,booInp[2,1].y,booInp[1,5].y,booInp[1,4].y,booInp[1,3].y,booInp[1,2].y,booInp[1,1].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001152/0.449, allocations: 0.7583 MB / 1.09 GB, free: 3.785 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001336/0.4491, allocations: 164.2 kB / 1.09 GB, free: 3.617 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001515/0.4493, allocations: 169.2 kB / 1.091 GB, free: 3.441 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.056e-05/0.4494, allocations: 176.3 kB / 1.091 GB, free: 3.262 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.673e-05/0.4495, allocations: 192.2 kB / 1.091 GB, free: 3.066 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.01e-05/0.4496, allocations: 176.3 kB / 1.091 GB, free: 2.887 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001699/0.4513, allocations: 1.608 MB / 1.093 GB, free: 1.219 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.875e-05/0.4513, allocations: 105.1 kB / 1.093 GB, free: 1.109 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.64e-05/0.4514, allocations: 105 kB / 1.093 GB, free: 1 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.515e-05/0.4514, allocations: 184.2 kB / 1.093 GB, free: 0.8125 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.307e-05/0.4515, allocations: 184.2 kB / 1.093 GB, free: 0.625 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.768e-05/0.4516, allocations: 180.2 kB / 1.093 GB, free: 452 kB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.166e-05/0.4516, allocations: 184.3 kB / 1.094 GB, free: 260 kB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002036/0.4518, allocations: 355 kB / 1.094 GB, free: 15.88 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000126/0.452, allocations: 221.4 kB / 1.094 GB, free: 15.64 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.893e-05/0.4521, allocations: 184.2 kB / 1.094 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.752e-05/0.4522, allocations: 101 kB / 1.094 GB, free: 15.35 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.26e-05/0.4522, allocations: 184.2 kB / 1.095 GB, free: 15.16 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.074e-05/0.4523, allocations: 108.9 kB / 1.095 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0005653/0.4529, allocations: 0.4951 MB / 1.095 GB, free: 14.55 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.8e-07/0.4529, allocations: 0 / 1.095 GB, free: 14.55 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0009679/0.4538, allocations: 329.3 kB / 1.095 GB, free: 14.23 MB / 0.8575 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000214/0.4541, allocations: 178.5 kB / 1.096 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004767/0.4545, allocations: 294.8 kB / 1.096 GB, free: 13.76 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.4546, allocations: 0 / 1.096 GB, free: 13.76 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 2.395e-06/0.4546, allocations: 0 / 1.096 GB, free: 13.76 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006233/0.4552, allocations: 0.5615 MB / 1.096 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004244/0.4594, allocations: 2.987 MB / 1.099 GB, free: 10.17 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001313/0.4608, allocations: 1.396 MB / 1.101 GB, free: 8.746 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0005586/0.4613, allocations: 296.5 kB / 1.101 GB, free: 8.453 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.308e-05/0.4614, allocations: 39.38 kB / 1.101 GB, free: 8.414 MB / 0.8575 GB Notification: Performance of SimCode: time 1.122e-06/0.4614, allocations: 0 / 1.101 GB, free: 8.414 MB / 0.8575 GB Notification: Performance of Templates: time 0.009319/0.4707, allocations: 2.497 MB / 1.103 GB, free: 5.93 MB / 0.8575 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_ZoneGroups_Validation_ZoneStatusDuplicator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches