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.001314/0.001314, allocations: 104 kB / 16.41 MB, free: 6.016 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.001334/0.001334, allocations: 192.3 kB / 17.34 MB, free: 5.609 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.416/1.416, allocations: 222.9 MB / 241 MB, free: 15.16 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.276/2.276, allocations: 390.3 MB / 0.6655 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001322/0.001322, allocations: 59.91 kB / 0.9515 GB, free: 7.676 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.016/1.017, allocations: 140.4 MB / 1.089 GB, free: 5.527 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator): time 0.002302/1.02, allocations: 1.207 MB / 1.09 GB, free: 4.719 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0005291/1.02, allocations: 245.2 kB / 1.09 GB, free: 4.543 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001084/1.021, allocations: 10.94 kB / 1.09 GB, free: 4.539 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002452/1.021, allocations: 117.5 kB / 1.09 GB, free: 4.465 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001946/1.021, allocations: 70.86 kB / 1.09 GB, free: 4.43 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001424/1.021, allocations: 77.48 kB / 1.09 GB, free: 4.391 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0007802/1.022, allocations: 0.7373 MB / 1.091 GB, free: 4.133 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002281/1.024, allocations: 1.951 MB / 1.093 GB, free: 3.344 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006936/1.025, allocations: 0.5574 MB / 1.093 GB, free: 3.109 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008178/1.026, allocations: 0.6826 MB / 1.094 GB, free: 2.801 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.000223/1.026, allocations: 116.6 kB / 1.094 GB, free: 2.801 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002366/1.026, allocations: 116.4 kB / 1.094 GB, free: 2.801 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.000728/1.027, allocations: 0.7268 MB / 1.095 GB, free: 2.527 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0007409/1.028, allocations: 0.8211 MB / 1.096 GB, free: 1.969 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.002831/1.031, allocations: 2.496 MB / 1.098 GB, free: 1.102 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/1.031, allocations: 0 / 1.098 GB, free: 1.102 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.715e-06/1.031, allocations: 4.703 kB / 1.098 GB, free: 1.098 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.786e-05/1.031, allocations: 1.062 kB / 1.098 GB, free: 1.098 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.003265/1.034, allocations: 1.866 MB / 1.1 GB, free: 15.94 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.268e-05/1.034, allocations: 8.781 kB / 1.1 GB, free: 15.94 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003715/1.034, allocations: 194 kB / 1.1 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001536/1.036, allocations: 0.9521 MB / 1.101 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001199/1.036, allocations: 150.8 kB / 1.101 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003053/1.036, allocations: 200.1 kB / 1.102 GB, free: 15.2 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00493/1.041, allocations: 2.807 MB / 1.104 GB, free: 13.75 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.698e-05/1.041, allocations: 13.25 kB / 1.104 GB, free: 13.74 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002159/1.042, allocations: 91.47 kB / 1.104 GB, free: 13.68 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.798e-05/1.042, allocations: 56.91 kB / 1.104 GB, free: 13.68 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002933/1.045, allocations: 1.638 MB / 1.106 GB, free: 13.19 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01005/1.055, allocations: 10.47 MB / 1.116 GB, free: 5.121 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 9.043e-05/1.055, allocations: 171.2 kB / 1.116 GB, free: 4.945 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.336e-05/1.055, allocations: 88.08 kB / 1.117 GB, free: 4.855 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.399e-05/1.055, allocations: 75.8 kB / 1.117 GB, free: 4.781 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.151e-05/1.055, allocations: 107.7 kB / 1.117 GB, free: 4.668 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=0): time 2.965e-06/1.055, allocations: 0 / 1.117 GB, free: 4.668 MB / 0.8731 GB Notification: Performance of matching and sorting (n=0): time 0.0001689/1.055, allocations: 82.88 kB / 1.117 GB, free: 4.605 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.804e-05/1.055, allocations: 126.7 kB / 1.117 GB, free: 4.469 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001178/1.056, allocations: 0.9146 MB / 1.118 GB, free: 4.074 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 1.175e-05/1.056, allocations: 25.7 kB / 1.118 GB, free: 4.043 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005959/1.057, allocations: 0.8443 MB / 1.119 GB, free: 3.391 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 1.834e-05/1.057, allocations: 15.38 kB / 1.119 GB, free: 3.383 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000347/1.057, allocations: 272.2 kB / 1.119 GB, free: 3.277 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001604/1.058, allocations: 373.2 kB / 1.119 GB, free: 2.941 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001842/1.058, allocations: 135.2 kB / 1.119 GB, free: 2.918 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004856/1.058, allocations: 0.5921 MB / 1.12 GB, free: 2.25 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007238/1.059, allocations: 0.7663 MB / 1.121 GB, free: 1.488 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.287e-05/1.059, allocations: 8.938 kB / 1.121 GB, free: 1.484 MB / 0.8731 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001051/1.06, allocations: 0.705 MB / 1.121 GB, free: 1.207 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.741e-05/1.06, allocations: 15.78 kB / 1.121 GB, free: 1.203 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.211e-05/1.06, allocations: 16.19 kB / 1.121 GB, free: 1.203 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.675e-05/1.06, allocations: 22.06 kB / 1.121 GB, free: 1.203 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002406/1.06, allocations: 92.5 kB / 1.122 GB, free: 1.18 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.211e-05/1.06, allocations: 32.61 kB / 1.122 GB, free: 1.172 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003472/1.061, allocations: 85.88 kB / 1.122 GB, free: 1.117 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.995e-05/1.061, allocations: 40.16 kB / 1.122 GB, free: 1.113 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.001197/1.062, allocations: 0.7558 MB / 1.122 GB, free: 0.7734 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001134/1.062, allocations: 160.9 kB / 1.123 GB, free: 0.6328 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001169/1.062, allocations: 167.6 kB / 1.123 GB, free: 0.5039 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.49e-05/1.062, allocations: 186 kB / 1.123 GB, free: 324 kB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.877e-05/1.062, allocations: 178 kB / 1.123 GB, free: 140 kB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.102e-05/1.062, allocations: 177.8 kB / 1.123 GB, free: 15.96 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00219/1.065, allocations: 1.615 MB / 1.125 GB, free: 15.22 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-05/1.065, allocations: 103.2 kB / 1.125 GB, free: 15.12 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.795e-05/1.065, allocations: 105.5 kB / 1.125 GB, free: 15.01 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.061e-05/1.065, allocations: 177.9 kB / 1.125 GB, free: 14.83 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.206e-05/1.065, allocations: 178.8 kB / 1.125 GB, free: 14.65 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.237e-05/1.065, allocations: 186 kB / 1.126 GB, free: 14.46 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.061e-05/1.065, allocations: 181 kB / 1.126 GB, free: 14.28 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001963/1.065, allocations: 360.6 kB / 1.126 GB, free: 13.93 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001604/1.065, allocations: 226.5 kB / 1.126 GB, free: 13.7 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001058/1.066, allocations: 181.8 kB / 1.127 GB, free: 13.51 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000114/1.066, allocations: 110.6 kB / 1.127 GB, free: 13.4 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.641e-05/1.066, allocations: 181.9 kB / 1.127 GB, free: 13.21 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.008e-05/1.066, allocations: 102.8 kB / 1.127 GB, free: 13.11 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0006184/1.066, allocations: 0.4966 MB / 1.127 GB, free: 12.93 MB / 0.8887 GB Notification: Performance of sort global known variables: time 2.81e-07/1.066, allocations: 0 / 1.127 GB, free: 12.93 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001105/1.068, allocations: 330.2 kB / 1.128 GB, free: 12.79 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.0001638/1.068, allocations: 178.7 kB / 1.128 GB, free: 12.62 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0005394/1.068, allocations: 289.4 kB / 1.128 GB, free: 12.54 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.065e-06/1.068, allocations: 1.656 kB / 1.128 GB, free: 12.54 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 2.074e-06/1.068, allocations: 0 / 1.128 GB, free: 12.54 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005935/1.069, allocations: 0.4904 MB / 1.129 GB, free: 12.07 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00444/1.073, allocations: 2.443 MB / 1.131 GB, free: 10.91 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001296/1.075, allocations: 1.394 MB / 1.132 GB, free: 10.12 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.273e-05/1.075, allocations: 39.22 kB / 1.132 GB, free: 10.11 MB / 0.8887 GB Notification: Performance of SimCode: time 4.31e-07/1.075, allocations: 1.625 kB / 1.132 GB, free: 10.11 MB / 0.8887 GB Notification: Performance of Templates: time 0.02268/1.097, allocations: 11.26 MB / 1.143 GB, free: 8.125 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/jenkins1/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