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.007622/0.007622, allocations: 99.45 kB / 15.73 MB, free: 6.059 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.001733/0.001734, allocations: 193.5 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.477/1.477, 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 9.1.3-maint.9.1.x/package.mo): time 2.417/2.417, allocations: 390.2 MB / 0.6648 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001273, allocations: 67.89 kB / 0.9508 GB, free: 7.645 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.131/1.132, allocations: 140.4 MB / 1.088 GB, free: 5.777 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator): time 0.002773/1.135, allocations: 1.21 MB / 1.089 GB, free: 4.965 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0006/1.136, allocations: 251.2 kB / 1.089 GB, free: 4.781 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001191/1.136, allocations: 10.12 kB / 1.089 GB, free: 4.777 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002778/1.136, allocations: 114 kB / 1.089 GB, free: 4.707 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002225/1.137, allocations: 65.73 kB / 1.09 GB, free: 4.676 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001623/1.137, allocations: 77.05 kB / 1.09 GB, free: 4.637 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000864/1.138, allocations: 0.7379 MB / 1.09 GB, free: 4.379 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002444/1.14, allocations: 1.948 MB / 1.092 GB, free: 3.594 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008485/1.141, allocations: 0.5571 MB / 1.093 GB, free: 3.359 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008488/1.142, allocations: 0.6891 MB / 1.093 GB, free: 3.043 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0002544/1.142, allocations: 116.6 kB / 1.094 GB, free: 3.043 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002652/1.142, allocations: 117.3 kB / 1.094 GB, free: 3.043 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0008054/1.143, allocations: 0.7222 MB / 1.094 GB, free: 2.773 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0008556/1.144, allocations: 0.8216 MB / 1.095 GB, free: 2.215 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.003215/1.147, allocations: 2.506 MB / 1.098 GB, free: 1.332 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.424e-06/1.147, allocations: 0 / 1.098 GB, free: 1.332 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.665e-06/1.147, allocations: 0 / 1.098 GB, free: 1.332 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.603e-05/1.147, allocations: 1.344 kB / 1.098 GB, free: 1.332 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.003473/1.151, allocations: 1.911 MB / 1.099 GB, free: 132 kB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.586e-05/1.151, allocations: 12.5 kB / 1.099 GB, free: 128 kB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004096/1.151, allocations: 208.2 kB / 1.1 GB, free: 16 kB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002212/1.153, allocations: 0.9488 MB / 1.101 GB, free: 15.52 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001891/1.154, allocations: 150.9 kB / 1.101 GB, free: 15.45 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003322/1.154, allocations: 199.9 kB / 1.101 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007493/1.161, allocations: 2.803 MB / 1.104 GB, free: 13.93 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.98e-05/1.162, allocations: 12.28 kB / 1.104 GB, free: 13.92 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002127/1.162, allocations: 96.44 kB / 1.104 GB, free: 13.85 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.956e-05/1.162, allocations: 56.12 kB / 1.104 GB, free: 13.85 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003827/1.166, allocations: 1.635 MB / 1.105 GB, free: 13.37 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01424/1.18, allocations: 10.51 MB / 1.116 GB, free: 5.273 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001317/1.18, allocations: 171.2 kB / 1.116 GB, free: 5.098 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.612e-05/1.18, allocations: 84.08 kB / 1.116 GB, free: 5.012 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 3.762e-05/1.18, allocations: 75.28 kB / 1.116 GB, free: 4.938 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.458e-05/1.18, allocations: 115.7 kB / 1.116 GB, free: 4.816 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=0): time 2.474e-06/1.18, allocations: 0 / 1.116 GB, free: 4.816 MB / 0.8731 GB Notification: Performance of matching and sorting (n=0): time 0.0002345/1.181, allocations: 86.44 kB / 1.116 GB, free: 4.75 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.88e-05/1.181, allocations: 126.7 kB / 1.116 GB, free: 4.613 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001395/1.182, allocations: 0.9207 MB / 1.117 GB, free: 4.215 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 1.957e-05/1.182, allocations: 25.7 kB / 1.117 GB, free: 4.184 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007044/1.183, allocations: 0.8778 MB / 1.118 GB, free: 3.5 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 2.001e-05/1.183, allocations: 12.3 kB / 1.118 GB, free: 3.496 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003996/1.183, allocations: 275.1 kB / 1.118 GB, free: 3.387 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001951/1.183, allocations: 373.5 kB / 1.119 GB, free: 3.051 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002474/1.184, allocations: 134.8 kB / 1.119 GB, free: 3.027 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005839/1.184, allocations: 0.5927 MB / 1.119 GB, free: 2.359 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008935/1.185, allocations: 0.7697 MB / 1.12 GB, free: 1.594 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.241e-05/1.185, allocations: 6.344 kB / 1.12 GB, free: 1.594 MB / 0.8731 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001314/1.187, allocations: 0.6986 MB / 1.121 GB, free: 1.32 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 3.852e-05/1.187, allocations: 13.19 kB / 1.121 GB, free: 1.32 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.874e-05/1.187, allocations: 21.08 kB / 1.121 GB, free: 1.316 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.136e-05/1.187, allocations: 20.78 kB / 1.121 GB, free: 1.316 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002786/1.187, allocations: 101.8 kB / 1.121 GB, free: 1.285 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.323e-05/1.187, allocations: 32.84 kB / 1.121 GB, free: 1.277 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003774/1.187, allocations: 81.88 kB / 1.121 GB, free: 1.227 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.108e-05/1.187, allocations: 43.14 kB / 1.121 GB, free: 1.219 MB / 0.8731 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.001395/1.189, allocations: 0.7538 MB / 1.122 GB, free: 0.8828 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001257/1.189, allocations: 164.8 kB / 1.122 GB, free: 0.7383 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001352/1.189, allocations: 167.8 kB / 1.122 GB, free: 0.6094 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001043/1.189, allocations: 190.3 kB / 1.122 GB, free: 428 kB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.959e-05/1.189, allocations: 177 kB / 1.123 GB, free: 244 kB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.841e-05/1.189, allocations: 178.2 kB / 1.123 GB, free: 60 kB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00235/1.192, allocations: 1.611 MB / 1.124 GB, free: 15.33 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.172e-05/1.192, allocations: 102.9 kB / 1.124 GB, free: 15.22 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.653e-05/1.192, allocations: 109.5 kB / 1.125 GB, free: 15.11 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.872e-05/1.192, allocations: 178.1 kB / 1.125 GB, free: 14.93 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.029e-05/1.192, allocations: 178.1 kB / 1.125 GB, free: 14.75 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.279e-05/1.192, allocations: 186.2 kB / 1.125 GB, free: 14.56 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.652e-05/1.192, allocations: 177.9 kB / 1.125 GB, free: 14.38 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002082/1.192, allocations: 367.6 kB / 1.126 GB, free: 14.03 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001468/1.193, allocations: 222.5 kB / 1.126 GB, free: 13.8 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.421e-05/1.193, allocations: 182.7 kB / 1.126 GB, free: 13.61 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000108/1.193, allocations: 103.1 kB / 1.126 GB, free: 13.51 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.493e-05/1.193, allocations: 182.1 kB / 1.126 GB, free: 13.32 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.314e-05/1.193, allocations: 110.7 kB / 1.126 GB, free: 13.21 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.000718/1.194, allocations: 0.4994 MB / 1.127 GB, free: 13.03 MB / 0.8887 GB Notification: Performance of sort global known variables: time 2.51e-07/1.194, allocations: 0 / 1.127 GB, free: 13.03 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001223/1.195, allocations: 336.2 kB / 1.127 GB, free: 12.88 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.0002303/1.195, allocations: 178.5 kB / 1.127 GB, free: 12.71 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0006067/1.196, allocations: 293.8 kB / 1.128 GB, free: 12.63 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/1.196, allocations: 1.125 kB / 1.128 GB, free: 12.63 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 5.08e-06/1.196, allocations: 4 kB / 1.128 GB, free: 12.62 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006373/1.196, allocations: 0.4964 MB / 1.128 GB, free: 12.14 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00443/1.201, allocations: 2.357 MB / 1.13 GB, free: 11.02 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001412/1.202, allocations: 1.391 MB / 1.132 GB, free: 10.24 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0005982/1.203, allocations: 295.7 kB / 1.132 GB, free: 10.22 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.748e-05/1.203, allocations: 35.44 kB / 1.132 GB, free: 10.21 MB / 0.8887 GB Notification: Performance of SimCode: time 2.194e-06/1.203, allocations: 3.938 kB / 1.132 GB, free: 10.21 MB / 0.8887 GB Notification: Performance of Templates: time 0.01124/1.214, allocations: 2.624 MB / 1.135 GB, free: 9.906 MB / 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