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.001578/0.001579, allocations: 110.2 kB / 16.37 MB, free: 6.016 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.001663/0.001663, allocations: 197.4 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.466/1.466, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.711/2.711, allocations: 442.6 MB / 0.7165 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001538/0.001538, allocations: 64.19 kB / 0.8774 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3547/0.3563, allocations: 153 MB / 1.027 GB, free: 2.051 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator): time 0.002437/0.3587, allocations: 1.21 MB / 1.028 GB, free: 0.8438 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0004784/0.3592, allocations: 239.8 kB / 1.028 GB, free: 0.6094 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.523e-05/0.3593, allocations: 15.88 kB / 1.028 GB, free: 0.5938 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0002124/0.3596, allocations: 115.2 kB / 1.028 GB, free: 492 kB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0001786/0.3597, allocations: 63.73 kB / 1.028 GB, free: 428 kB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001149/0.3599, allocations: 79.91 kB / 1.028 GB, free: 348 kB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0006495/0.3605, allocations: 0.7376 MB / 1.029 GB, free: 15.6 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001794/0.3623, allocations: 1.958 MB / 1.031 GB, free: 13.59 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004372/0.3628, allocations: 0.5494 MB / 1.032 GB, free: 13.04 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006179/0.3634, allocations: 0.6932 MB / 1.032 GB, free: 12.35 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0001602/0.3636, allocations: 116 kB / 1.032 GB, free: 12.23 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001492/0.3637, allocations: 116 kB / 1.032 GB, free: 12.12 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0005859/0.3643, allocations: 0.7327 MB / 1.033 GB, free: 11.39 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0007211/0.365, allocations: 0.8198 MB / 1.034 GB, free: 10.56 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.001761/0.3668, allocations: 2.491 MB / 1.036 GB, free: 8.062 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.3668, allocations: 4 kB / 1.036 GB, free: 8.059 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.573e-06/0.3668, allocations: 0 / 1.036 GB, free: 8.059 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 2.303e-05/0.3669, allocations: 0 / 1.036 GB, free: 8.059 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.001833/0.3687, allocations: 1.87 MB / 1.038 GB, free: 6.125 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.026e-05/0.3688, allocations: 12.03 kB / 1.038 GB, free: 6.113 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002621/0.369, allocations: 194.6 kB / 1.038 GB, free: 5.922 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001795/0.3708, allocations: 0.9493 MB / 1.039 GB, free: 4.93 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.86e-05/0.3709, allocations: 156.5 kB / 1.04 GB, free: 4.773 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002182/0.3712, allocations: 196.4 kB / 1.04 GB, free: 4.582 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003276/0.3744, allocations: 2.802 MB / 1.042 GB, free: 1.496 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.642e-05/0.3745, allocations: 12.06 kB / 1.042 GB, free: 1.484 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001614/0.3747, allocations: 91.94 kB / 1.043 GB, free: 1.395 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.131e-05/0.3747, allocations: 56 kB / 1.043 GB, free: 1.34 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002181/0.3769, allocations: 1.635 MB / 1.044 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008005/0.3849, allocations: 10.47 MB / 1.054 GB, free: 4.895 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 8.651e-05/0.385, allocations: 169.1 kB / 1.055 GB, free: 4.719 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.39e-05/0.3851, allocations: 96 kB / 1.055 GB, free: 4.621 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.099e-05/0.3851, allocations: 79.28 kB / 1.055 GB, free: 4.543 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.211e-05/0.3852, allocations: 105.8 kB / 1.055 GB, free: 4.43 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 1.473e-06/0.3852, allocations: 0 / 1.055 GB, free: 4.43 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 0.0001304/0.3853, allocations: 77.05 kB / 1.055 GB, free: 4.348 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.185e-05/0.3854, allocations: 126.7 kB / 1.055 GB, free: 4.211 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009119/0.3863, allocations: 0.9166 MB / 1.056 GB, free: 3.281 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.216e-05/0.3863, allocations: 25.7 kB / 1.056 GB, free: 3.25 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005365/0.3868, allocations: 0.8472 MB / 1.057 GB, free: 2.387 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.2e-05/0.3869, allocations: 11.98 kB / 1.057 GB, free: 2.375 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002483/0.3871, allocations: 271 kB / 1.057 GB, free: 2.102 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001373/0.3873, allocations: 374.8 kB / 1.057 GB, free: 1.727 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001594/0.3874, allocations: 141.1 kB / 1.058 GB, free: 1.59 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004817/0.3879, allocations: 0.5873 MB / 1.058 GB, free: 0.7695 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006949/0.3886, allocations: 0.7766 MB / 1.059 GB, free: 15.76 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.115e-05/0.3886, allocations: 8 kB / 1.059 GB, free: 15.75 MB / 0.8419 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0009832/0.3896, allocations: 0.7005 MB / 1.06 GB, free: 15.05 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.945e-05/0.3897, allocations: 15.94 kB / 1.06 GB, free: 15.03 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.045e-05/0.3897, allocations: 16.09 kB / 1.06 GB, free: 15.02 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.225e-05/0.3897, allocations: 24 kB / 1.06 GB, free: 14.99 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002262/0.39, allocations: 87.77 kB / 1.06 GB, free: 14.91 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.148e-05/0.39, allocations: 35.84 kB / 1.06 GB, free: 14.87 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000302/0.3903, allocations: 87.06 kB / 1.06 GB, free: 14.79 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.03e-05/0.3904, allocations: 40 kB / 1.06 GB, free: 14.75 MB / 0.8419 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.001102/0.3915, allocations: 0.7607 MB / 1.061 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001188/0.3916, allocations: 156.3 kB / 1.061 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001164/0.3917, allocations: 173.3 kB / 1.061 GB, free: 13.63 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.809e-05/0.3918, allocations: 180.2 kB / 1.061 GB, free: 13.45 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.76e-05/0.3919, allocations: 176.3 kB / 1.061 GB, free: 13.27 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.115e-05/0.392, allocations: 184.2 kB / 1.061 GB, free: 13.08 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001621/0.3936, allocations: 1.601 MB / 1.063 GB, free: 11.42 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.084e-05/0.3937, allocations: 108.9 kB / 1.063 GB, free: 11.31 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.411e-05/0.3937, allocations: 109 kB / 1.063 GB, free: 11.2 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.957e-05/0.3938, allocations: 180.3 kB / 1.063 GB, free: 11.01 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.129e-05/0.3939, allocations: 180.2 kB / 1.064 GB, free: 10.83 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.769e-05/0.3939, allocations: 176.3 kB / 1.064 GB, free: 10.65 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.631e-05/0.394, allocations: 184.2 kB / 1.064 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001679/0.3942, allocations: 359.1 kB / 1.064 GB, free: 10.09 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001499/0.3943, allocations: 225.3 kB / 1.064 GB, free: 9.84 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001035/0.3944, allocations: 184.3 kB / 1.065 GB, free: 9.652 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000113/0.3946, allocations: 112.9 kB / 1.065 GB, free: 9.535 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.811e-05/0.3946, allocations: 180.3 kB / 1.065 GB, free: 9.352 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.608e-05/0.3947, allocations: 101.3 kB / 1.065 GB, free: 9.246 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0004935/0.3952, allocations: 0.499 MB / 1.066 GB, free: 8.75 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.6e-07/0.3952, allocations: 4 kB / 1.066 GB, free: 8.746 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0008587/0.3961, allocations: 325.3 kB / 1.066 GB, free: 8.426 MB / 0.8419 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.0001365/0.3962, allocations: 174.5 kB / 1.066 GB, free: 8.246 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0004031/0.3966, allocations: 295.1 kB / 1.066 GB, free: 7.961 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/0.3966, allocations: 0 / 1.066 GB, free: 7.961 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 4.729e-06/0.3966, allocations: 7.938 kB / 1.066 GB, free: 7.953 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005069/0.3971, allocations: 0.4916 MB / 1.067 GB, free: 7.461 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00317/0.4003, allocations: 2.315 MB / 1.069 GB, free: 5.113 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00109/0.4014, allocations: 1.388 MB / 1.07 GB, free: 3.695 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0004631/0.4019, allocations: 300.4 kB / 1.071 GB, free: 3.398 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.92e-05/0.402, allocations: 35.44 kB / 1.071 GB, free: 3.363 MB / 0.8419 GB Notification: Performance of SimCode: time 4.31e-07/0.402, allocations: 0 / 1.071 GB, free: 3.363 MB / 0.8419 GB Notification: Performance of Templates: time 0.00875/0.4107, allocations: 2.557 MB / 1.073 GB, free: 0.8164 MB / 0.8419 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 -s cvode -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/jenkins1/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