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.008863/0.008863, allocations: 102.5 kB / 15.73 MB, free: 6.484 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.001675/0.001675, allocations: 190.1 kB / 16.67 MB, free: 6.379 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.562/1.562, allocations: 222.9 MB / 240.4 MB, free: 4.289 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.038/3.038, allocations: 461.9 MB / 0.7348 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001546/0.001546, allocations: 71.89 kB / 1.054 GB, free: 7.145 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5016/0.5032, allocations: 157.4 MB / 1.208 GB, free: 9.645 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator): time 0.003523/0.5067, allocations: 1.203 MB / 1.209 GB, free: 8.441 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0009485/0.5077, allocations: 243.8 kB / 1.209 GB, free: 8.203 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003026/0.5081, allocations: 11.88 kB / 1.209 GB, free: 8.191 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0003628/0.5084, allocations: 111.3 kB / 1.209 GB, free: 8.082 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0003492/0.5088, allocations: 67.72 kB / 1.209 GB, free: 8.016 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002197/0.5091, allocations: 75.92 kB / 1.209 GB, free: 7.941 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0009057/0.51, allocations: 0.7415 MB / 1.21 GB, free: 7.199 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002486/0.5125, allocations: 1.954 MB / 1.212 GB, free: 5.199 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00076/0.5133, allocations: 0.5495 MB / 1.213 GB, free: 4.648 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001045/0.5143, allocations: 0.6893 MB / 1.213 GB, free: 3.957 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0003232/0.5147, allocations: 116 kB / 1.213 GB, free: 3.844 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002468/0.5149, allocations: 116 kB / 1.213 GB, free: 3.73 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0007317/0.5157, allocations: 0.7327 MB / 1.214 GB, free: 2.996 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0008514/0.5165, allocations: 0.8198 MB / 1.215 GB, free: 2.172 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.002344/0.5189, allocations: 2.491 MB / 1.217 GB, free: 15.67 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 8.316e-06/0.5189, allocations: 11.88 kB / 1.217 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.745e-06/0.5189, allocations: 0 / 1.217 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.219e-05/0.5189, allocations: 0 / 1.217 GB, free: 15.66 MB / 0.9825 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.002492/0.5214, allocations: 1.868 MB / 1.219 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.853e-05/0.5215, allocations: 12.62 kB / 1.219 GB, free: 13.72 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002976/0.5218, allocations: 190.6 kB / 1.219 GB, free: 13.53 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002059/0.5239, allocations: 0.9494 MB / 1.22 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001247/0.524, allocations: 156.5 kB / 1.221 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002788/0.5243, allocations: 200.4 kB / 1.221 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00421/0.5285, allocations: 2.802 MB / 1.223 GB, free: 9.094 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.088e-05/0.5286, allocations: 12.06 kB / 1.223 GB, free: 9.082 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001829/0.5288, allocations: 95.94 kB / 1.224 GB, free: 8.988 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-05/0.5289, allocations: 56 kB / 1.224 GB, free: 8.934 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002668/0.5315, allocations: 1.635 MB / 1.225 GB, free: 7.297 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01021/0.5418, allocations: 10.46 MB / 1.235 GB, free: 12.49 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001244/0.542, allocations: 177.1 kB / 1.236 GB, free: 12.31 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.103e-05/0.542, allocations: 88.02 kB / 1.236 GB, free: 12.22 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.268e-05/0.5421, allocations: 75.28 kB / 1.236 GB, free: 12.14 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.863e-05/0.5421, allocations: 109.8 kB / 1.236 GB, free: 12.03 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 2.795e-06/0.5421, allocations: 3.938 kB / 1.236 GB, free: 12.02 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 0.0001845/0.5423, allocations: 81.05 kB / 1.236 GB, free: 11.94 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.14e-05/0.5424, allocations: 130.6 kB / 1.236 GB, free: 11.8 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001063/0.5435, allocations: 0.9165 MB / 1.237 GB, free: 10.87 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.494e-05/0.5435, allocations: 25.7 kB / 1.237 GB, free: 10.84 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005802/0.5441, allocations: 0.847 MB / 1.238 GB, free: 9.977 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.433e-05/0.5441, allocations: 11.98 kB / 1.238 GB, free: 9.965 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002932/0.5444, allocations: 279 kB / 1.238 GB, free: 9.688 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001928/0.5446, allocations: 374.8 kB / 1.238 GB, free: 9.312 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001902/0.5448, allocations: 137.2 kB / 1.239 GB, free: 9.176 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005889/0.5454, allocations: 0.5834 MB / 1.239 GB, free: 8.363 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008011/0.5462, allocations: 0.7767 MB / 1.24 GB, free: 7.355 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.619e-06/0.5463, allocations: 8 kB / 1.24 GB, free: 7.348 MB / 0.9981 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001034/0.5473, allocations: 0.7002 MB / 1.241 GB, free: 6.641 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.898e-05/0.5473, allocations: 12 kB / 1.241 GB, free: 6.629 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.963e-05/0.5474, allocations: 16 kB / 1.241 GB, free: 6.613 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.629e-05/0.5474, allocations: 20 kB / 1.241 GB, free: 6.594 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002481/0.5477, allocations: 83.78 kB / 1.241 GB, free: 6.512 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.935e-05/0.5477, allocations: 31.86 kB / 1.241 GB, free: 6.48 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003023/0.548, allocations: 91.56 kB / 1.241 GB, free: 6.391 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.294e-05/0.5481, allocations: 44 kB / 1.241 GB, free: 6.348 MB / 0.9981 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.0009792/0.549, allocations: 0.7529 MB / 1.242 GB, free: 5.586 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001117/0.5492, allocations: 160.2 kB / 1.242 GB, free: 5.422 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001108/0.5493, allocations: 169.2 kB / 1.242 GB, free: 5.246 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.905e-05/0.5494, allocations: 176.3 kB / 1.242 GB, free: 5.066 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.525e-05/0.5494, allocations: 184.2 kB / 1.242 GB, free: 4.879 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.177e-05/0.5495, allocations: 188.2 kB / 1.242 GB, free: 4.688 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001818/0.5514, allocations: 1.601 MB / 1.244 GB, free: 3.027 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.935e-05/0.5514, allocations: 104.9 kB / 1.244 GB, free: 2.918 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.597e-05/0.5515, allocations: 105 kB / 1.244 GB, free: 2.809 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.214e-05/0.5516, allocations: 180.2 kB / 1.244 GB, free: 2.625 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.214e-05/0.5517, allocations: 180.3 kB / 1.245 GB, free: 2.441 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.651e-05/0.5518, allocations: 176.3 kB / 1.245 GB, free: 2.262 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.534e-05/0.5518, allocations: 192.1 kB / 1.245 GB, free: 2.066 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002477/0.5521, allocations: 363 kB / 1.245 GB, free: 1.688 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001927/0.5523, allocations: 221.7 kB / 1.245 GB, free: 1.445 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001157/0.5524, allocations: 184.2 kB / 1.246 GB, free: 1.258 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001228/0.5526, allocations: 109 kB / 1.246 GB, free: 1.145 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001041/0.5527, allocations: 180.3 kB / 1.246 GB, free: 0.9609 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.029e-05/0.5527, allocations: 104.9 kB / 1.246 GB, free: 0.8516 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0005898/0.5533, allocations: 0.4951 MB / 1.246 GB, free: 368 kB / 0.9981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5533, allocations: 8 kB / 1.246 GB, free: 360 kB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001024/0.5544, allocations: 329.2 kB / 1.247 GB, free: 28 kB / 0.9981 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.9266/1.481, allocations: 172.8 kB / 1.247 GB, free: 37.64 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0007289/1.482, allocations: 289 kB / 1.247 GB, free: 37.63 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/1.482, allocations: 0.9062 kB / 1.247 GB, free: 37.63 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.813e-06/1.482, allocations: 0.875 kB / 1.247 GB, free: 37.63 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005621/1.482, allocations: 0.4965 MB / 1.248 GB, free: 37.18 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004076/1.486, allocations: 2.31 MB / 1.25 GB, free: 36.21 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001136/1.488, allocations: 1.393 MB / 1.251 GB, free: 35.5 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0004517/1.488, allocations: 294.1 kB / 1.252 GB, free: 35.5 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.59e-05/1.488, allocations: 36.84 kB / 1.252 GB, free: 35.49 MB / 0.9981 GB Notification: Performance of SimCode: time 7.51e-07/1.488, allocations: 0 / 1.252 GB, free: 35.49 MB / 0.9981 GB Notification: Performance of Templates: time 0.00899/1.497, allocations: 2.639 MB / 1.254 GB, free: 35.3 MB / 0.9981 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