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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.00148/0.00148, allocations: 115.5 kB / 16.37 MB, free: 6.004 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.001666/0.001666, allocations: 195.6 kB / 17.31 MB, free: 5.613 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.384/1.384, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.501/2.501, allocations: 437.1 MB / 0.7112 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001315/0.001315, allocations: 65.34 kB / 0.8707 GB, free: 1.449 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3566/0.358, allocations: 151.6 MB / 1.019 GB, free: 9.863 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator): time 0.003528/0.3616, allocations: 1.203 MB / 1.02 GB, free: 8.652 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0008085/0.3624, allocations: 247.8 kB / 1.02 GB, free: 8.41 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001594/0.3626, allocations: 11.88 kB / 1.02 GB, free: 8.398 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0003339/0.3629, allocations: 107.3 kB / 1.02 GB, free: 8.293 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0002678/0.3632, allocations: 71.72 kB / 1.02 GB, free: 8.223 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001648/0.3634, allocations: 79.91 kB / 1.02 GB, free: 8.145 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0009561/0.3644, allocations: 0.7337 MB / 1.021 GB, free: 7.41 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002402/0.3668, allocations: 1.961 MB / 1.023 GB, free: 5.402 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008188/0.3676, allocations: 0.5533 MB / 1.024 GB, free: 4.848 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007609/0.3684, allocations: 0.6855 MB / 1.024 GB, free: 4.16 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0001902/0.3686, allocations: 116 kB / 1.024 GB, free: 4.047 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001979/0.3688, allocations: 116 kB / 1.025 GB, free: 3.934 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0007153/0.3695, allocations: 0.7249 MB / 1.025 GB, free: 3.207 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0007622/0.3703, allocations: 0.8237 MB / 1.026 GB, free: 2.379 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.001996/0.3723, allocations: 2.507 MB / 1.028 GB, free: 15.86 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 8.306e-06/0.3723, allocations: 7.984 kB / 1.029 GB, free: 15.86 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.225e-06/0.3723, allocations: 0 / 1.029 GB, free: 15.86 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 2.853e-05/0.3724, allocations: 0 / 1.029 GB, free: 15.86 MB / 0.8106 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.00222/0.3746, allocations: 1.866 MB / 1.03 GB, free: 13.93 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.622e-05/0.3747, allocations: 8.922 kB / 1.03 GB, free: 13.92 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002689/0.3749, allocations: 194.6 kB / 1.031 GB, free: 13.73 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00188/0.3768, allocations: 0.9494 MB / 1.031 GB, free: 12.73 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001292/0.377, allocations: 156.5 kB / 1.032 GB, free: 12.57 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002431/0.3772, allocations: 196.4 kB / 1.032 GB, free: 12.38 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00368/0.3809, allocations: 2.802 MB / 1.035 GB, free: 9.297 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.922e-05/0.381, allocations: 12.06 kB / 1.035 GB, free: 9.285 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001695/0.3811, allocations: 95.94 kB / 1.035 GB, free: 9.191 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.601e-05/0.3812, allocations: 56 kB / 1.035 GB, free: 9.137 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002357/0.3835, allocations: 1.635 MB / 1.036 GB, free: 7.5 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00904/0.3926, allocations: 10.47 MB / 1.046 GB, free: 12.69 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001103/0.3927, allocations: 169.1 kB / 1.047 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.607e-05/0.3928, allocations: 84.08 kB / 1.047 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 4.11e-05/0.3928, allocations: 79.28 kB / 1.047 GB, free: 12.35 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.901e-05/0.3929, allocations: 105.8 kB / 1.047 GB, free: 12.24 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 2.264e-06/0.3929, allocations: 0 / 1.047 GB, free: 12.24 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 0.0001607/0.3931, allocations: 88.89 kB / 1.047 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.464e-05/0.3931, allocations: 130.7 kB / 1.047 GB, free: 12 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00097/0.3941, allocations: 0.9127 MB / 1.048 GB, free: 11.08 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.174e-05/0.3941, allocations: 25.7 kB / 1.048 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005932/0.3947, allocations: 0.8432 MB / 1.049 GB, free: 10.19 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.414e-05/0.3947, allocations: 12 kB / 1.049 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002807/0.395, allocations: 275 kB / 1.049 GB, free: 9.902 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001754/0.3952, allocations: 374.8 kB / 1.049 GB, free: 9.527 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001628/0.3954, allocations: 133.2 kB / 1.05 GB, free: 9.398 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004961/0.3959, allocations: 0.5834 MB / 1.05 GB, free: 8.582 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008891/0.3968, allocations: 0.7806 MB / 1.051 GB, free: 7.57 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.388e-06/0.3968, allocations: 4 kB / 1.051 GB, free: 7.566 MB / 0.8262 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001008/0.3978, allocations: 0.7041 MB / 1.052 GB, free: 6.855 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.556e-05/0.3979, allocations: 12 kB / 1.052 GB, free: 6.844 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.942e-05/0.3979, allocations: 20 kB / 1.052 GB, free: 6.824 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.543e-05/0.3979, allocations: 20 kB / 1.052 GB, free: 6.805 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002269/0.3981, allocations: 91.66 kB / 1.052 GB, free: 6.715 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.762e-05/0.3982, allocations: 31.86 kB / 1.052 GB, free: 6.684 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003135/0.3985, allocations: 87.06 kB / 1.052 GB, free: 6.598 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.517e-05/0.3986, allocations: 48.38 kB / 1.052 GB, free: 6.551 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.0008441/0.3994, allocations: 0.7574 MB / 1.053 GB, free: 5.785 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001107/0.3995, allocations: 160.2 kB / 1.053 GB, free: 5.621 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001224/0.3997, allocations: 165.3 kB / 1.053 GB, free: 5.449 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.796e-05/0.3997, allocations: 180.3 kB / 1.053 GB, free: 5.266 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.836e-05/0.3998, allocations: 180.2 kB / 1.053 GB, free: 5.082 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.511e-05/0.3999, allocations: 184.2 kB / 1.054 GB, free: 4.895 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00168/0.4016, allocations: 1.608 MB / 1.055 GB, free: 3.227 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.94e-05/0.4016, allocations: 105 kB / 1.055 GB, free: 3.117 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.461e-05/0.4017, allocations: 101 kB / 1.055 GB, free: 3.012 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.88e-05/0.4018, allocations: 180.2 kB / 1.055 GB, free: 2.828 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001008/0.4019, allocations: 184.3 kB / 1.056 GB, free: 2.641 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.091e-05/0.402, allocations: 184.2 kB / 1.056 GB, free: 2.453 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.577e-05/0.4021, allocations: 176.3 kB / 1.056 GB, free: 2.273 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002307/0.4023, allocations: 359 kB / 1.056 GB, free: 1.898 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001624/0.4025, allocations: 225.4 kB / 1.057 GB, free: 1.652 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001189/0.4026, allocations: 188.2 kB / 1.057 GB, free: 1.461 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000104/0.4027, allocations: 101 kB / 1.057 GB, free: 1.355 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001068/0.4028, allocations: 188.2 kB / 1.057 GB, free: 1.164 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.191e-05/0.4029, allocations: 101.3 kB / 1.057 GB, free: 1.059 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0005445/0.4034, allocations: 0.4951 MB / 1.058 GB, free: 0.5664 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.71e-07/0.4034, allocations: 0 / 1.058 GB, free: 0.5664 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.00101/0.4045, allocations: 333.3 kB / 1.058 GB, free: 244 kB / 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.0001759/0.4046, allocations: 174.5 kB / 1.058 GB, free: 60 kB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004316/0.4051, allocations: 295.3 kB / 1.058 GB, free: 15.77 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.4051, allocations: 0 / 1.058 GB, free: 15.77 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 2.034e-06/0.4051, allocations: 0.6875 kB / 1.058 GB, free: 15.77 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000572/0.4057, allocations: 0.4923 MB / 1.059 GB, free: 15.28 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003199/0.4089, allocations: 2.319 MB / 1.061 GB, free: 12.92 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001197/0.4101, allocations: 1.395 MB / 1.062 GB, free: 11.5 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0004951/0.4106, allocations: 292.5 kB / 1.063 GB, free: 11.21 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.893e-05/0.4107, allocations: 35.44 kB / 1.063 GB, free: 11.17 MB / 0.8419 GB Notification: Performance of SimCode: time 1.764e-06/0.4107, allocations: 0 / 1.063 GB, free: 11.17 MB / 0.8419 GB Notification: Performance of Templates: time 0.009257/0.4199, allocations: 2.566 MB / 1.065 GB, free: 8.621 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 -s gbode -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