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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001593/0.001593, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001976/0.001976, allocations: 195 kB / 16.14 MB, free: 6.648 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.452/1.452, allocations: 222.9 MB / 239.8 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.922/2.922, allocations: 461.8 MB / 0.7342 GB, free: 15 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001274/0.001275, allocations: 64.73 kB / 0.8984 GB, free: 37.32 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3502/0.3515, allocations: 157.4 MB / 1.052 GB, free: 8.824 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator): time 0.002567/0.3541, allocations: 1.255 MB / 1.053 GB, free: 7.566 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0005788/0.3547, allocations: 231.8 kB / 1.054 GB, free: 7.34 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001197/0.3549, allocations: 11.88 kB / 1.054 GB, free: 7.328 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0002526/0.3551, allocations: 103.4 kB / 1.054 GB, free: 7.227 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002025/0.3553, allocations: 55.8 kB / 1.054 GB, free: 7.172 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001311/0.3555, allocations: 75.89 kB / 1.054 GB, free: 7.098 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0007198/0.3562, allocations: 0.765 MB / 1.055 GB, free: 6.332 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001841/0.3581, allocations: 1.907 MB / 1.056 GB, free: 4.383 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004178/0.3585, allocations: 470.7 kB / 1.057 GB, free: 3.922 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006535/0.3591, allocations: 0.6853 MB / 1.058 GB, free: 3.234 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0001487/0.3593, allocations: 76 kB / 1.058 GB, free: 3.16 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001636/0.3595, allocations: 76 kB / 1.058 GB, free: 3.086 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0005678/0.36, allocations: 0.6625 MB / 1.058 GB, free: 2.422 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0006983/0.3608, allocations: 0.7455 MB / 1.059 GB, free: 1.672 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.001741/0.3625, allocations: 2.317 MB / 1.061 GB, free: 15.35 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.3625, allocations: 0 / 1.061 GB, free: 15.35 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.493e-06/0.3625, allocations: 0 / 1.061 GB, free: 15.35 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.914e-05/0.3626, allocations: 0 / 1.061 GB, free: 15.35 MB / 0.8262 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.00213/0.3647, allocations: 1.866 MB / 1.063 GB, free: 13.42 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.345e-05/0.3648, allocations: 8.031 kB / 1.063 GB, free: 13.41 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002991/0.3651, allocations: 202.6 kB / 1.063 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001324/0.3664, allocations: 0.9533 MB / 1.064 GB, free: 12.21 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001164/0.3665, allocations: 148.5 kB / 1.064 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002237/0.3668, allocations: 196.4 kB / 1.065 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003575/0.3703, allocations: 2.802 MB / 1.067 GB, free: 8.785 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.833e-05/0.3704, allocations: 12.06 kB / 1.067 GB, free: 8.773 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001832/0.3706, allocations: 95.94 kB / 1.067 GB, free: 8.68 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.26e-05/0.3706, allocations: 60 kB / 1.067 GB, free: 8.621 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00232/0.373, allocations: 1.635 MB / 1.069 GB, free: 6.984 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008617/0.3816, allocations: 10.47 MB / 1.079 GB, free: 12.18 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 9.635e-05/0.3817, allocations: 169.1 kB / 1.079 GB, free: 12 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.783e-05/0.3818, allocations: 84.08 kB / 1.08 GB, free: 11.91 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.882e-05/0.3818, allocations: 75.28 kB / 1.08 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.944e-05/0.3819, allocations: 113.8 kB / 1.08 GB, free: 11.72 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=0): time 3.447e-06/0.3819, allocations: 7.922 kB / 1.08 GB, free: 11.71 MB / 0.8419 GB Notification: Performance of matching and sorting (n=0): time 0.0001399/0.382, allocations: 84.94 kB / 1.08 GB, free: 11.62 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.234e-05/0.3821, allocations: 126.7 kB / 1.08 GB, free: 11.48 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009465/0.3831, allocations: 0.9088 MB / 1.081 GB, free: 10.57 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.104e-05/0.3831, allocations: 25.7 kB / 1.081 GB, free: 10.54 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005052/0.3836, allocations: 0.8472 MB / 1.082 GB, free: 9.672 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.172e-05/0.3836, allocations: 11.98 kB / 1.082 GB, free: 9.66 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002474/0.3839, allocations: 279 kB / 1.082 GB, free: 9.383 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001454/0.384, allocations: 370.8 kB / 1.082 GB, free: 9.012 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001639/0.3842, allocations: 137.2 kB / 1.082 GB, free: 8.879 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004955/0.3847, allocations: 0.5834 MB / 1.083 GB, free: 8.062 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007226/0.3854, allocations: 0.7728 MB / 1.084 GB, free: 7.059 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.103e-06/0.3854, allocations: 4 kB / 1.084 GB, free: 7.055 MB / 0.8419 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0009182/0.3864, allocations: 0.7076 MB / 1.084 GB, free: 6.34 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.909e-05/0.3864, allocations: 12.94 kB / 1.084 GB, free: 6.328 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.576e-05/0.3864, allocations: 19.94 kB / 1.084 GB, free: 6.309 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.902e-05/0.3865, allocations: 24.69 kB / 1.085 GB, free: 6.285 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002147/0.3867, allocations: 91.7 kB / 1.085 GB, free: 6.195 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.484e-05/0.3867, allocations: 35.86 kB / 1.085 GB, free: 6.16 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002787/0.387, allocations: 91.06 kB / 1.085 GB, free: 6.07 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.814e-05/0.387, allocations: 40 kB / 1.085 GB, free: 6.031 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.0008137/0.3879, allocations: 0.7467 MB / 1.085 GB, free: 5.277 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.603e-05/0.388, allocations: 160.2 kB / 1.086 GB, free: 5.113 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001109/0.3881, allocations: 165.3 kB / 1.086 GB, free: 4.941 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001028/0.3882, allocations: 192.2 kB / 1.086 GB, free: 4.746 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001009/0.3883, allocations: 176.3 kB / 1.086 GB, free: 4.566 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.713e-05/0.3884, allocations: 180.3 kB / 1.086 GB, free: 4.383 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002238/0.3906, allocations: 1.608 MB / 1.088 GB, free: 2.715 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.682e-05/0.3907, allocations: 101.1 kB / 1.088 GB, free: 2.609 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.08e-05/0.3908, allocations: 108.9 kB / 1.088 GB, free: 2.496 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001158/0.3909, allocations: 188.3 kB / 1.088 GB, free: 2.305 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.201e-05/0.391, allocations: 180.2 kB / 1.088 GB, free: 2.121 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001084/0.3911, allocations: 180.2 kB / 1.089 GB, free: 1.938 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.000116/0.3913, allocations: 176.3 kB / 1.089 GB, free: 1.758 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003025/0.3916, allocations: 367 kB / 1.089 GB, free: 1.375 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001717/0.3917, allocations: 217.4 kB / 1.089 GB, free: 1.137 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000135/0.3919, allocations: 184.2 kB / 1.09 GB, free: 0.9492 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001441/0.392, allocations: 105 kB / 1.09 GB, free: 0.8398 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.649e-05/0.3921, allocations: 184.2 kB / 1.09 GB, free: 0.6523 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.712e-05/0.3922, allocations: 105 kB / 1.09 GB, free: 0.543 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.000696/0.3929, allocations: 0.499 MB / 1.09 GB, free: 48 kB / 0.8419 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3929, allocations: 0 / 1.09 GB, free: 48 kB / 0.8419 GB Notification: Performance of remove unused functions: time 0.001183/0.3941, allocations: 333.4 kB / 1.091 GB, free: 15.71 MB / 0.8575 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.0001842/0.3943, allocations: 170.5 kB / 1.091 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.00048/0.3948, allocations: 291.6 kB / 1.091 GB, free: 15.26 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.3948, allocations: 4.25 kB / 1.091 GB, free: 15.26 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 3.727e-06/0.3948, allocations: 0 / 1.091 GB, free: 15.26 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006842/0.3955, allocations: 0.5663 MB / 1.092 GB, free: 14.69 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003944/0.3995, allocations: 2.988 MB / 1.095 GB, free: 11.66 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001163/0.4006, allocations: 1.396 MB / 1.096 GB, free: 10.24 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.000485/0.4011, allocations: 288.5 kB / 1.096 GB, free: 9.953 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.141e-05/0.4012, allocations: 39.44 kB / 1.096 GB, free: 9.914 MB / 0.8575 GB Notification: Performance of SimCode: time 1.052e-06/0.4012, allocations: 0 / 1.096 GB, free: 9.914 MB / 0.8575 GB Notification: Performance of Templates: time 0.009339/0.4106, allocations: 2.494 MB / 1.099 GB, free: 7.43 MB / 0.8575 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 -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/jenkins/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