Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.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_PR1.Generic.SetPoints.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_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator") translateModel(Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.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_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008619/0.008619, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001323/0.001323, allocations: 195.6 kB / 16.67 MB, free: 5.52 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.17 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.333/2.333, allocations: 390.2 MB / 0.6648 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001374/0.001374, allocations: 71.89 kB / 0.9509 GB, free: 7.672 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.081/1.083, allocations: 140.4 MB / 1.088 GB, free: 5.543 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator): time 0.002336/1.085, allocations: 1.201 MB / 1.089 GB, free: 4.738 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0005308/1.085, allocations: 237.8 kB / 1.089 GB, free: 4.57 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001037/1.086, allocations: 14.69 kB / 1.089 GB, free: 4.562 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002495/1.086, allocations: 117.8 kB / 1.089 GB, free: 4.488 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002077/1.086, allocations: 74.23 kB / 1.09 GB, free: 4.449 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001366/1.086, allocations: 72.91 kB / 1.09 GB, free: 4.414 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0007197/1.087, allocations: 0.7381 MB / 1.09 GB, free: 4.156 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002237/1.089, allocations: 1.948 MB / 1.092 GB, free: 3.371 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007604/1.09, allocations: 0.5543 MB / 1.093 GB, free: 3.141 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007948/1.091, allocations: 0.6932 MB / 1.093 GB, free: 2.82 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0002366/1.091, allocations: 116.6 kB / 1.094 GB, free: 2.82 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002418/1.091, allocations: 115.7 kB / 1.094 GB, free: 2.82 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0007292/1.092, allocations: 0.7237 MB / 1.094 GB, free: 2.551 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0007753/1.093, allocations: 0.8169 MB / 1.095 GB, free: 1.996 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.002808/1.096, allocations: 2.559 MB / 1.098 GB, free: 1.125 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.211e-06/1.096, allocations: 0.5938 kB / 1.098 GB, free: 1.125 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.404e-06/1.096, allocations: 0.5156 kB / 1.098 GB, free: 1.125 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.686e-05/1.096, allocations: 1.094 kB / 1.098 GB, free: 1.125 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.099, allocations: 1.87 MB / 1.099 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.351e-05/1.099, allocations: 9.094 kB / 1.099 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004155/1.099, allocations: 195.4 kB / 1.1 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0016/1.101, allocations: 0.9479 MB / 1.101 GB, free: 15.37 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001079/1.101, allocations: 151 kB / 1.101 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002614/1.101, allocations: 200.4 kB / 1.101 GB, free: 15.23 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004867/1.106, allocations: 2.807 MB / 1.104 GB, free: 13.78 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.344e-05/1.106, allocations: 17.34 kB / 1.104 GB, free: 13.77 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002161/1.107, allocations: 91.16 kB / 1.104 GB, free: 13.7 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.826e-05/1.107, allocations: 56.25 kB / 1.104 GB, free: 13.7 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004388/1.111, allocations: 1.638 MB / 1.105 GB, free: 13.21 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01502/1.126, allocations: 10.47 MB / 1.116 GB, free: 5.152 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000111/1.126, allocations: 170.9 kB / 1.116 GB, free: 4.977 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.688e-05/1.126, allocations: 92.08 kB / 1.116 GB, free: 4.883 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 3.847e-05/1.126, allocations: 77.62 kB / 1.116 GB, free: 4.809 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.867e-05/1.126, allocations: 109.8 kB / 1.116 GB, free: 4.691 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=0): time 1.923e-06/1.126, allocations: 0 / 1.116 GB, free: 4.691 MB / 0.8731 GB Notification: Performance of matching and sorting (n=0): time 0.0002048/1.127, allocations: 77.41 kB / 1.116 GB, free: 4.633 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.832e-05/1.127, allocations: 132.9 kB / 1.116 GB, free: 4.492 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00147/1.128, allocations: 0.91 MB / 1.117 GB, free: 4.102 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 1.844e-05/1.128, allocations: 25.7 kB / 1.117 GB, free: 4.07 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007383/1.129, allocations: 0.8432 MB / 1.118 GB, free: 3.418 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 2.023e-05/1.129, allocations: 20.61 kB / 1.118 GB, free: 3.406 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003794/1.129, allocations: 272.3 kB / 1.118 GB, free: 3.301 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0002173/1.13, allocations: 373.6 kB / 1.119 GB, free: 2.965 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002011/1.13, allocations: 134.1 kB / 1.119 GB, free: 2.941 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006195/1.13, allocations: 0.5927 MB / 1.119 GB, free: 2.273 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007781/1.131, allocations: 0.7668 MB / 1.12 GB, free: 1.512 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.215e-06/1.131, allocations: 7.906 kB / 1.12 GB, free: 1.508 MB / 0.8731 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001111/1.132, allocations: 0.7033 MB / 1.121 GB, free: 1.23 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.763e-05/1.132, allocations: 17.91 kB / 1.121 GB, free: 1.227 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.192e-05/1.132, allocations: 15.66 kB / 1.121 GB, free: 1.227 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.791e-05/1.133, allocations: 27.17 kB / 1.121 GB, free: 1.223 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002287/1.133, allocations: 83.31 kB / 1.121 GB, free: 1.207 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.01e-05/1.133, allocations: 37.84 kB / 1.121 GB, free: 1.195 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000352/1.133, allocations: 85.78 kB / 1.121 GB, free: 1.141 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.651e-05/1.133, allocations: 39.53 kB / 1.121 GB, free: 1.137 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.001262/1.134, allocations: 0.757 MB / 1.122 GB, free: 0.7969 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000116/1.135, allocations: 156.8 kB / 1.122 GB, free: 0.6602 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001232/1.135, allocations: 175.1 kB / 1.122 GB, free: 0.5234 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.905e-05/1.135, allocations: 178 kB / 1.122 GB, free: 352 kB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.078e-05/1.135, allocations: 185.9 kB / 1.123 GB, free: 160 kB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.575e-05/1.135, allocations: 182.1 kB / 1.123 GB, free: 15.97 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002205/1.137, allocations: 1.602 MB / 1.124 GB, free: 15.25 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.149e-05/1.137, allocations: 106.8 kB / 1.124 GB, free: 15.14 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.04e-05/1.137, allocations: 106.9 kB / 1.124 GB, free: 15.03 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.799e-05/1.137, allocations: 180.9 kB / 1.125 GB, free: 14.85 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.711e-05/1.137, allocations: 178.3 kB / 1.125 GB, free: 14.67 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.947e-05/1.138, allocations: 178.3 kB / 1.125 GB, free: 14.49 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.604e-05/1.138, allocations: 186.3 kB / 1.125 GB, free: 14.3 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000203/1.138, allocations: 358.2 kB / 1.125 GB, free: 13.95 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001578/1.138, allocations: 231 kB / 1.126 GB, free: 13.71 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001022/1.138, allocations: 179.1 kB / 1.126 GB, free: 13.54 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001122/1.138, allocations: 106.4 kB / 1.126 GB, free: 13.43 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.507e-05/1.138, allocations: 182.3 kB / 1.126 GB, free: 13.24 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.279e-05/1.138, allocations: 105.5 kB / 1.126 GB, free: 13.13 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0006718/1.139, allocations: 0.4963 MB / 1.127 GB, free: 12.95 MB / 0.8887 GB Notification: Performance of sort global known variables: time 2.9e-07/1.139, allocations: 0 / 1.127 GB, free: 12.95 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001166/1.14, allocations: 332 kB / 1.127 GB, free: 12.81 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.0001645/1.14, allocations: 174.7 kB / 1.127 GB, free: 12.65 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0004959/1.141, allocations: 295.5 kB / 1.128 GB, free: 12.56 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/1.141, allocations: 1.125 kB / 1.128 GB, free: 12.56 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 2.034e-06/1.141, allocations: 0 / 1.128 GB, free: 12.56 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005639/1.141, allocations: 0.4931 MB / 1.128 GB, free: 12.09 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003864/1.145, allocations: 2.31 MB / 1.13 GB, free: 11.02 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001427/1.147, allocations: 1.395 MB / 1.132 GB, free: 10.23 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.000559/1.147, allocations: 300.4 kB / 1.132 GB, free: 10.21 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.884e-05/1.147, allocations: 35.75 kB / 1.132 GB, free: 10.2 MB / 0.8887 GB Notification: Performance of SimCode: time 1.212e-06/1.147, allocations: 0 / 1.132 GB, free: 10.2 MB / 0.8887 GB Notification: Performance of Templates: time 0.01027/1.158, allocations: 2.64 MB / 1.135 GB, free: 9.91 MB / 0.8887 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_PR1_Generic_SetPoints_Validation_ZoneStatusDuplicator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches