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.001567/0.001567, allocations: 103.2 kB / 16.35 MB, free: 5.828 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.001744/0.001744, allocations: 193.2 kB / 17.29 MB, free: 5.484 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.379/1.379, 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.499/2.499, allocations: 437.1 MB / 0.7112 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001443/0.001444, allocations: 67.38 kB / 0.8707 GB, free: 1.445 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3669/0.3683, allocations: 151.6 MB / 1.019 GB, free: 9.844 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator): time 0.002875/0.3712, allocations: 1.2 MB / 1.02 GB, free: 8.637 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0005896/0.3719, allocations: 235.8 kB / 1.02 GB, free: 8.406 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001078/0.372, allocations: 19.88 kB / 1.02 GB, free: 8.387 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.000257/0.3722, allocations: 115.3 kB / 1.02 GB, free: 8.273 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0002045/0.3725, allocations: 67.67 kB / 1.02 GB, free: 8.207 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001317/0.3726, allocations: 79.89 kB / 1.02 GB, free: 8.129 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0007571/0.3734, allocations: 0.7376 MB / 1.021 GB, free: 7.391 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001925/0.3753, allocations: 1.95 MB / 1.023 GB, free: 5.395 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005543/0.3759, allocations: 0.5456 MB / 1.024 GB, free: 4.848 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006781/0.3765, allocations: 0.7009 MB / 1.024 GB, free: 4.145 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0001582/0.3767, allocations: 116 kB / 1.024 GB, free: 4.031 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001788/0.3769, allocations: 116 kB / 1.025 GB, free: 3.918 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0005998/0.3775, allocations: 0.7211 MB / 1.025 GB, free: 3.195 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0007687/0.3783, allocations: 0.8237 MB / 1.026 GB, free: 2.367 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.001949/0.3802, allocations: 2.503 MB / 1.028 GB, free: 15.86 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.3802, allocations: 0 / 1.028 GB, free: 15.86 MB / 0.8106 GB Notification: Performance of FrontEnd: time 3.437e-06/0.3803, allocations: 4 kB / 1.028 GB, free: 15.85 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.39e-05/0.3803, allocations: 0 / 1.028 GB, free: 15.85 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.002073/0.3824, allocations: 1.866 MB / 1.03 GB, free: 13.92 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.3824, allocations: 8.922 kB / 1.03 GB, free: 13.91 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002633/0.3827, allocations: 194.6 kB / 1.031 GB, free: 13.72 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001861/0.3846, allocations: 0.9456 MB / 1.031 GB, free: 12.73 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001178/0.3847, allocations: 152.5 kB / 1.032 GB, free: 12.58 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002362/0.3849, allocations: 200.4 kB / 1.032 GB, free: 12.38 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003558/0.3885, allocations: 2.802 MB / 1.034 GB, free: 9.297 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.72e-05/0.3886, allocations: 8.125 kB / 1.035 GB, free: 9.289 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000164/0.3887, allocations: 95.92 kB / 1.035 GB, free: 9.195 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.936e-05/0.3888, allocations: 56 kB / 1.035 GB, free: 9.141 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00226/0.391, allocations: 1.646 MB / 1.036 GB, free: 7.492 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00905/0.4001, allocations: 10.46 MB / 1.046 GB, free: 12.69 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001135/0.4003, allocations: 181.1 kB / 1.047 GB, free: 12.5 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.951e-05/0.4003, allocations: 84.08 kB / 1.047 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 9.59e-05/0.4004, allocations: 79.27 kB / 1.047 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.377e-05/0.4005, allocations: 105.8 kB / 1.047 GB, free: 12.22 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 2.174e-06/0.4005, allocations: 0 / 1.047 GB, free: 12.22 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 0.0001607/0.4006, allocations: 80.95 kB / 1.047 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.012e-05/0.4007, allocations: 130.7 kB / 1.047 GB, free: 12 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009963/0.4017, allocations: 0.9165 MB / 1.048 GB, free: 11.07 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.566e-05/0.4017, allocations: 25.7 kB / 1.048 GB, free: 11.04 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006353/0.4024, allocations: 0.8471 MB / 1.049 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.296e-05/0.4024, allocations: 11.98 kB / 1.049 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002829/0.4027, allocations: 271 kB / 1.049 GB, free: 9.891 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001936/0.4029, allocations: 374.8 kB / 1.049 GB, free: 9.516 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001785/0.4031, allocations: 133.2 kB / 1.05 GB, free: 9.387 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005164/0.4036, allocations: 0.5912 MB / 1.05 GB, free: 8.562 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007407/0.4044, allocations: 0.7766 MB / 1.051 GB, free: 7.555 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.184e-06/0.4044, allocations: 4 kB / 1.051 GB, free: 7.551 MB / 0.8262 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.00103/0.4054, allocations: 0.7042 MB / 1.052 GB, free: 6.84 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.799e-05/0.4055, allocations: 12 kB / 1.052 GB, free: 6.828 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.1e-05/0.4055, allocations: 16 kB / 1.052 GB, free: 6.812 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.508e-05/0.4055, allocations: 23.98 kB / 1.052 GB, free: 6.789 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002167/0.4057, allocations: 91.77 kB / 1.052 GB, free: 6.699 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.612e-05/0.4058, allocations: 31.86 kB / 1.052 GB, free: 6.668 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003147/0.4061, allocations: 87.06 kB / 1.052 GB, free: 6.582 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.163e-05/0.4062, allocations: 40 kB / 1.052 GB, free: 6.543 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.001024/0.4072, allocations: 0.7571 MB / 1.053 GB, free: 5.777 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001372/0.4073, allocations: 152.3 kB / 1.053 GB, free: 5.621 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001363/0.4075, allocations: 177.2 kB / 1.053 GB, free: 5.438 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.004e-05/0.4076, allocations: 180.3 kB / 1.053 GB, free: 5.254 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.61e-05/0.4077, allocations: 180.3 kB / 1.053 GB, free: 5.07 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.977e-05/0.4077, allocations: 184.2 kB / 1.053 GB, free: 4.883 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001691/0.4094, allocations: 1.605 MB / 1.055 GB, free: 3.219 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.993e-05/0.4095, allocations: 104.9 kB / 1.055 GB, free: 3.109 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.762e-05/0.4095, allocations: 105 kB / 1.055 GB, free: 3 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001252/0.4097, allocations: 184.2 kB / 1.055 GB, free: 2.812 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001082/0.4098, allocations: 180.2 kB / 1.056 GB, free: 2.629 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.985e-05/0.4099, allocations: 184.3 kB / 1.056 GB, free: 2.441 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.42e-05/0.4099, allocations: 180.2 kB / 1.056 GB, free: 2.258 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003032/0.4102, allocations: 363 kB / 1.056 GB, free: 1.879 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001511/0.4104, allocations: 217.4 kB / 1.057 GB, free: 1.641 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001249/0.4105, allocations: 184.3 kB / 1.057 GB, free: 1.453 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001097/0.4107, allocations: 108.9 kB / 1.057 GB, free: 1.34 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001135/0.4108, allocations: 180.2 kB / 1.057 GB, free: 1.156 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.207e-05/0.4108, allocations: 105.2 kB / 1.057 GB, free: 1.047 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.000549/0.4114, allocations: 0.499 MB / 1.058 GB, free: 0.5508 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4114, allocations: 0 / 1.058 GB, free: 0.5508 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.001036/0.4124, allocations: 329.3 kB / 1.058 GB, free: 232 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.0001494/0.4126, allocations: 174.5 kB / 1.058 GB, free: 48 kB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004399/0.413, allocations: 291.6 kB / 1.058 GB, free: 15.77 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.413, allocations: 0 / 1.058 GB, free: 15.77 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 4.248e-06/0.413, allocations: 4 kB / 1.058 GB, free: 15.76 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006004/0.4137, allocations: 0.4911 MB / 1.059 GB, free: 15.27 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003388/0.417, allocations: 2.311 MB / 1.061 GB, free: 12.92 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001229/0.4183, allocations: 1.395 MB / 1.062 GB, free: 11.5 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0005341/0.4188, allocations: 296.5 kB / 1.063 GB, free: 11.2 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.404e-05/0.4189, allocations: 35.44 kB / 1.063 GB, free: 11.17 MB / 0.8419 GB Notification: Performance of SimCode: time 6.51e-07/0.4189, allocations: 0 / 1.063 GB, free: 11.17 MB / 0.8419 GB Notification: Performance of Templates: time 0.00967/0.4286, allocations: 2.558 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 cvode -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