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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001323/0.001323, allocations: 99.08 kB / 15.05 MB, free: 1.105 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.001447/0.001447, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 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: 223.2 MB / 239.9 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.808/2.808, allocations: 436.5 MB / 0.7104 GB, free: 7.824 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003721/0.0003721, allocations: 12 kB / 0.8708 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8433/0.8437, allocations: 153.7 MB / 1.021 GB, free: 1.125 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator): time 0.001512/0.8453, allocations: 0.8565 MB / 1.022 GB, free: 272 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.000486/0.8458, allocations: 227.8 kB / 1.022 GB, free: 44 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001058/0.8459, allocations: 11.88 kB / 1.022 GB, free: 32 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0002273/0.8461, allocations: 107.5 kB / 1.022 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.000174/0.8463, allocations: 71.78 kB / 1.022 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001108/0.8464, allocations: 59.94 kB / 1.022 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0004048/0.8468, allocations: 372.2 kB / 1.022 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001347/0.8482, allocations: 1.477 MB / 1.024 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001442/0.8483, allocations: 175.1 kB / 1.024 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001516/0.8485, allocations: 202.8 kB / 1.024 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.124e-05/0.8485, allocations: 12 kB / 1.024 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 4.101e-05/0.8486, allocations: 12 kB / 1.024 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.000414/0.849, allocations: 0.526 MB / 1.025 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001776/0.8492, allocations: 260.8 kB / 1.025 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.001383/0.8506, allocations: 1.923 MB / 1.027 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.025e-06/0.8506, allocations: 0 / 1.027 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.234e-06/0.8506, allocations: 0 / 1.027 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.952e-05/0.8506, allocations: 0 / 1.027 GB, free: 10.82 MB / 0.7794 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.001597/0.8522, allocations: 1.483 MB / 1.028 GB, free: 9.281 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.513e-05/0.8523, allocations: 15.98 kB / 1.028 GB, free: 9.266 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002488/0.8525, allocations: 193.7 kB / 1.029 GB, free: 9.074 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001661/0.8542, allocations: 0.9367 MB / 1.03 GB, free: 8.094 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001075/0.8543, allocations: 152.1 kB / 1.03 GB, free: 7.941 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002133/0.8545, allocations: 196 kB / 1.03 GB, free: 7.75 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003403/0.8579, allocations: 2.778 MB / 1.033 GB, free: 4.688 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.868e-05/0.858, allocations: 11.88 kB / 1.033 GB, free: 4.676 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001715/0.8582, allocations: 92 kB / 1.033 GB, free: 4.586 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.816e-05/0.8582, allocations: 56 kB / 1.033 GB, free: 4.531 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002237/0.8605, allocations: 1.619 MB / 1.034 GB, free: 2.91 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008736/0.8692, allocations: 10.47 MB / 1.045 GB, free: 8.102 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001202/0.8694, allocations: 169.1 kB / 1.045 GB, free: 7.926 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 3.704e-05/0.8694, allocations: 75.28 kB / 1.045 GB, free: 7.852 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.887e-05/0.8695, allocations: 113.7 kB / 1.045 GB, free: 7.73 MB / 0.795 GB Notification: Performance of pre-optimization done (n=0): time 2.354e-06/0.8695, allocations: 4 kB / 1.045 GB, free: 7.727 MB / 0.795 GB Notification: Performance of matching and sorting (n=0): time 0.0001729/0.8697, allocations: 77.08 kB / 1.045 GB, free: 7.645 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.702e-05/0.8698, allocations: 130.7 kB / 1.045 GB, free: 7.504 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001081/0.8709, allocations: 0.9087 MB / 1.046 GB, free: 6.586 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.357e-05/0.8709, allocations: 25.7 kB / 1.046 GB, free: 6.555 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005967/0.8715, allocations: 0.851 MB / 1.047 GB, free: 5.688 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.337e-05/0.8715, allocations: 11.98 kB / 1.047 GB, free: 5.676 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.807e-05/0.8715, allocations: 8 kB / 1.047 GB, free: 5.668 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.000206/0.8718, allocations: 382.8 kB / 1.047 GB, free: 5.285 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001796/0.8719, allocations: 129.2 kB / 1.047 GB, free: 5.156 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005453/0.8725, allocations: 0.5834 MB / 1.048 GB, free: 4.344 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003341/0.8728, allocations: 279.6 kB / 1.048 GB, free: 4.07 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.536e-06/0.8729, allocations: 4 kB / 1.048 GB, free: 4.066 MB / 0.795 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.000894/0.8738, allocations: 0.6885 MB / 1.049 GB, free: 3.371 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.902e-05/0.8738, allocations: 12 kB / 1.049 GB, free: 3.359 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.255e-05/0.8738, allocations: 23.95 kB / 1.049 GB, free: 3.336 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.412e-05/0.8739, allocations: 24 kB / 1.049 GB, free: 3.312 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000219/0.8741, allocations: 99.64 kB / 1.049 GB, free: 3.215 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.754e-05/0.8741, allocations: 27.92 kB / 1.049 GB, free: 3.188 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002758/0.8744, allocations: 83.56 kB / 1.049 GB, free: 3.105 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.823e-05/0.8744, allocations: 44 kB / 1.049 GB, free: 3.062 MB / 0.795 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009084/0.8754, allocations: 0.7568 MB / 1.05 GB, free: 2.293 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.364e-05/0.8755, allocations: 152.3 kB / 1.05 GB, free: 2.137 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001078/0.8756, allocations: 173.2 kB / 1.05 GB, free: 1.953 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.485e-05/0.8756, allocations: 184.2 kB / 1.05 GB, free: 1.766 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.468e-05/0.8757, allocations: 184.2 kB / 1.051 GB, free: 1.578 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.3e-05/0.8758, allocations: 180.3 kB / 1.051 GB, free: 1.395 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001795/0.8776, allocations: 1.601 MB / 1.052 GB, free: 15.73 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.276e-05/0.8777, allocations: 108.9 kB / 1.052 GB, free: 15.62 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.274e-05/0.8777, allocations: 105 kB / 1.052 GB, free: 15.51 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.776e-05/0.8778, allocations: 180.2 kB / 1.053 GB, free: 15.33 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.37e-05/0.8779, allocations: 180.3 kB / 1.053 GB, free: 15.14 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.409e-05/0.8779, allocations: 180.3 kB / 1.053 GB, free: 14.96 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.861e-05/0.878, allocations: 188.2 kB / 1.053 GB, free: 14.77 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001898/0.8782, allocations: 351.1 kB / 1.053 GB, free: 14.4 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001453/0.8784, allocations: 229.3 kB / 1.054 GB, free: 14.15 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001012/0.8785, allocations: 184.2 kB / 1.054 GB, free: 13.96 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.877e-05/0.8786, allocations: 105 kB / 1.054 GB, free: 13.86 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.342e-05/0.8787, allocations: 180.2 kB / 1.054 GB, free: 13.67 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.974e-05/0.8787, allocations: 104.9 kB / 1.054 GB, free: 13.56 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.00049/0.8792, allocations: 0.4912 MB / 1.055 GB, free: 13.08 MB / 0.8106 GB Notification: Performance of sort global known variables: time 3.01e-07/0.8792, allocations: 0 / 1.055 GB, free: 13.08 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0008629/0.8801, allocations: 337.3 kB / 1.055 GB, free: 12.75 MB / 0.8106 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.0001754/0.8803, allocations: 170.5 kB / 1.055 GB, free: 12.57 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0004177/0.8807, allocations: 287.1 kB / 1.055 GB, free: 12.29 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.8807, allocations: 0.8125 kB / 1.055 GB, free: 12.29 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.261e-05/0.8807, allocations: 4 kB / 1.055 GB, free: 12.29 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004817/0.8812, allocations: 0.565 MB / 1.056 GB, free: 11.72 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003932/0.8851, allocations: 2.815 MB / 1.059 GB, free: 8.867 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00103/0.8862, allocations: 1.431 MB / 1.06 GB, free: 7.406 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0004592/0.8867, allocations: 292.5 kB / 1.06 GB, free: 7.121 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.625e-05/0.8867, allocations: 35.44 kB / 1.061 GB, free: 7.086 MB / 0.8106 GB Notification: Performance of SimCode: time 1.102e-06/0.8867, allocations: 3.938 kB / 1.061 GB, free: 7.082 MB / 0.8106 GB Notification: Performance of Templates: time 0.00813/0.8948, allocations: 2.501 MB / 1.063 GB, free: 4.59 MB / 0.8106 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","../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches