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.001492/0.001492, allocations: 111.3 kB / 15.34 MB, free: 0.5078 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.001759/0.001759, allocations: 192.8 kB / 16.25 MB, free: 6.629 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.43/1.43, allocations: 222.9 MB / 239.9 MB, free: 4.496 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.844/2.844, allocations: 461.8 MB / 0.7343 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00136/0.00136, allocations: 69.12 kB / 0.8986 GB, free: 37.09 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4295/0.4308, allocations: 157.4 MB / 1.052 GB, free: 8.715 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator): time 0.00302/0.4339, allocations: 1.265 MB / 1.054 GB, free: 7.449 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0006095/0.4345, allocations: 227.8 kB / 1.054 GB, free: 7.227 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001156/0.4347, allocations: 7.938 kB / 1.054 GB, free: 7.219 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0002545/0.4349, allocations: 99.41 kB / 1.054 GB, free: 7.121 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002156/0.4352, allocations: 63.73 kB / 1.054 GB, free: 7.059 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001261/0.4353, allocations: 71.94 kB / 1.054 GB, free: 6.988 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0008263/0.4361, allocations: 0.7924 MB / 1.055 GB, free: 6.195 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00203/0.4382, allocations: 1.958 MB / 1.057 GB, free: 4.195 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006465/0.4388, allocations: 0.5494 MB / 1.057 GB, free: 3.645 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008399/0.4397, allocations: 0.7205 MB / 1.058 GB, free: 2.922 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0001716/0.4399, allocations: 116 kB / 1.058 GB, free: 2.809 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002063/0.4401, allocations: 119.9 kB / 1.058 GB, free: 2.691 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.000645/0.4407, allocations: 0.7211 MB / 1.059 GB, free: 1.969 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0008795/0.4416, allocations: 0.8198 MB / 1.06 GB, free: 1.145 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.002734/0.4444, allocations: 2.38 MB / 1.062 GB, free: 14.75 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 1.698e-05/0.4444, allocations: 7.938 kB / 1.062 GB, free: 14.75 MB / 0.8262 GB Notification: Performance of FrontEnd: time 3.868e-06/0.4444, allocations: 0 / 1.062 GB, free: 14.75 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.284e-05/0.4445, allocations: 0 / 1.062 GB, free: 14.75 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.003383/0.4479, allocations: 1.866 MB / 1.064 GB, free: 12.82 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 7.689e-05/0.448, allocations: 12.62 kB / 1.064 GB, free: 12.8 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003877/0.4484, allocations: 194.6 kB / 1.064 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001732/0.4501, allocations: 0.9416 MB / 1.065 GB, free: 11.63 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001426/0.4503, allocations: 156.5 kB / 1.065 GB, free: 11.48 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002853/0.4506, allocations: 200.3 kB / 1.065 GB, free: 11.28 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004683/0.4553, allocations: 2.798 MB / 1.068 GB, free: 8.195 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.763e-05/0.4554, allocations: 12.06 kB / 1.068 GB, free: 8.184 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001808/0.4556, allocations: 95.94 kB / 1.068 GB, free: 8.09 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.153e-05/0.4556, allocations: 56 kB / 1.068 GB, free: 8.035 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002889/0.4585, allocations: 1.65 MB / 1.07 GB, free: 6.383 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01042/0.469, allocations: 10.46 MB / 1.08 GB, free: 11.59 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000152/0.4692, allocations: 177.1 kB / 1.08 GB, free: 11.4 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.766e-05/0.4693, allocations: 84.08 kB / 1.08 GB, free: 11.32 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 4.129e-05/0.4693, allocations: 75.28 kB / 1.08 GB, free: 11.24 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.784e-05/0.4694, allocations: 105.8 kB / 1.08 GB, free: 11.13 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=0): time 1.884e-06/0.4694, allocations: 4 kB / 1.08 GB, free: 11.12 MB / 0.8419 GB Notification: Performance of matching and sorting (n=0): time 0.000173/0.4696, allocations: 88.89 kB / 1.08 GB, free: 11.03 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.374e-05/0.4697, allocations: 126.7 kB / 1.081 GB, free: 10.89 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001176/0.4709, allocations: 0.9127 MB / 1.081 GB, free: 9.973 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.34e-05/0.4709, allocations: 25.7 kB / 1.081 GB, free: 9.941 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006238/0.4715, allocations: 0.8432 MB / 1.082 GB, free: 9.082 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.544e-05/0.4716, allocations: 11.98 kB / 1.082 GB, free: 9.07 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003236/0.4719, allocations: 275 kB / 1.083 GB, free: 8.797 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0002358/0.4721, allocations: 378.8 kB / 1.083 GB, free: 8.418 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001941/0.4723, allocations: 129.2 kB / 1.083 GB, free: 8.293 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005884/0.4729, allocations: 0.5912 MB / 1.084 GB, free: 7.469 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000828/0.4738, allocations: 0.7728 MB / 1.084 GB, free: 6.465 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-05/0.4738, allocations: 8 kB / 1.084 GB, free: 6.457 MB / 0.8419 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001106/0.4749, allocations: 0.7 MB / 1.085 GB, free: 5.75 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 3.352e-05/0.475, allocations: 15.94 kB / 1.085 GB, free: 5.734 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.026e-05/0.475, allocations: 16 kB / 1.085 GB, free: 5.719 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.574e-05/0.475, allocations: 23.98 kB / 1.085 GB, free: 5.695 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002501/0.4753, allocations: 91.7 kB / 1.085 GB, free: 5.605 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.673e-05/0.4753, allocations: 28.48 kB / 1.085 GB, free: 5.578 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003358/0.4757, allocations: 95.06 kB / 1.085 GB, free: 5.484 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.451e-05/0.4757, allocations: 44 kB / 1.085 GB, free: 5.441 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.001156/0.4769, allocations: 0.7544 MB / 1.086 GB, free: 4.68 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001029/0.477, allocations: 156.3 kB / 1.086 GB, free: 4.52 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000117/0.4771, allocations: 177.2 kB / 1.086 GB, free: 4.336 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.952e-05/0.4772, allocations: 176.3 kB / 1.087 GB, free: 4.156 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.78e-05/0.4773, allocations: 184.2 kB / 1.087 GB, free: 3.969 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.863e-05/0.4773, allocations: 180.3 kB / 1.087 GB, free: 3.785 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001845/0.4792, allocations: 1.601 MB / 1.089 GB, free: 2.125 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.576e-05/0.4792, allocations: 112.9 kB / 1.089 GB, free: 2.008 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.237e-05/0.4793, allocations: 105 kB / 1.089 GB, free: 1.898 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.756e-05/0.4794, allocations: 188.2 kB / 1.089 GB, free: 1.707 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.2e-05/0.4794, allocations: 176.3 kB / 1.089 GB, free: 1.527 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.22e-05/0.4795, allocations: 176.5 kB / 1.089 GB, free: 1.348 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.694e-05/0.4796, allocations: 188.2 kB / 1.089 GB, free: 1.156 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002051/0.4798, allocations: 363 kB / 1.09 GB, free: 0.7773 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001334/0.4799, allocations: 217.4 kB / 1.09 GB, free: 0.5391 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001201/0.4801, allocations: 184.2 kB / 1.09 GB, free: 360 kB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000107/0.4802, allocations: 105 kB / 1.09 GB, free: 248 kB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.672e-05/0.4803, allocations: 180.3 kB / 1.09 GB, free: 60 kB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.906e-05/0.4804, allocations: 104.9 kB / 1.091 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0005551/0.4809, allocations: 0.4951 MB / 1.091 GB, free: 15.46 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4809, allocations: 8 kB / 1.091 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0009954/0.4819, allocations: 325.3 kB / 1.091 GB, free: 15.13 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.0001877/0.4821, allocations: 170.5 kB / 1.092 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004857/0.4826, allocations: 295.6 kB / 1.092 GB, free: 14.67 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.4826, allocations: 0 / 1.092 GB, free: 14.67 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 6.392e-06/0.4826, allocations: 8.25 kB / 1.092 GB, free: 14.66 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000592/0.4832, allocations: 498.6 kB / 1.092 GB, free: 14.17 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004992/0.4882, allocations: 2.971 MB / 1.095 GB, free: 11.16 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001345/0.4896, allocations: 1.403 MB / 1.097 GB, free: 9.73 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0005128/0.4902, allocations: 296.4 kB / 1.097 GB, free: 9.438 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.428e-05/0.4902, allocations: 35.44 kB / 1.097 GB, free: 9.402 MB / 0.8575 GB Notification: Performance of SimCode: time 3.045e-06/0.4902, allocations: 0 / 1.097 GB, free: 9.402 MB / 0.8575 GB Notification: Performance of Templates: time 0.01091/0.5011, allocations: 2.56 MB / 1.099 GB, free: 6.852 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