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.00165/0.00165, allocations: 110.9 kB / 16.41 MB, free: 6.492 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.001889/0.001889, allocations: 187 kB / 17.34 MB, free: 5.766 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.376/1.376, allocations: 222.9 MB / 241 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.266/2.266, allocations: 390.3 MB / 0.6655 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001286/0.001286, allocations: 63.91 kB / 0.9515 GB, free: 7.641 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8736/0.8749, allocations: 140.4 MB / 1.089 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator): time 0.002245/0.8772, allocations: 1.205 MB / 1.09 GB, free: 4.699 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0004961/0.8777, allocations: 235.2 kB / 1.09 GB, free: 4.531 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001029/0.8778, allocations: 13.97 kB / 1.09 GB, free: 4.523 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.000226/0.8781, allocations: 112.8 kB / 1.09 GB, free: 4.453 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.000198/0.8783, allocations: 67.62 kB / 1.09 GB, free: 4.422 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001314/0.8784, allocations: 81.33 kB / 1.09 GB, free: 4.379 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0007499/0.8792, allocations: 0.7337 MB / 1.091 GB, free: 4.125 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002032/0.8812, allocations: 1.952 MB / 1.093 GB, free: 3.336 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006335/0.8818, allocations: 0.5531 MB / 1.093 GB, free: 3.105 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008032/0.8827, allocations: 0.6908 MB / 1.094 GB, free: 2.789 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0002534/0.8829, allocations: 116.6 kB / 1.094 GB, free: 2.789 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002694/0.8832, allocations: 115.7 kB / 1.094 GB, free: 2.789 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0006827/0.8839, allocations: 0.7197 MB / 1.095 GB, free: 2.523 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0007651/0.8847, allocations: 0.821 MB / 1.096 GB, free: 1.965 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.002661/0.8873, allocations: 2.559 MB / 1.098 GB, free: 1.094 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.8873, allocations: 5.125 kB / 1.098 GB, free: 1.09 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.474e-06/0.8874, allocations: 0 / 1.098 GB, free: 1.09 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.898e-05/0.8874, allocations: 0 / 1.098 GB, free: 1.09 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.002893/0.8903, allocations: 1.867 MB / 1.1 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.59e-05/0.8904, allocations: 9.188 kB / 1.1 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003845/0.8908, allocations: 195.1 kB / 1.1 GB, free: 15.83 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001475/0.8923, allocations: 0.9481 MB / 1.101 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001132/0.8924, allocations: 150.9 kB / 1.101 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000262/0.8927, allocations: 200.6 kB / 1.102 GB, free: 15.2 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004644/0.8973, allocations: 2.806 MB / 1.104 GB, free: 13.75 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.441e-05/0.8974, allocations: 12.38 kB / 1.104 GB, free: 13.74 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002101/0.8976, allocations: 96 kB / 1.104 GB, free: 13.67 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-05/0.8977, allocations: 56.19 kB / 1.105 GB, free: 13.67 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002728/0.9004, allocations: 1.642 MB / 1.106 GB, free: 13.18 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01015/0.9106, allocations: 10.47 MB / 1.116 GB, free: 5.117 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 9.92e-05/0.9107, allocations: 175 kB / 1.117 GB, free: 4.938 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.063e-05/0.9107, allocations: 85.17 kB / 1.117 GB, free: 4.852 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.554e-05/0.9108, allocations: 75.28 kB / 1.117 GB, free: 4.777 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.393e-05/0.9108, allocations: 111.3 kB / 1.117 GB, free: 4.66 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=0): time 1.954e-06/0.9108, allocations: 0 / 1.117 GB, free: 4.66 MB / 0.8731 GB Notification: Performance of matching and sorting (n=0): time 0.0001657/0.911, allocations: 81.08 kB / 1.117 GB, free: 4.598 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.438e-05/0.9111, allocations: 132.4 kB / 1.117 GB, free: 4.457 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001098/0.9122, allocations: 0.9106 MB / 1.118 GB, free: 4.066 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 1.382e-05/0.9122, allocations: 26.7 kB / 1.118 GB, free: 4.035 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005794/0.9128, allocations: 0.843 MB / 1.119 GB, free: 3.383 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 1.486e-05/0.9128, allocations: 12.98 kB / 1.119 GB, free: 3.379 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003033/0.9131, allocations: 273.8 kB / 1.119 GB, free: 3.27 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001694/0.9133, allocations: 374.7 kB / 1.119 GB, free: 2.934 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001789/0.9135, allocations: 134.5 kB / 1.119 GB, free: 2.91 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004703/0.9139, allocations: 0.5884 MB / 1.12 GB, free: 2.246 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007249/0.9147, allocations: 0.7711 MB / 1.121 GB, free: 1.48 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.676e-06/0.9147, allocations: 8 kB / 1.121 GB, free: 1.477 MB / 0.8731 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001002/0.9157, allocations: 0.7077 MB / 1.122 GB, free: 1.195 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.419e-05/0.9157, allocations: 12.81 kB / 1.122 GB, free: 1.195 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.766e-05/0.9158, allocations: 15.91 kB / 1.122 GB, free: 1.195 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.11e-05/0.9158, allocations: 22.58 kB / 1.122 GB, free: 1.195 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000229/0.916, allocations: 92.28 kB / 1.122 GB, free: 1.172 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.388e-05/0.9161, allocations: 29.2 kB / 1.122 GB, free: 1.168 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003305/0.9164, allocations: 85.41 kB / 1.122 GB, free: 1.113 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.357e-05/0.9165, allocations: 39.56 kB / 1.122 GB, free: 1.109 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.001064/0.9175, allocations: 0.7613 MB / 1.123 GB, free: 0.7656 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001067/0.9176, allocations: 157 kB / 1.123 GB, free: 0.6289 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001074/0.9178, allocations: 170.4 kB / 1.123 GB, free: 0.4961 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.592e-05/0.9178, allocations: 178.5 kB / 1.123 GB, free: 324 kB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.274e-05/0.9179, allocations: 182 kB / 1.123 GB, free: 136 kB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.353e-05/0.918, allocations: 190.6 kB / 1.123 GB, free: 15.94 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001913/0.9199, allocations: 1.602 MB / 1.125 GB, free: 15.22 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.746e-05/0.9199, allocations: 106.6 kB / 1.125 GB, free: 15.11 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.541e-05/0.92, allocations: 106.9 kB / 1.125 GB, free: 15 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.979e-05/0.9201, allocations: 181.7 kB / 1.125 GB, free: 14.82 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.377e-05/0.9201, allocations: 178.3 kB / 1.125 GB, free: 14.64 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.651e-05/0.9202, allocations: 186.3 kB / 1.126 GB, free: 14.45 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.084e-05/0.9203, allocations: 177.6 kB / 1.126 GB, free: 14.27 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001771/0.9205, allocations: 359.2 kB / 1.126 GB, free: 13.92 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001221/0.9206, allocations: 222.9 kB / 1.126 GB, free: 13.69 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.863e-05/0.9207, allocations: 190.4 kB / 1.127 GB, free: 13.5 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001068/0.9208, allocations: 106.8 kB / 1.127 GB, free: 13.39 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.005e-05/0.9209, allocations: 178 kB / 1.127 GB, free: 13.21 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.682e-05/0.921, allocations: 106.6 kB / 1.127 GB, free: 13.1 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0007166/0.9217, allocations: 0.4956 MB / 1.127 GB, free: 12.92 MB / 0.8887 GB Notification: Performance of sort global known variables: time 4.1e-07/0.9217, allocations: 0 / 1.127 GB, free: 12.92 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001113/0.9228, allocations: 332.1 kB / 1.128 GB, free: 12.78 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.0001602/0.923, allocations: 179.6 kB / 1.128 GB, free: 12.61 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0004378/0.9234, allocations: 289 kB / 1.128 GB, free: 12.53 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.9234, allocations: 2 kB / 1.128 GB, free: 12.53 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 1.673e-06/0.9235, allocations: 1.438 kB / 1.128 GB, free: 12.53 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005207/0.924, allocations: 0.4898 MB / 1.129 GB, free: 12.05 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003562/0.9275, allocations: 2.426 MB / 1.131 GB, free: 10.91 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001207/0.9288, allocations: 1.393 MB / 1.132 GB, free: 10.12 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.396e-05/0.9288, allocations: 39.84 kB / 1.132 GB, free: 10.11 MB / 0.8887 GB Notification: Performance of SimCode: time 3.61e-07/0.9289, allocations: 7.938 kB / 1.132 GB, free: 10.11 MB / 0.8887 GB Notification: Performance of Templates: time 0.02134/0.9502, allocations: 11.27 MB / 1.143 GB, free: 8.066 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/jenkins1/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