Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.001678/0.001678, allocations: 104.9 kB / 16.27 MB, free: 6.414 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.001929/0.001929, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.492/1.492, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.782/2.782, allocations: 437.1 MB / 0.711 GB, free: 4.457 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001916/0.001916, allocations: 71.19 kB / 0.8699 GB, free: 2.176 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3173/0.3192, allocations: 151.6 MB / 1.018 GB, free: 10.61 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator): time 0.002658/0.3219, allocations: 1.192 MB / 1.019 GB, free: 9.414 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0005398/0.3225, allocations: 239.8 kB / 1.019 GB, free: 9.18 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.098e-05/0.3226, allocations: 15.88 kB / 1.019 GB, free: 9.164 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0002435/0.3228, allocations: 115.3 kB / 1.02 GB, free: 9.051 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0001888/0.323, allocations: 63.73 kB / 1.02 GB, free: 8.988 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001353/0.3232, allocations: 87.89 kB / 1.02 GB, free: 8.902 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0007126/0.3239, allocations: 0.726 MB / 1.02 GB, free: 8.176 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002025/0.3259, allocations: 1.961 MB / 1.022 GB, free: 6.168 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005131/0.3264, allocations: 0.5456 MB / 1.023 GB, free: 5.621 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007222/0.3272, allocations: 0.6892 MB / 1.023 GB, free: 4.93 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0001901/0.3274, allocations: 116 kB / 1.024 GB, free: 4.816 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002017/0.3276, allocations: 120 kB / 1.024 GB, free: 4.699 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0006491/0.3282, allocations: 0.7172 MB / 1.024 GB, free: 3.98 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0007975/0.329, allocations: 0.8237 MB / 1.025 GB, free: 3.152 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.002198/0.3312, allocations: 2.384 MB / 1.028 GB, free: 0.7617 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 6.251e-06/0.3313, allocations: 0 / 1.028 GB, free: 0.7617 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.572e-06/0.3313, allocations: 0 / 1.028 GB, free: 0.7617 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.318e-05/0.3313, allocations: 0 / 1.028 GB, free: 0.7617 MB / 0.795 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.002381/0.3337, allocations: 1.869 MB / 1.029 GB, free: 14.83 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.483e-05/0.3338, allocations: 8.922 kB / 1.029 GB, free: 14.82 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002985/0.3341, allocations: 194.6 kB / 1.03 GB, free: 14.63 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001441/0.3355, allocations: 0.9533 MB / 1.031 GB, free: 13.63 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001175/0.3357, allocations: 148.5 kB / 1.031 GB, free: 13.48 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002384/0.3359, allocations: 200.4 kB / 1.031 GB, free: 13.29 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003863/0.3398, allocations: 2.802 MB / 1.034 GB, free: 10.2 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.345e-05/0.3398, allocations: 12.06 kB / 1.034 GB, free: 10.19 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00018/0.34, allocations: 95.94 kB / 1.034 GB, free: 10.09 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.921e-05/0.3401, allocations: 56 kB / 1.034 GB, free: 10.04 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00256/0.3426, allocations: 1.643 MB / 1.035 GB, free: 8.395 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009593/0.3523, allocations: 10.47 MB / 1.046 GB, free: 13.58 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001107/0.3524, allocations: 169.1 kB / 1.046 GB, free: 13.41 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.594e-05/0.3524, allocations: 84.08 kB / 1.046 GB, free: 13.32 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.644e-05/0.3525, allocations: 79.22 kB / 1.046 GB, free: 13.24 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.784e-05/0.3526, allocations: 113.8 kB / 1.046 GB, free: 13.12 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 1.883e-06/0.3526, allocations: 0 / 1.046 GB, free: 13.12 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 0.0001446/0.3527, allocations: 80.95 kB / 1.046 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.879e-05/0.3528, allocations: 134.7 kB / 1.046 GB, free: 12.89 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001067/0.3539, allocations: 0.9088 MB / 1.047 GB, free: 11.97 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.729e-05/0.3539, allocations: 25.7 kB / 1.047 GB, free: 11.94 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006115/0.3545, allocations: 0.8432 MB / 1.048 GB, free: 11.08 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.661e-05/0.3545, allocations: 11.98 kB / 1.048 GB, free: 11.07 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003212/0.3549, allocations: 275 kB / 1.048 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000192/0.3551, allocations: 374.8 kB / 1.049 GB, free: 10.42 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000192/0.3553, allocations: 141.2 kB / 1.049 GB, free: 10.28 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005619/0.3558, allocations: 0.5756 MB / 1.049 GB, free: 9.473 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008534/0.3567, allocations: 0.7806 MB / 1.05 GB, free: 8.461 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.884e-06/0.3567, allocations: 4 kB / 1.05 GB, free: 8.457 MB / 0.8262 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001071/0.3578, allocations: 0.7042 MB / 1.051 GB, free: 7.746 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.026e-05/0.3578, allocations: 19.88 kB / 1.051 GB, free: 7.727 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.944e-05/0.3578, allocations: 19.94 kB / 1.051 GB, free: 7.707 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.621e-05/0.3579, allocations: 24 kB / 1.051 GB, free: 7.684 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002181/0.3581, allocations: 83.77 kB / 1.051 GB, free: 7.602 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.718e-05/0.3582, allocations: 31.88 kB / 1.051 GB, free: 7.57 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003057/0.3585, allocations: 91.06 kB / 1.051 GB, free: 7.48 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.249e-05/0.3585, allocations: 43.98 kB / 1.051 GB, free: 7.438 MB / 0.8262 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.001081/0.3596, allocations: 0.7578 MB / 1.052 GB, free: 6.672 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001201/0.3597, allocations: 156.3 kB / 1.052 GB, free: 6.512 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001269/0.3599, allocations: 165.3 kB / 1.052 GB, free: 6.34 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.971e-05/0.3599, allocations: 184.2 kB / 1.052 GB, free: 6.152 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.156e-05/0.36, allocations: 180.3 kB / 1.052 GB, free: 5.969 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.452e-05/0.3601, allocations: 188.2 kB / 1.053 GB, free: 5.777 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001791/0.3619, allocations: 1.605 MB / 1.054 GB, free: 4.113 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.567e-05/0.362, allocations: 101 kB / 1.054 GB, free: 4.008 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.754e-05/0.362, allocations: 104.9 kB / 1.054 GB, free: 3.898 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.89e-05/0.3621, allocations: 176.3 kB / 1.055 GB, free: 3.719 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.441e-05/0.3622, allocations: 188.2 kB / 1.055 GB, free: 3.527 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.649e-05/0.3623, allocations: 180.3 kB / 1.055 GB, free: 3.344 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.953e-05/0.3624, allocations: 176.3 kB / 1.055 GB, free: 3.164 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002162/0.3626, allocations: 359 kB / 1.055 GB, free: 2.789 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000146/0.3627, allocations: 225.4 kB / 1.056 GB, free: 2.543 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.935e-05/0.3628, allocations: 184.3 kB / 1.056 GB, free: 2.355 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001063/0.363, allocations: 105 kB / 1.056 GB, free: 2.246 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.355e-05/0.363, allocations: 180.2 kB / 1.056 GB, free: 2.062 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.182e-05/0.3631, allocations: 105 kB / 1.056 GB, free: 1.953 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0006025/0.3637, allocations: 0.4951 MB / 1.057 GB, free: 1.461 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3637, allocations: 0 / 1.057 GB, free: 1.461 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0009295/0.3646, allocations: 325.3 kB / 1.057 GB, free: 1.141 MB / 0.8262 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.0001681/0.3648, allocations: 186.5 kB / 1.057 GB, free: 0.9492 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004513/0.3653, allocations: 291.8 kB / 1.057 GB, free: 0.668 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.3653, allocations: 0 / 1.057 GB, free: 0.668 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 4.097e-06/0.3653, allocations: 3.938 kB / 1.057 GB, free: 0.6641 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000593/0.3659, allocations: 0.4913 MB / 1.058 GB, free: 176 kB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003536/0.3694, allocations: 2.465 MB / 1.06 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001173/0.3706, allocations: 1.391 MB / 1.062 GB, free: 12.24 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.16e-05/0.3707, allocations: 43.38 kB / 1.062 GB, free: 12.2 MB / 0.8419 GB Notification: Performance of SimCode: time 7.92e-07/0.3707, allocations: 4 kB / 1.062 GB, free: 12.2 MB / 0.8419 GB Notification: Performance of Templates: time 0.02037/0.3911, allocations: 11.19 MB / 1.073 GB, free: 0.9961 MB / 0.8419 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator.makefile (rm -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator.sim & ./Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_ASHRAE_G36_ZoneGroups_Validation_ZoneStatusDuplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches