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.01297/0.01297, allocations: 103.2 kB / 15.73 MB, free: 6.004 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.001939/0.001939, allocations: 191.3 kB / 16.67 MB, free: 5.93 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.568/1.568, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.647/2.647, allocations: 461.9 MB / 0.7348 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001278, allocations: 64.12 kB / 1.054 GB, free: 7.715 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.218/1.22, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator): time 0.003122/1.223, allocations: 1.205 MB / 1.209 GB, free: 12.42 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0006424/1.223, allocations: 231.8 kB / 1.209 GB, free: 12.2 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001591/1.224, allocations: 11.94 kB / 1.209 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0002785/1.224, allocations: 123.2 kB / 1.209 GB, free: 12.06 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0002207/1.224, allocations: 67.73 kB / 1.209 GB, free: 12 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001387/1.224, allocations: 83.89 kB / 1.209 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0007629/1.225, allocations: 0.7299 MB / 1.21 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002011/1.227, allocations: 1.957 MB / 1.212 GB, free: 9.176 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005518/1.228, allocations: 0.5456 MB / 1.213 GB, free: 8.629 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000675/1.228, allocations: 0.6932 MB / 1.213 GB, free: 7.934 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001718/1.228, allocations: 120 kB / 1.213 GB, free: 7.816 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001818/1.229, allocations: 116 kB / 1.213 GB, free: 7.703 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0005983/1.229, allocations: 0.7171 MB / 1.214 GB, free: 6.984 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.000699/1.23, allocations: 0.8237 MB / 1.215 GB, free: 6.156 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.002175/1.232, allocations: 2.501 MB / 1.217 GB, free: 3.652 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 9.107e-06/1.232, allocations: 0 / 1.217 GB, free: 3.652 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.805e-06/1.232, allocations: 0 / 1.217 GB, free: 3.652 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.621e-05/1.232, allocations: 0 / 1.217 GB, free: 3.652 MB / 0.9356 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.002587/1.235, allocations: 1.862 MB / 1.219 GB, free: 1.727 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 6.508e-05/1.235, allocations: 16.03 kB / 1.219 GB, free: 1.711 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000316/1.235, allocations: 198.5 kB / 1.219 GB, free: 1.516 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001454/1.237, allocations: 0.9455 MB / 1.22 GB, free: 0.5273 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001154/1.237, allocations: 152.5 kB / 1.22 GB, free: 384 kB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002297/1.237, allocations: 196.4 kB / 1.221 GB, free: 188 kB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003959/1.241, allocations: 2.802 MB / 1.223 GB, free: 13.09 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.824e-05/1.241, allocations: 8.125 kB / 1.223 GB, free: 13.09 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001758/1.241, allocations: 103.9 kB / 1.224 GB, free: 12.98 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.035e-05/1.241, allocations: 60 kB / 1.224 GB, free: 12.93 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002495/1.244, allocations: 1.642 MB / 1.225 GB, free: 11.28 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009733/1.254, allocations: 10.47 MB / 1.235 GB, free: 484 kB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001414/1.254, allocations: 169.1 kB / 1.236 GB, free: 304 kB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.42e-05/1.254, allocations: 84.08 kB / 1.236 GB, free: 216 kB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.533e-05/1.254, allocations: 75.28 kB / 1.236 GB, free: 140 kB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.331e-05/1.254, allocations: 121.8 kB / 1.236 GB, free: 8 kB / 0.9512 GB Notification: Performance of pre-optimization done (n=0): time 2.264e-06/1.254, allocations: 0 / 1.236 GB, free: 8 kB / 0.9512 GB Notification: Performance of matching and sorting (n=0): time 0.0001812/1.254, allocations: 77.09 kB / 1.236 GB, free: 15.92 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.734e-05/1.254, allocations: 126.7 kB / 1.236 GB, free: 15.79 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001085/1.255, allocations: 0.9164 MB / 1.237 GB, free: 14.86 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.205e-05/1.255, allocations: 29.69 kB / 1.237 GB, free: 14.83 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007669/1.256, allocations: 0.8432 MB / 1.238 GB, free: 13.97 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.908e-05/1.256, allocations: 15.92 kB / 1.238 GB, free: 13.95 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004056/1.257, allocations: 279 kB / 1.238 GB, free: 13.68 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001873/1.257, allocations: 374.8 kB / 1.238 GB, free: 13.3 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001719/1.257, allocations: 133.2 kB / 1.239 GB, free: 13.17 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000529/1.258, allocations: 0.5873 MB / 1.239 GB, free: 12.35 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007199/1.258, allocations: 0.7689 MB / 1.24 GB, free: 11.35 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.207e-06/1.258, allocations: 8 kB / 1.24 GB, free: 11.34 MB / 0.9669 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0009559/1.259, allocations: 0.6999 MB / 1.241 GB, free: 10.64 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.584e-05/1.259, allocations: 12 kB / 1.241 GB, free: 10.62 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.731e-05/1.259, allocations: 16 kB / 1.241 GB, free: 10.61 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.838e-05/1.259, allocations: 24.8 kB / 1.241 GB, free: 10.59 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002518/1.26, allocations: 87.77 kB / 1.241 GB, free: 10.5 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.82e-05/1.26, allocations: 35.86 kB / 1.241 GB, free: 10.46 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002961/1.26, allocations: 87.12 kB / 1.241 GB, free: 10.38 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.887e-05/1.26, allocations: 40 kB / 1.241 GB, free: 10.34 MB / 0.9669 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.0009473/1.261, allocations: 0.7568 MB / 1.242 GB, free: 9.574 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.314e-05/1.261, allocations: 156.3 kB / 1.242 GB, free: 9.414 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001113/1.261, allocations: 177.2 kB / 1.242 GB, free: 9.227 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.462e-05/1.261, allocations: 180.3 kB / 1.242 GB, free: 9.043 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.754e-05/1.261, allocations: 176.3 kB / 1.242 GB, free: 8.863 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.677e-05/1.261, allocations: 188.2 kB / 1.242 GB, free: 8.672 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001579/1.263, allocations: 1.605 MB / 1.244 GB, free: 7.008 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.892e-05/1.263, allocations: 104.9 kB / 1.244 GB, free: 6.898 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.952e-05/1.263, allocations: 113 kB / 1.244 GB, free: 6.781 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.693e-05/1.263, allocations: 176.3 kB / 1.244 GB, free: 6.602 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.569e-05/1.263, allocations: 180.2 kB / 1.245 GB, free: 6.418 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.458e-05/1.263, allocations: 176.3 kB / 1.245 GB, free: 6.238 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.171e-05/1.263, allocations: 184.2 kB / 1.245 GB, free: 6.051 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002141/1.264, allocations: 359.1 kB / 1.245 GB, free: 5.676 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001157/1.264, allocations: 225.3 kB / 1.245 GB, free: 5.43 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.131e-05/1.264, allocations: 184.3 kB / 1.246 GB, free: 5.242 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001059/1.264, allocations: 104.9 kB / 1.246 GB, free: 5.133 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.682e-05/1.264, allocations: 180.2 kB / 1.246 GB, free: 4.949 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.509e-05/1.264, allocations: 108.9 kB / 1.246 GB, free: 4.836 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0004976/1.265, allocations: 0.4989 MB / 1.246 GB, free: 4.34 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.5e-07/1.265, allocations: 7.938 kB / 1.246 GB, free: 4.332 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0008918/1.265, allocations: 329.3 kB / 1.247 GB, free: 4.008 MB / 0.9669 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.0001917/1.266, allocations: 170.5 kB / 1.247 GB, free: 3.832 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0004394/1.266, allocations: 291.8 kB / 1.247 GB, free: 3.551 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 6.883e-06/1.266, allocations: 4.062 kB / 1.247 GB, free: 3.547 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 4.509e-06/1.266, allocations: 4 kB / 1.247 GB, free: 3.543 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006358/1.267, allocations: 494.6 kB / 1.248 GB, free: 3.059 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003657/1.27, allocations: 2.315 MB / 1.25 GB, free: 0.7109 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001239/1.272, allocations: 1.395 MB / 1.251 GB, free: 15.29 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0004632/1.272, allocations: 300.4 kB / 1.252 GB, free: 14.99 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.113e-05/1.272, allocations: 35.44 kB / 1.252 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of SimCode: time 7.61e-07/1.272, allocations: 0 / 1.252 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of Templates: time 0.00992/1.282, allocations: 2.624 MB / 1.254 GB, free: 12.34 MB / 0.9825 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