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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.001263/0.001262, allocations: 91.84 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.01028/0.01028, allocations: 170.2 kB / 16.26 MB, free: 6.676 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.585/1.585, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.279/3.279, allocations: 483.2 MB / 0.7564 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.0003861/0.0003861, allocations: 8.969 kB / 0.9276 GB, free: 29.18 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4331/0.4335, allocations: 164.5 MB / 1.088 GB, free: 10.28 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator): time 0.001841/0.4354, allocations: 0.8839 MB / 1.089 GB, free: 9.398 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0005671/0.436, allocations: 235.7 kB / 1.089 GB, free: 9.168 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001/0.4361, allocations: 3.938 kB / 1.089 GB, free: 9.164 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0002409/0.4363, allocations: 99.41 kB / 1.089 GB, free: 9.066 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0002313/0.4366, allocations: 67.73 kB / 1.09 GB, free: 9 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001417/0.4367, allocations: 75.92 kB / 1.09 GB, free: 8.926 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0008906/0.4376, allocations: 0.7689 MB / 1.09 GB, free: 8.156 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00217/0.4398, allocations: 1.876 MB / 1.092 GB, free: 6.234 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002644/0.4401, allocations: 206.8 kB / 1.092 GB, free: 6.031 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004704/0.4405, allocations: 394.1 kB / 1.093 GB, free: 5.645 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 3.695e-05/0.4406, allocations: 19.94 kB / 1.093 GB, free: 5.625 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 5.012e-05/0.4407, allocations: 16 kB / 1.093 GB, free: 5.609 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0005354/0.4412, allocations: 0.5337 MB / 1.093 GB, free: 5.074 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0006251/0.4418, allocations: 0.5911 MB / 1.094 GB, free: 4.473 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.002231/0.4441, allocations: 2.251 MB / 1.096 GB, free: 2.215 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.4441, allocations: 0 / 1.096 GB, free: 2.215 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.394e-06/0.4441, allocations: 0 / 1.096 GB, free: 2.215 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.254e-05/0.4441, allocations: 0 / 1.096 GB, free: 2.215 MB / 0.8419 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.002238/0.4464, allocations: 1.456 MB / 1.097 GB, free: 0.6953 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 5.382e-05/0.4464, allocations: 8.031 kB / 1.098 GB, free: 0.6875 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003238/0.4468, allocations: 194.6 kB / 1.098 GB, free: 0.4961 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001501/0.4483, allocations: 0.9495 MB / 1.099 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001369/0.4484, allocations: 152.5 kB / 1.099 GB, free: 15.35 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002686/0.4487, allocations: 200.4 kB / 1.099 GB, free: 15.15 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004543/0.4533, allocations: 2.802 MB / 1.102 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.395e-05/0.4533, allocations: 12.12 kB / 1.102 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001964/0.4535, allocations: 91.94 kB / 1.102 GB, free: 11.96 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.264e-05/0.4536, allocations: 56 kB / 1.102 GB, free: 11.91 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002689/0.4563, allocations: 1.646 MB / 1.103 GB, free: 10.26 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0109/0.4672, allocations: 10.47 MB / 1.114 GB, free: 15.45 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001192/0.4674, allocations: 173.1 kB / 1.114 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.712e-05/0.4674, allocations: 84.08 kB / 1.114 GB, free: 15.19 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 3.874e-05/0.4675, allocations: 75.28 kB / 1.114 GB, free: 15.11 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.886e-05/0.4675, allocations: 105.8 kB / 1.114 GB, free: 15 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=0): time 2.074e-06/0.4676, allocations: 8 kB / 1.114 GB, free: 14.99 MB / 0.8731 GB Notification: Performance of matching and sorting (n=0): time 0.0001513/0.4677, allocations: 73.05 kB / 1.114 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.64e-05/0.4678, allocations: 130.7 kB / 1.114 GB, free: 14.77 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00115/0.4689, allocations: 0.9165 MB / 1.115 GB, free: 13.84 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 1.612e-05/0.469, allocations: 25.7 kB / 1.115 GB, free: 13.81 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007477/0.4697, allocations: 0.847 MB / 1.116 GB, free: 12.95 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 1.535e-05/0.4698, allocations: 12 kB / 1.116 GB, free: 12.94 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002468/0.47, allocations: 206.7 kB / 1.116 GB, free: 12.73 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0002191/0.4702, allocations: 378.7 kB / 1.117 GB, free: 12.35 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001915/0.4704, allocations: 133.2 kB / 1.117 GB, free: 12.22 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007257/0.4712, allocations: 0.5874 MB / 1.117 GB, free: 11.4 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009368/0.4721, allocations: 0.7766 MB / 1.118 GB, free: 10.39 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.597e-06/0.4721, allocations: 4 kB / 1.118 GB, free: 10.39 MB / 0.8731 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001158/0.4733, allocations: 0.7001 MB / 1.119 GB, free: 9.684 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.877e-05/0.4733, allocations: 12 kB / 1.119 GB, free: 9.672 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.453e-05/0.4734, allocations: 16 kB / 1.119 GB, free: 9.656 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.862e-05/0.4734, allocations: 23.94 kB / 1.119 GB, free: 9.633 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002761/0.4737, allocations: 87.78 kB / 1.119 GB, free: 9.547 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.564e-05/0.4737, allocations: 32.45 kB / 1.119 GB, free: 9.516 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003275/0.4741, allocations: 91.06 kB / 1.119 GB, free: 9.426 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.531e-05/0.4741, allocations: 40 kB / 1.119 GB, free: 9.387 MB / 0.8731 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.001175/0.4753, allocations: 0.749 MB / 1.12 GB, free: 8.629 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001328/0.4754, allocations: 160.2 kB / 1.12 GB, free: 8.465 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001451/0.4756, allocations: 177 kB / 1.12 GB, free: 8.281 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.229e-05/0.4757, allocations: 180.3 kB / 1.12 GB, free: 8.098 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.265e-05/0.4758, allocations: 180.3 kB / 1.12 GB, free: 7.914 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.629e-05/0.4759, allocations: 184.2 kB / 1.121 GB, free: 7.727 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002041/0.4779, allocations: 1.608 MB / 1.122 GB, free: 6.059 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.136e-05/0.478, allocations: 104.9 kB / 1.122 GB, free: 5.949 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.491e-05/0.478, allocations: 105 kB / 1.122 GB, free: 5.84 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.608e-05/0.4781, allocations: 184.3 kB / 1.123 GB, free: 5.652 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.516e-05/0.4782, allocations: 180.2 kB / 1.123 GB, free: 5.469 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.818e-05/0.4783, allocations: 180.3 kB / 1.123 GB, free: 5.285 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.021e-05/0.4784, allocations: 184.2 kB / 1.123 GB, free: 5.098 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002076/0.4786, allocations: 355.3 kB / 1.123 GB, free: 4.727 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001725/0.4788, allocations: 233.3 kB / 1.124 GB, free: 4.473 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001049/0.4789, allocations: 180.2 kB / 1.124 GB, free: 4.289 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001069/0.479, allocations: 108.9 kB / 1.124 GB, free: 4.176 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.283e-05/0.4791, allocations: 176.3 kB / 1.124 GB, free: 3.996 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.078e-05/0.4791, allocations: 105 kB / 1.124 GB, free: 3.887 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0005788/0.4797, allocations: 0.499 MB / 1.125 GB, free: 3.391 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.515e-06/0.4797, allocations: 0 / 1.125 GB, free: 3.391 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001036/0.4808, allocations: 337.2 kB / 1.125 GB, free: 3.059 MB / 0.8731 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.0002051/0.481, allocations: 170.5 kB / 1.125 GB, free: 2.883 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0004975/0.4815, allocations: 287.7 kB / 1.125 GB, free: 2.605 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.4815, allocations: 0 / 1.125 GB, free: 2.605 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 8.376e-06/0.4815, allocations: 8.188 kB / 1.125 GB, free: 2.598 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006485/0.4822, allocations: 0.5721 MB / 1.126 GB, free: 2.023 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004459/0.4866, allocations: 2.976 MB / 1.129 GB, free: 15.01 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001291/0.4879, allocations: 1.388 MB / 1.13 GB, free: 13.59 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.000566/0.4885, allocations: 292.5 kB / 1.131 GB, free: 13.3 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.5e-05/0.4886, allocations: 35.44 kB / 1.131 GB, free: 13.27 MB / 0.8887 GB Notification: Performance of SimCode: time 4.7e-07/0.4886, allocations: 4 kB / 1.131 GB, free: 13.27 MB / 0.8887 GB Notification: Performance of Templates: time 0.01044/0.499, allocations: 2.507 MB / 1.133 GB, free: 10.77 MB / 0.8887 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=400 -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