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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001374/0.001374, allocations: 115.2 kB / 16.42 MB, free: 6.457 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.001483/0.001483, allocations: 183.9 kB / 17.35 MB, free: 5.734 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.392/1.392, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.473/2.473, allocations: 437.1 MB / 0.7112 GB, free: 4.422 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00145/0.001451, allocations: 59.91 kB / 1.019 GB, free: 9.477 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.145/1.147, allocations: 151.6 MB / 1.167 GB, free: 3.922 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator): time 0.003071/1.15, allocations: 1.201 MB / 1.168 GB, free: 2.719 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0007979/1.151, allocations: 239.8 kB / 1.169 GB, free: 2.484 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003502/1.151, allocations: 15.88 kB / 1.169 GB, free: 2.469 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0004047/1.152, allocations: 119.3 kB / 1.169 GB, free: 2.352 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0003901/1.152, allocations: 63.73 kB / 1.169 GB, free: 2.289 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002679/1.152, allocations: 83.89 kB / 1.169 GB, free: 2.207 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0009057/1.153, allocations: 0.7338 MB / 1.17 GB, free: 1.473 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00252/1.156, allocations: 1.954 MB / 1.172 GB, free: 15.47 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006901/1.157, allocations: 0.5494 MB / 1.172 GB, free: 14.92 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001032/1.158, allocations: 0.6893 MB / 1.173 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0004059/1.158, allocations: 116 kB / 1.173 GB, free: 14.11 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004226/1.158, allocations: 116 kB / 1.173 GB, free: 14 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0008333/1.159, allocations: 0.721 MB / 1.174 GB, free: 13.28 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.001313/1.161, allocations: 0.8237 MB / 1.175 GB, free: 12.45 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.002759/1.163, allocations: 2.51 MB / 1.177 GB, free: 9.934 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 7.364e-06/1.163, allocations: 0 / 1.177 GB, free: 9.934 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.254e-06/1.163, allocations: 0 / 1.177 GB, free: 9.934 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 0.000114/1.163, allocations: 0 / 1.177 GB, free: 9.934 MB / 0.9044 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.0037/1.167, allocations: 1.914 MB / 1.179 GB, free: 7.953 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.019e-05/1.167, allocations: 12.92 kB / 1.179 GB, free: 7.941 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003101/1.168, allocations: 199.7 kB / 1.179 GB, free: 7.746 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001453/1.169, allocations: 0.9576 MB / 1.18 GB, free: 6.742 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001242/1.169, allocations: 156.5 kB / 1.18 GB, free: 6.586 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002535/1.169, allocations: 196.4 kB / 1.18 GB, free: 6.395 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003899/1.173, allocations: 2.806 MB / 1.183 GB, free: 3.301 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.498e-05/1.173, allocations: 16.05 kB / 1.183 GB, free: 3.285 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001706/1.174, allocations: 91.94 kB / 1.183 GB, free: 3.195 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.349e-05/1.174, allocations: 56 kB / 1.183 GB, free: 3.141 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002305/1.176, allocations: 1.639 MB / 1.185 GB, free: 1.5 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009047/1.185, allocations: 10.5 MB / 1.195 GB, free: 6.656 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001087/1.185, allocations: 177.1 kB / 1.195 GB, free: 6.473 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.533e-05/1.185, allocations: 88.02 kB / 1.195 GB, free: 6.383 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 3.539e-05/1.185, allocations: 75.28 kB / 1.195 GB, free: 6.309 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.66e-05/1.185, allocations: 105.8 kB / 1.196 GB, free: 6.195 MB / 0.92 GB Notification: Performance of pre-optimization done (n=0): time 3.086e-06/1.185, allocations: 0 / 1.196 GB, free: 6.195 MB / 0.92 GB Notification: Performance of matching and sorting (n=0): time 0.0001692/1.185, allocations: 85.27 kB / 1.196 GB, free: 6.105 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.066e-05/1.186, allocations: 55.41 kB / 1.196 GB, free: 6.039 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001037/1.187, allocations: 0.9211 MB / 1.197 GB, free: 5.109 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.468e-05/1.187, allocations: 29.64 kB / 1.197 GB, free: 5.074 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006679/1.187, allocations: 0.8739 MB / 1.197 GB, free: 4.188 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.551e-05/1.187, allocations: 11.98 kB / 1.197 GB, free: 4.176 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003172/1.188, allocations: 275.1 kB / 1.198 GB, free: 3.902 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001938/1.188, allocations: 374.8 kB / 1.198 GB, free: 3.527 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001685/1.188, allocations: 133.2 kB / 1.198 GB, free: 3.398 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005429/1.189, allocations: 0.5951 MB / 1.199 GB, free: 2.574 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007529/1.189, allocations: 0.7688 MB / 1.2 GB, free: 1.574 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.987e-06/1.189, allocations: 12 kB / 1.2 GB, free: 1.562 MB / 0.92 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0009797/1.19, allocations: 0.6969 MB / 1.2 GB, free: 0.8594 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.414e-05/1.19, allocations: 12 kB / 1.2 GB, free: 0.8477 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.783e-05/1.19, allocations: 16 kB / 1.2 GB, free: 0.832 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.024e-05/1.19, allocations: 20 kB / 1.2 GB, free: 0.8125 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002215/1.191, allocations: 91.7 kB / 1.2 GB, free: 0.7227 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.839e-05/1.191, allocations: 31.86 kB / 1.2 GB, free: 0.6914 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003069/1.191, allocations: 91.3 kB / 1.2 GB, free: 0.6016 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.033e-05/1.191, allocations: 40 kB / 1.201 GB, free: 0.5625 MB / 0.92 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.0009796/1.192, allocations: 0.757 MB / 1.201 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001314/1.192, allocations: 164.5 kB / 1.201 GB, free: 15.63 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001192/1.192, allocations: 169.3 kB / 1.202 GB, free: 15.45 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6e-05/1.192, allocations: 176.3 kB / 1.202 GB, free: 15.27 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.281e-05/1.192, allocations: 104.9 kB / 1.202 GB, free: 15.16 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001268/1.193, allocations: 221.7 kB / 1.202 GB, free: 14.92 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.79e-05/1.193, allocations: 196.2 kB / 1.202 GB, free: 14.72 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001006/1.193, allocations: 101 kB / 1.202 GB, free: 14.62 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.305e-05/1.193, allocations: 180.3 kB / 1.202 GB, free: 14.43 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001012/1.193, allocations: 259.4 kB / 1.203 GB, free: 14.17 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002164/1.193, allocations: 442.7 kB / 1.203 GB, free: 13.71 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.378e-05/1.193, allocations: 101 kB / 1.203 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0005404/1.194, allocations: 0.4951 MB / 1.204 GB, free: 13.12 MB / 0.9356 GB Notification: Performance of Backend: time 4.91e-07/1.194, allocations: 0 / 1.204 GB, free: 13.12 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0007253/1.194, allocations: 372.8 kB / 1.204 GB, free: 12.76 MB / 0.9356 GB Notification: Performance of SimCode: time 0.004126/1.199, allocations: 3.126 MB / 1.207 GB, free: 9.562 MB / 0.9356 GB Notification: Performance of Templates: time 0.009879/1.209, allocations: 2.805 MB / 1.21 GB, free: 6.766 MB / 0.9356 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 -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