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.009178/0.009178, allocations: 104.8 kB / 15.74 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.001777/0.001777, allocations: 196.5 kB / 16.68 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.502/2.502, allocations: 390.2 MB / 0.6648 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001909/0.001909, allocations: 59.91 kB / 0.9509 GB, free: 7.625 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.169/1.171, allocations: 140.4 MB / 1.088 GB, free: 5.496 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator): time 0.002503/1.174, allocations: 1.201 MB / 1.089 GB, free: 4.695 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0006497/1.174, allocations: 243 kB / 1.089 GB, free: 4.52 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001273/1.174, allocations: 18.5 kB / 1.089 GB, free: 4.508 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002797/1.175, allocations: 113 kB / 1.089 GB, free: 4.438 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002147/1.175, allocations: 68.83 kB / 1.09 GB, free: 4.406 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001399/1.175, allocations: 77 kB / 1.09 GB, free: 4.367 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0009092/1.176, allocations: 0.7379 MB / 1.09 GB, free: 4.109 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002917/1.179, allocations: 1.952 MB / 1.092 GB, free: 3.32 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001011/1.18, allocations: 0.5537 MB / 1.093 GB, free: 3.09 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001045/1.181, allocations: 0.6895 MB / 1.093 GB, free: 2.773 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0002919/1.181, allocations: 116.1 kB / 1.094 GB, free: 2.773 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002771/1.182, allocations: 120.5 kB / 1.094 GB, free: 2.77 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0008043/1.182, allocations: 0.7233 MB / 1.094 GB, free: 2.5 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0008403/1.183, allocations: 0.8206 MB / 1.095 GB, free: 1.941 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.003852/1.187, allocations: 2.556 MB / 1.098 GB, free: 1.074 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 1.059e-05/1.187, allocations: 0 / 1.098 GB, free: 1.074 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.274e-06/1.187, allocations: 0.75 kB / 1.098 GB, free: 1.074 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.0001538/1.187, allocations: 0 / 1.098 GB, free: 1.074 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.004161/1.192, allocations: 1.867 MB / 1.099 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.976e-05/1.192, allocations: 9.562 kB / 1.1 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004524/1.192, allocations: 194.8 kB / 1.1 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001566/1.194, allocations: 0.9513 MB / 1.101 GB, free: 15.31 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001168/1.194, allocations: 152.9 kB / 1.101 GB, free: 15.24 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002801/1.194, allocations: 199.4 kB / 1.101 GB, free: 15.18 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005453/1.2, allocations: 2.807 MB / 1.104 GB, free: 13.72 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.749e-05/1.2, allocations: 12.62 kB / 1.104 GB, free: 13.71 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002134/1.2, allocations: 91.75 kB / 1.104 GB, free: 13.65 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.465e-05/1.2, allocations: 56.59 kB / 1.104 GB, free: 13.65 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003799/1.204, allocations: 1.642 MB / 1.105 GB, free: 13.16 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01198/1.216, allocations: 10.47 MB / 1.116 GB, free: 5.098 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001165/1.216, allocations: 175.1 kB / 1.116 GB, free: 4.918 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.773e-05/1.216, allocations: 84.08 kB / 1.116 GB, free: 4.832 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 4.23e-05/1.216, allocations: 76.69 kB / 1.116 GB, free: 4.758 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.634e-05/1.216, allocations: 106.5 kB / 1.116 GB, free: 4.645 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=0): time 1.964e-06/1.216, allocations: 5.312 kB / 1.116 GB, free: 4.641 MB / 0.8731 GB Notification: Performance of matching and sorting (n=0): time 0.0002047/1.216, allocations: 77.45 kB / 1.116 GB, free: 4.582 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.392e-05/1.216, allocations: 130.6 kB / 1.116 GB, free: 4.441 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001909/1.218, allocations: 0.9117 MB / 1.117 GB, free: 4.051 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 1.928e-05/1.218, allocations: 25.7 kB / 1.117 GB, free: 4.02 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.001326/1.22, allocations: 0.8469 MB / 1.118 GB, free: 3.363 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 2.604e-05/1.22, allocations: 12.61 kB / 1.118 GB, free: 3.359 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007795/1.22, allocations: 270.5 kB / 1.118 GB, free: 3.254 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.000319/1.221, allocations: 378.7 kB / 1.119 GB, free: 2.914 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003916/1.221, allocations: 135 kB / 1.119 GB, free: 2.891 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009846/1.222, allocations: 0.5887 MB / 1.119 GB, free: 2.227 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001415/1.224, allocations: 0.7737 MB / 1.12 GB, free: 1.457 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.596e-05/1.224, allocations: 5.906 kB / 1.12 GB, free: 1.457 MB / 0.8731 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.002059/1.226, allocations: 0.7021 MB / 1.121 GB, free: 1.18 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 5.166e-05/1.226, allocations: 12.97 kB / 1.121 GB, free: 1.18 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.253e-05/1.226, allocations: 17.39 kB / 1.121 GB, free: 1.18 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.998e-05/1.226, allocations: 28.16 kB / 1.121 GB, free: 1.172 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003828/1.226, allocations: 84.95 kB / 1.121 GB, free: 1.156 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-05/1.226, allocations: 34.77 kB / 1.121 GB, free: 1.148 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000778/1.227, allocations: 88.91 kB / 1.121 GB, free: 1.09 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001112/1.227, allocations: 40.19 kB / 1.121 GB, free: 1.086 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.002378/1.23, allocations: 0.7581 MB / 1.122 GB, free: 0.7461 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002325/1.23, allocations: 160.3 kB / 1.122 GB, free: 0.6055 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002163/1.23, allocations: 171.6 kB / 1.122 GB, free: 484 kB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.713e-05/1.23, allocations: 178 kB / 1.122 GB, free: 300 kB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001006/1.23, allocations: 186 kB / 1.123 GB, free: 108 kB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000121/1.231, allocations: 182.4 kB / 1.123 GB, free: 15.92 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004321/1.235, allocations: 1.602 MB / 1.124 GB, free: 15.2 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.873e-05/1.235, allocations: 106.7 kB / 1.124 GB, free: 15.09 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.246e-05/1.235, allocations: 102.9 kB / 1.124 GB, free: 14.98 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.801e-05/1.235, allocations: 185 kB / 1.125 GB, free: 14.8 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.178e-05/1.235, allocations: 182.1 kB / 1.125 GB, free: 14.61 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.247e-05/1.235, allocations: 178.5 kB / 1.125 GB, free: 14.43 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001012/1.235, allocations: 186 kB / 1.125 GB, free: 14.25 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003236/1.236, allocations: 363.4 kB / 1.126 GB, free: 13.89 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000233/1.236, allocations: 222.4 kB / 1.126 GB, free: 13.66 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001554/1.236, allocations: 177.9 kB / 1.126 GB, free: 13.48 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001356/1.236, allocations: 106.8 kB / 1.126 GB, free: 13.38 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.401e-05/1.236, allocations: 177.9 kB / 1.126 GB, free: 13.2 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.032e-05/1.236, allocations: 106.8 kB / 1.126 GB, free: 13.09 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0008274/1.237, allocations: 0.5039 MB / 1.127 GB, free: 12.9 MB / 0.8887 GB Notification: Performance of sort global known variables: time 4.81e-07/1.237, allocations: 1.094 kB / 1.127 GB, free: 12.9 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001379/1.239, allocations: 326.8 kB / 1.127 GB, free: 12.76 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.0001878/1.239, allocations: 176.5 kB / 1.127 GB, free: 12.6 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0006062/1.239, allocations: 293.4 kB / 1.128 GB, free: 12.51 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/1.239, allocations: 448 / 1.128 GB, free: 12.51 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 4.158e-06/1.239, allocations: 5.281 kB / 1.128 GB, free: 12.51 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006827/1.24, allocations: 0.4888 MB / 1.128 GB, free: 12.04 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005256/1.245, allocations: 2.31 MB / 1.13 GB, free: 10.96 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001965/1.247, allocations: 1.399 MB / 1.132 GB, free: 10.17 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0006586/1.248, allocations: 292.2 kB / 1.132 GB, free: 10.16 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.491e-05/1.248, allocations: 39.25 kB / 1.132 GB, free: 10.15 MB / 0.8887 GB Notification: Performance of SimCode: time 7.61e-07/1.248, allocations: 3.938 kB / 1.132 GB, free: 10.14 MB / 0.8887 GB Notification: Performance of Templates: time 0.01129/1.259, allocations: 2.635 MB / 1.135 GB, free: 9.855 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