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.001509/0.001509, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001655/0.001655, allocations: 193.2 kB / 16.14 MB, free: 6.645 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.483/1.483, allocations: 222.9 MB / 239.8 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.993/2.993, allocations: 472.7 MB / 0.7447 GB, free: 4.945 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00133/0.00133, allocations: 63.62 kB / 0.9114 GB, free: 33.56 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4006/0.4019, allocations: 159.9 MB / 1.068 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator): time 0.003365/0.4054, allocations: 1.249 MB / 1.069 GB, free: 9.613 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0007843/0.4062, allocations: 235.7 kB / 1.069 GB, free: 9.383 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000261/0.4065, allocations: 7.938 kB / 1.069 GB, free: 9.375 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0003344/0.4068, allocations: 95.42 kB / 1.069 GB, free: 9.281 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002799/0.4071, allocations: 75.72 kB / 1.069 GB, free: 9.207 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001737/0.4073, allocations: 71.94 kB / 1.069 GB, free: 9.137 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0008352/0.4082, allocations: 0.7611 MB / 1.07 GB, free: 8.371 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002544/0.4107, allocations: 1.915 MB / 1.072 GB, free: 6.41 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005585/0.4113, allocations: 462.7 kB / 1.072 GB, free: 5.957 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008962/0.4122, allocations: 0.6893 MB / 1.073 GB, free: 5.266 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0002762/0.4125, allocations: 72 kB / 1.073 GB, free: 5.195 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002368/0.4127, allocations: 72 kB / 1.073 GB, free: 5.125 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0007687/0.4135, allocations: 0.6664 MB / 1.074 GB, free: 4.457 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.001134/0.4146, allocations: 0.7377 MB / 1.075 GB, free: 3.715 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.002326/0.417, allocations: 2.317 MB / 1.077 GB, free: 1.391 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 7.645e-06/0.417, allocations: 0 / 1.077 GB, free: 1.391 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.282e-06/0.417, allocations: 0 / 1.077 GB, free: 1.391 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 0.0001351/0.4172, allocations: 4 kB / 1.077 GB, free: 1.387 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.003832/0.421, allocations: 1.871 MB / 1.079 GB, free: 15.45 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 5.115e-05/0.4211, allocations: 8.031 kB / 1.079 GB, free: 15.45 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003392/0.4214, allocations: 198.5 kB / 1.079 GB, free: 15.25 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001466/0.4229, allocations: 0.9494 MB / 1.08 GB, free: 14.26 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000119/0.423, allocations: 156.5 kB / 1.08 GB, free: 14.11 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002313/0.4232, allocations: 196.4 kB / 1.08 GB, free: 13.91 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004132/0.4274, allocations: 2.81 MB / 1.083 GB, free: 10.82 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.003e-05/0.4274, allocations: 8.125 kB / 1.083 GB, free: 10.81 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001857/0.4276, allocations: 91.94 kB / 1.083 GB, free: 10.72 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.104e-05/0.4277, allocations: 56 kB / 1.083 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002629/0.4303, allocations: 1.642 MB / 1.085 GB, free: 9.02 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009978/0.4403, allocations: 10.47 MB / 1.095 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000124/0.4405, allocations: 169.1 kB / 1.095 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.023e-05/0.4405, allocations: 88.08 kB / 1.095 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.193e-05/0.4406, allocations: 75.28 kB / 1.095 GB, free: 13.87 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.219e-05/0.4406, allocations: 105.8 kB / 1.095 GB, free: 13.76 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 2.475e-06/0.4407, allocations: 4 kB / 1.095 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 0.0001758/0.4408, allocations: 73.05 kB / 1.095 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.595e-05/0.4409, allocations: 130.7 kB / 1.095 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001145/0.4421, allocations: 0.9243 MB / 1.096 GB, free: 12.6 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.527e-05/0.4421, allocations: 29.64 kB / 1.096 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006234/0.4427, allocations: 0.8472 MB / 1.097 GB, free: 11.7 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.755e-05/0.4428, allocations: 11.98 kB / 1.097 GB, free: 11.69 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003313/0.4431, allocations: 271 kB / 1.097 GB, free: 11.42 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.000171/0.4433, allocations: 370.8 kB / 1.098 GB, free: 11.05 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001797/0.4435, allocations: 137.2 kB / 1.098 GB, free: 10.92 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004967/0.444, allocations: 0.5912 MB / 1.098 GB, free: 10.1 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008521/0.4448, allocations: 0.7766 MB / 1.099 GB, free: 9.09 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.246e-05/0.4449, allocations: 4 kB / 1.099 GB, free: 9.086 MB / 0.8575 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001115/0.446, allocations: 0.7006 MB / 1.1 GB, free: 8.379 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.805e-05/0.446, allocations: 16.06 kB / 1.1 GB, free: 8.363 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.302e-05/0.4461, allocations: 16 kB / 1.1 GB, free: 8.348 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.373e-05/0.4461, allocations: 24 kB / 1.1 GB, free: 8.324 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002306/0.4463, allocations: 79.78 kB / 1.1 GB, free: 8.246 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.1e-05/0.4464, allocations: 35.86 kB / 1.1 GB, free: 8.211 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003462/0.4467, allocations: 83.06 kB / 1.1 GB, free: 8.129 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.899e-05/0.4468, allocations: 40 kB / 1.1 GB, free: 8.09 MB / 0.8575 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.001099/0.4479, allocations: 0.7622 MB / 1.101 GB, free: 7.32 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001511/0.448, allocations: 160.3 kB / 1.101 GB, free: 7.156 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001294/0.4482, allocations: 173 kB / 1.101 GB, free: 6.973 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.375e-05/0.4483, allocations: 176.3 kB / 1.101 GB, free: 6.793 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.879e-05/0.4483, allocations: 184.2 kB / 1.102 GB, free: 6.605 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-05/0.4484, allocations: 180.2 kB / 1.102 GB, free: 6.422 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002119/0.4505, allocations: 1.605 MB / 1.103 GB, free: 4.758 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.666e-05/0.4506, allocations: 112.9 kB / 1.103 GB, free: 4.641 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.99e-05/0.4507, allocations: 101 kB / 1.104 GB, free: 4.535 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.817e-05/0.4508, allocations: 184.3 kB / 1.104 GB, free: 4.348 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.695e-05/0.4508, allocations: 180.2 kB / 1.104 GB, free: 4.164 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.944e-05/0.4509, allocations: 188.5 kB / 1.104 GB, free: 3.973 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-05/0.451, allocations: 188.2 kB / 1.104 GB, free: 3.781 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002288/0.4512, allocations: 355 kB / 1.105 GB, free: 3.41 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001651/0.4514, allocations: 225.3 kB / 1.105 GB, free: 3.164 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001018/0.4515, allocations: 180.3 kB / 1.105 GB, free: 2.98 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001178/0.4516, allocations: 108.9 kB / 1.105 GB, free: 2.867 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.155e-05/0.4517, allocations: 176.3 kB / 1.105 GB, free: 2.688 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.773e-05/0.4518, allocations: 108.9 kB / 1.105 GB, free: 2.574 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0005895/0.4524, allocations: 0.499 MB / 1.106 GB, free: 2.078 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.41e-07/0.4524, allocations: 0 / 1.106 GB, free: 2.078 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.001091/0.4535, allocations: 325.3 kB / 1.106 GB, free: 1.758 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.0001616/0.4537, allocations: 182.5 kB / 1.106 GB, free: 1.57 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0005239/0.4542, allocations: 294.4 kB / 1.107 GB, free: 1.285 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.4542, allocations: 0 / 1.107 GB, free: 1.285 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 4.919e-06/0.4542, allocations: 0 / 1.107 GB, free: 1.285 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005986/0.4548, allocations: 0.5663 MB / 1.107 GB, free: 0.7188 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004652/0.4595, allocations: 2.973 MB / 1.11 GB, free: 13.71 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001544/0.4611, allocations: 1.388 MB / 1.111 GB, free: 12.29 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0005891/0.4617, allocations: 296.5 kB / 1.112 GB, free: 12 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.609e-05/0.4617, allocations: 35.44 kB / 1.112 GB, free: 11.96 MB / 0.8731 GB Notification: Performance of SimCode: time 1.403e-06/0.4618, allocations: 0 / 1.112 GB, free: 11.96 MB / 0.8731 GB Notification: Performance of Templates: time 0.01072/0.4725, allocations: 2.5 MB / 1.114 GB, free: 9.473 MB / 0.8731 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