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.009769/0.009769, allocations: 100.5 kB / 15.73 MB, free: 5.953 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.001595/0.001595, allocations: 192.8 kB / 16.67 MB, free: 5.875 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.542/1.542, allocations: 222.9 MB / 240.4 MB, free: 15.06 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.466/2.466, allocations: 390.2 MB / 0.6648 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001464/0.001464, allocations: 63.89 kB / 0.9509 GB, free: 7.645 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.089/1.09, allocations: 140.4 MB / 1.088 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator): time 0.002832/1.093, allocations: 1.2 MB / 1.089 GB, free: 4.715 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0006417/1.094, allocations: 238.8 kB / 1.089 GB, free: 4.543 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001465/1.094, allocations: 18.03 kB / 1.089 GB, free: 4.531 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002998/1.094, allocations: 118 kB / 1.089 GB, free: 4.457 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002441/1.095, allocations: 65.88 kB / 1.09 GB, free: 4.426 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000162/1.095, allocations: 81.69 kB / 1.09 GB, free: 4.383 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001017/1.096, allocations: 0.7333 MB / 1.09 GB, free: 4.129 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002869/1.099, allocations: 1.951 MB / 1.092 GB, free: 3.34 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001004/1.1, allocations: 0.5582 MB / 1.093 GB, free: 3.105 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001048/1.101, allocations: 0.6814 MB / 1.093 GB, free: 2.797 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0003097/1.101, allocations: 116.8 kB / 1.094 GB, free: 2.797 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000315/1.102, allocations: 120.7 kB / 1.094 GB, free: 2.793 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.001043/1.103, allocations: 0.7195 MB / 1.094 GB, free: 2.527 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.001175/1.104, allocations: 0.8203 MB / 1.095 GB, free: 1.969 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.004008/1.108, allocations: 2.574 MB / 1.098 GB, free: 1.082 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/1.108, allocations: 0 / 1.098 GB, free: 1.082 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.988e-06/1.108, allocations: 1.125 kB / 1.098 GB, free: 1.082 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.0001155/1.108, allocations: 0 / 1.098 GB, free: 1.082 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.004229/1.112, allocations: 1.91 MB / 1.1 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.757e-05/1.112, allocations: 10.3 kB / 1.1 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004847/1.113, allocations: 207.1 kB / 1.1 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002059/1.115, allocations: 0.9527 MB / 1.101 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001643/1.115, allocations: 151.3 kB / 1.101 GB, free: 15.2 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003445/1.115, allocations: 200.4 kB / 1.101 GB, free: 15.13 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005641/1.121, allocations: 2.798 MB / 1.104 GB, free: 13.68 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.712e-05/1.121, allocations: 13.78 kB / 1.104 GB, free: 13.68 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002064/1.121, allocations: 95.34 kB / 1.104 GB, free: 13.61 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-05/1.121, allocations: 56.81 kB / 1.104 GB, free: 13.61 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003225/1.125, allocations: 1.638 MB / 1.106 GB, free: 13.12 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01274/1.137, allocations: 10.5 MB / 1.116 GB, free: 5.027 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001159/1.137, allocations: 167.2 kB / 1.116 GB, free: 4.855 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.502e-05/1.138, allocations: 84.08 kB / 1.116 GB, free: 4.77 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 3.187e-05/1.138, allocations: 79.28 kB / 1.116 GB, free: 4.691 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.511e-05/1.138, allocations: 112.6 kB / 1.116 GB, free: 4.574 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=0): time 3.036e-06/1.138, allocations: 4 kB / 1.116 GB, free: 4.57 MB / 0.8731 GB Notification: Performance of matching and sorting (n=0): time 0.0001952/1.138, allocations: 85.58 kB / 1.116 GB, free: 4.504 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.712e-05/1.138, allocations: 127.4 kB / 1.116 GB, free: 4.367 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001494/1.139, allocations: 0.9199 MB / 1.117 GB, free: 3.969 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 1.394e-05/1.139, allocations: 25.7 kB / 1.117 GB, free: 3.938 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.000746/1.14, allocations: 0.874 MB / 1.118 GB, free: 3.258 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 2.564e-05/1.14, allocations: 16.34 kB / 1.118 GB, free: 3.25 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004837/1.141, allocations: 271.4 kB / 1.118 GB, free: 3.145 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0002671/1.141, allocations: 377.1 kB / 1.119 GB, free: 2.805 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002597/1.141, allocations: 135.2 kB / 1.119 GB, free: 2.781 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000792/1.142, allocations: 0.5893 MB / 1.12 GB, free: 2.117 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001019/1.143, allocations: 0.7743 MB / 1.12 GB, free: 1.348 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.407e-05/1.143, allocations: 4.844 kB / 1.12 GB, free: 1.348 MB / 0.8731 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001344/1.144, allocations: 0.7032 MB / 1.121 GB, free: 1.07 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 3.147e-05/1.144, allocations: 11.88 kB / 1.121 GB, free: 1.07 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.476e-05/1.145, allocations: 24.67 kB / 1.121 GB, free: 1.062 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.352e-05/1.145, allocations: 25.62 kB / 1.121 GB, free: 1.059 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002546/1.145, allocations: 89.44 kB / 1.121 GB, free: 1.039 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.739e-05/1.145, allocations: 32.72 kB / 1.121 GB, free: 1.031 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003658/1.145, allocations: 94.09 kB / 1.121 GB, free: 0.9688 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.049e-05/1.145, allocations: 40.31 kB / 1.121 GB, free: 0.9648 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.001459/1.147, allocations: 0.7486 MB / 1.122 GB, free: 0.6328 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001244/1.147, allocations: 165.8 kB / 1.122 GB, free: 500 kB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001463/1.147, allocations: 167 kB / 1.122 GB, free: 368 kB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.322e-05/1.147, allocations: 181.5 kB / 1.122 GB, free: 180 kB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.957e-05/1.147, allocations: 186.1 kB / 1.123 GB, free: 15.99 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.003e-05/1.147, allocations: 182.2 kB / 1.123 GB, free: 15.8 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002947/1.15, allocations: 1.607 MB / 1.124 GB, free: 15.08 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.576e-05/1.15, allocations: 102.2 kB / 1.124 GB, free: 14.97 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.34e-05/1.15, allocations: 105.5 kB / 1.125 GB, free: 14.86 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.347e-05/1.151, allocations: 182.6 kB / 1.125 GB, free: 14.68 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.545e-05/1.151, allocations: 178.4 kB / 1.125 GB, free: 14.5 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001123/1.151, allocations: 182 kB / 1.125 GB, free: 14.32 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.345e-05/1.151, allocations: 182.5 kB / 1.125 GB, free: 14.13 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002434/1.151, allocations: 362.1 kB / 1.126 GB, free: 13.78 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002157/1.151, allocations: 223.9 kB / 1.126 GB, free: 13.55 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001073/1.151, allocations: 186.3 kB / 1.126 GB, free: 13.36 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001237/1.152, allocations: 102.8 kB / 1.126 GB, free: 13.26 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.26e-05/1.152, allocations: 182 kB / 1.126 GB, free: 13.07 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.752e-05/1.152, allocations: 102.7 kB / 1.126 GB, free: 12.97 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0007453/1.152, allocations: 0.4992 MB / 1.127 GB, free: 12.79 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.2e-07/1.153, allocations: 0 / 1.127 GB, free: 12.79 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001243/1.154, allocations: 339.8 kB / 1.127 GB, free: 12.63 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.0002181/1.154, allocations: 175.7 kB / 1.127 GB, free: 12.47 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0005902/1.155, allocations: 291.4 kB / 1.128 GB, free: 12.39 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.085e-06/1.155, allocations: 0.5 kB / 1.128 GB, free: 12.39 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 2.444e-06/1.155, allocations: 4 kB / 1.128 GB, free: 12.39 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006091/1.155, allocations: 0.4886 MB / 1.128 GB, free: 11.91 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004417/1.16, allocations: 2.365 MB / 1.13 GB, free: 10.79 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001864/1.162, allocations: 1.398 MB / 1.132 GB, free: 9.992 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0006803/1.162, allocations: 292.5 kB / 1.132 GB, free: 9.98 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.576e-05/1.162, allocations: 42.19 kB / 1.132 GB, free: 9.965 MB / 0.8887 GB Notification: Performance of SimCode: time 5.31e-07/1.162, allocations: 1.125 kB / 1.132 GB, free: 9.965 MB / 0.8887 GB Notification: Performance of Templates: time 0.01078/1.173, allocations: 2.629 MB / 1.135 GB, free: 9.688 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