Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.012/0.012, allocations: 101.3 kB / 15.73 MB, free: 6.031 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.001866/0.001865, allocations: 194.8 kB / 16.67 MB, free: 5.969 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.523/1.523, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.64/2.64, allocations: 390.2 MB / 0.6648 GB, free: 180 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001341/0.001341, allocations: 63.03 kB / 0.9508 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.423/0.4244, allocations: 140.4 MB / 1.088 GB, free: 1.527 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator): time 0.0034/0.4279, allocations: 1.212 MB / 1.089 GB, free: 320 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0008106/0.4287, allocations: 239.8 kB / 1.089 GB, free: 76 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001715/0.4289, allocations: 7.938 kB / 1.089 GB, free: 68 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.000377/0.4293, allocations: 115.4 kB / 1.089 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.000284/0.4296, allocations: 67.72 kB / 1.09 GB, free: 15.88 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001696/0.4298, allocations: 83.89 kB / 1.09 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0008679/0.4307, allocations: 0.7297 MB / 1.09 GB, free: 15.07 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002213/0.4329, allocations: 1.958 MB / 1.092 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006218/0.4335, allocations: 0.5495 MB / 1.093 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007666/0.4343, allocations: 0.6892 MB / 1.093 GB, free: 11.83 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0003626/0.4347, allocations: 116 kB / 1.094 GB, free: 11.71 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002202/0.4349, allocations: 116 kB / 1.094 GB, free: 11.6 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0007238/0.4356, allocations: 0.7211 MB / 1.094 GB, free: 10.88 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0008812/0.4365, allocations: 0.8276 MB / 1.095 GB, free: 10.05 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.002498/0.439, allocations: 2.503 MB / 1.098 GB, free: 7.535 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 9.768e-06/0.4391, allocations: 0 / 1.098 GB, free: 7.535 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.416e-06/0.4391, allocations: 0 / 1.098 GB, free: 7.535 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.902e-05/0.4391, allocations: 0 / 1.098 GB, free: 7.535 MB / 0.8575 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.002545/0.4417, allocations: 1.858 MB / 1.099 GB, free: 5.613 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.981e-05/0.4417, allocations: 12.02 kB / 1.099 GB, free: 5.602 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002761/0.442, allocations: 194.6 kB / 1.1 GB, free: 5.41 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001918/0.444, allocations: 0.9571 MB / 1.101 GB, free: 4.406 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001338/0.4441, allocations: 148.5 kB / 1.101 GB, free: 4.258 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002671/0.4444, allocations: 204.4 kB / 1.101 GB, free: 4.059 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004378/0.4488, allocations: 2.802 MB / 1.104 GB, free: 0.9688 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.685e-05/0.4488, allocations: 16.06 kB / 1.104 GB, free: 0.9531 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001972/0.449, allocations: 95.94 kB / 1.104 GB, free: 0.8594 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.248e-05/0.4491, allocations: 59.94 kB / 1.104 GB, free: 0.8008 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002613/0.4517, allocations: 1.635 MB / 1.105 GB, free: 15.16 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01046/0.4622, allocations: 10.46 MB / 1.116 GB, free: 4.359 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 9.027e-05/0.4623, allocations: 177.1 kB / 1.116 GB, free: 4.176 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.36e-05/0.4624, allocations: 88.02 kB / 1.116 GB, free: 4.086 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.923e-05/0.4624, allocations: 75.28 kB / 1.116 GB, free: 4.012 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.036e-05/0.4625, allocations: 109.8 kB / 1.116 GB, free: 3.895 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=0): time 2.164e-06/0.4625, allocations: 0 / 1.116 GB, free: 3.895 MB / 0.8731 GB Notification: Performance of matching and sorting (n=0): time 0.0001905/0.4627, allocations: 81.03 kB / 1.116 GB, free: 3.809 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.507e-05/0.4628, allocations: 130.7 kB / 1.116 GB, free: 3.668 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00102/0.4638, allocations: 0.9088 MB / 1.117 GB, free: 2.746 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 1.23e-05/0.4638, allocations: 25.7 kB / 1.117 GB, free: 2.715 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005265/0.4643, allocations: 0.8472 MB / 1.118 GB, free: 1.852 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 1.379e-05/0.4644, allocations: 11.98 kB / 1.118 GB, free: 1.84 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002831/0.4647, allocations: 279 kB / 1.118 GB, free: 1.562 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001551/0.4648, allocations: 370.8 kB / 1.119 GB, free: 1.191 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001652/0.465, allocations: 145.1 kB / 1.119 GB, free: 1.051 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004686/0.4655, allocations: 0.5795 MB / 1.119 GB, free: 248 kB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007206/0.4662, allocations: 0.7727 MB / 1.12 GB, free: 15.24 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.194e-06/0.4662, allocations: 4 kB / 1.12 GB, free: 15.23 MB / 0.8887 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001049/0.4673, allocations: 0.708 MB / 1.121 GB, free: 14.52 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 3.01e-05/0.4673, allocations: 12 kB / 1.121 GB, free: 14.51 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.234e-05/0.4673, allocations: 16 kB / 1.121 GB, free: 14.49 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.578e-05/0.4674, allocations: 20 kB / 1.121 GB, free: 14.47 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002541/0.4676, allocations: 87.77 kB / 1.121 GB, free: 14.39 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.653e-05/0.4677, allocations: 31.86 kB / 1.121 GB, free: 14.36 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003198/0.468, allocations: 91.06 kB / 1.121 GB, free: 14.27 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.39e-05/0.4681, allocations: 40.34 kB / 1.121 GB, free: 14.23 MB / 0.8887 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.0009532/0.469, allocations: 0.7529 MB / 1.122 GB, free: 13.46 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001068/0.4691, allocations: 156.3 kB / 1.122 GB, free: 13.3 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001157/0.4692, allocations: 169.3 kB / 1.122 GB, free: 13.13 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.199e-05/0.4693, allocations: 184.2 kB / 1.122 GB, free: 12.94 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.585e-05/0.4694, allocations: 180.3 kB / 1.122 GB, free: 12.76 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.282e-05/0.4695, allocations: 188.2 kB / 1.123 GB, free: 12.57 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001599/0.4711, allocations: 1.605 MB / 1.124 GB, free: 10.9 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.763e-05/0.4711, allocations: 104.9 kB / 1.124 GB, free: 10.79 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.515e-05/0.4712, allocations: 104.9 kB / 1.124 GB, free: 10.68 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.894e-05/0.4712, allocations: 184.2 kB / 1.125 GB, free: 10.5 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.678e-05/0.4713, allocations: 184.2 kB / 1.125 GB, free: 10.31 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.298e-05/0.4714, allocations: 176.3 kB / 1.125 GB, free: 10.13 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.449e-05/0.4714, allocations: 180.2 kB / 1.125 GB, free: 9.945 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001676/0.4716, allocations: 359.1 kB / 1.125 GB, free: 9.57 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001241/0.4717, allocations: 225.3 kB / 1.126 GB, free: 9.324 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.328e-05/0.4718, allocations: 180.3 kB / 1.126 GB, free: 9.141 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001039/0.4719, allocations: 112.9 kB / 1.126 GB, free: 9.023 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.807e-05/0.472, allocations: 184.2 kB / 1.126 GB, free: 8.836 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.929e-05/0.472, allocations: 105.3 kB / 1.126 GB, free: 8.727 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0005018/0.4726, allocations: 0.4951 MB / 1.127 GB, free: 8.234 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.41e-07/0.4726, allocations: 0 / 1.127 GB, free: 8.234 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0008662/0.4734, allocations: 329.3 kB / 1.127 GB, free: 7.91 MB / 0.8887 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.000157/0.4736, allocations: 192 kB / 1.127 GB, free: 7.715 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0004581/0.4741, allocations: 287.4 kB / 1.127 GB, free: 7.438 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.4741, allocations: 0 / 1.127 GB, free: 7.438 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 4.588e-06/0.4741, allocations: 3.938 kB / 1.127 GB, free: 7.434 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006781/0.4748, allocations: 0.4913 MB / 1.128 GB, free: 6.941 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00368/0.4785, allocations: 2.307 MB / 1.13 GB, free: 4.598 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001291/0.4798, allocations: 1.391 MB / 1.132 GB, free: 3.176 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0004767/0.4803, allocations: 292.5 kB / 1.132 GB, free: 2.887 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.024e-05/0.4803, allocations: 35.44 kB / 1.132 GB, free: 2.855 MB / 0.8887 GB Notification: Performance of SimCode: time 1.563e-06/0.4803, allocations: 0 / 1.132 GB, free: 2.855 MB / 0.8887 GB Notification: Performance of Templates: time 0.009439/0.4898, allocations: 2.65 MB / 1.134 GB, free: 220 kB / 0.8887 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_ZoneGroups_Validation_ZoneStatusDuplicator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches