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.006866/0.006866, allocations: 102.9 kB / 15.73 MB, free: 6.488 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.001157/0.001157, allocations: 195.2 kB / 16.68 MB, free: 6.375 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.554/1.554, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.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.607/2.607, allocations: 390.2 MB / 0.6648 GB, free: 144 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002025/0.002025, allocations: 66.61 kB / 0.9509 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4779/0.48, allocations: 140.4 MB / 1.088 GB, free: 1.469 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator): time 0.002814/0.4828, allocations: 1.205 MB / 1.089 GB, free: 268 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0006308/0.4835, allocations: 235.8 kB / 1.089 GB, free: 28 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001182/0.4836, allocations: 15.88 kB / 1.089 GB, free: 12 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0002824/0.4839, allocations: 111.3 kB / 1.089 GB, free: 15.9 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002269/0.4842, allocations: 71.72 kB / 1.09 GB, free: 15.83 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001343/0.4843, allocations: 79.89 kB / 1.09 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0006909/0.485, allocations: 0.7376 MB / 1.09 GB, free: 15.02 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001814/0.4868, allocations: 1.95 MB / 1.092 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000482/0.4873, allocations: 0.5533 MB / 1.093 GB, free: 12.46 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006292/0.4879, allocations: 0.6893 MB / 1.093 GB, free: 11.77 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001611/0.4881, allocations: 116 kB / 1.094 GB, free: 11.66 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002017/0.4883, allocations: 116 kB / 1.094 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0006084/0.4889, allocations: 0.7211 MB / 1.094 GB, free: 10.82 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0007261/0.4897, allocations: 0.8315 MB / 1.095 GB, free: 9.988 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.002241/0.4919, allocations: 2.557 MB / 1.098 GB, free: 7.422 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 1.127e-05/0.492, allocations: 4 kB / 1.098 GB, free: 7.418 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.364e-06/0.492, allocations: 0 / 1.098 GB, free: 7.418 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 3.432e-05/0.492, allocations: 0 / 1.098 GB, free: 7.418 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.002205/0.4942, allocations: 1.862 MB / 1.1 GB, free: 5.492 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.009e-05/0.4943, allocations: 12.03 kB / 1.1 GB, free: 5.48 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002823/0.4946, allocations: 190.6 kB / 1.1 GB, free: 5.293 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001685/0.4963, allocations: 0.9532 MB / 1.101 GB, free: 4.293 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001112/0.4964, allocations: 156.5 kB / 1.101 GB, free: 4.137 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002491/0.4966, allocations: 200.4 kB / 1.101 GB, free: 3.941 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003798/0.5004, allocations: 2.802 MB / 1.104 GB, free: 0.8516 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.392e-05/0.5005, allocations: 12.06 kB / 1.104 GB, free: 0.8398 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001721/0.5007, allocations: 95.88 kB / 1.104 GB, free: 0.7461 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.591e-05/0.5007, allocations: 56 kB / 1.104 GB, free: 0.6914 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002341/0.5031, allocations: 1.642 MB / 1.105 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009062/0.5122, allocations: 10.46 MB / 1.116 GB, free: 4.242 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001174/0.5123, allocations: 177.1 kB / 1.116 GB, free: 4.059 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.014e-05/0.5124, allocations: 84.08 kB / 1.116 GB, free: 3.973 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 3.993e-05/0.5124, allocations: 75.28 kB / 1.116 GB, free: 3.898 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.671e-05/0.5125, allocations: 105.8 kB / 1.116 GB, free: 3.785 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=0): time 2.083e-06/0.5125, allocations: 0 / 1.116 GB, free: 3.785 MB / 0.8731 GB Notification: Performance of matching and sorting (n=0): time 0.0001715/0.5127, allocations: 85.02 kB / 1.116 GB, free: 3.695 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.088e-05/0.5127, allocations: 130.7 kB / 1.116 GB, free: 3.555 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001044/0.5138, allocations: 0.9127 MB / 1.117 GB, free: 2.629 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 1.042e-05/0.5138, allocations: 25.7 kB / 1.117 GB, free: 2.598 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005539/0.5144, allocations: 0.8472 MB / 1.118 GB, free: 1.734 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 1.679e-05/0.5144, allocations: 11.98 kB / 1.118 GB, free: 1.723 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002792/0.5147, allocations: 275 kB / 1.118 GB, free: 1.449 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001762/0.5149, allocations: 370.8 kB / 1.119 GB, free: 1.078 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001656/0.515, allocations: 137.2 kB / 1.119 GB, free: 0.9453 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004629/0.5155, allocations: 0.5873 MB / 1.119 GB, free: 132 kB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007635/0.5163, allocations: 0.7728 MB / 1.12 GB, free: 15.12 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.127e-06/0.5163, allocations: 8 kB / 1.12 GB, free: 15.11 MB / 0.8887 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0009304/0.5172, allocations: 0.6963 MB / 1.121 GB, free: 14.41 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.986e-05/0.5173, allocations: 15.98 kB / 1.121 GB, free: 14.39 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.903e-05/0.5173, allocations: 16 kB / 1.121 GB, free: 14.38 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.029e-05/0.5173, allocations: 20 kB / 1.121 GB, free: 14.36 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002166/0.5176, allocations: 95.72 kB / 1.121 GB, free: 14.27 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.788e-05/0.5176, allocations: 31.86 kB / 1.121 GB, free: 14.23 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002828/0.5179, allocations: 87.06 kB / 1.121 GB, free: 14.15 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.965e-05/0.5179, allocations: 40.38 kB / 1.121 GB, free: 14.11 MB / 0.8887 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.0009977/0.5189, allocations: 0.753 MB / 1.122 GB, free: 13.35 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001149/0.519, allocations: 164.2 kB / 1.122 GB, free: 13.18 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001165/0.5192, allocations: 165.3 kB / 1.122 GB, free: 13.01 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.75e-05/0.5193, allocations: 188.2 kB / 1.122 GB, free: 12.82 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-05/0.5193, allocations: 176.3 kB / 1.123 GB, free: 12.64 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.765e-05/0.5194, allocations: 184.2 kB / 1.123 GB, free: 12.45 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00167/0.5211, allocations: 1.608 MB / 1.124 GB, free: 10.78 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.225e-05/0.5211, allocations: 101 kB / 1.124 GB, free: 10.68 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.042e-05/0.5212, allocations: 108.9 kB / 1.124 GB, free: 10.56 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.741e-05/0.5213, allocations: 180.2 kB / 1.125 GB, free: 10.38 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.777e-05/0.5214, allocations: 180.3 kB / 1.125 GB, free: 10.2 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.588e-05/0.5214, allocations: 184.2 kB / 1.125 GB, free: 10.01 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.405e-05/0.5215, allocations: 184.2 kB / 1.125 GB, free: 9.82 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001801/0.5217, allocations: 355 kB / 1.125 GB, free: 9.449 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001439/0.5218, allocations: 229.3 kB / 1.126 GB, free: 9.199 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.495e-05/0.5219, allocations: 184.2 kB / 1.126 GB, free: 9.012 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.436e-05/0.522, allocations: 105 kB / 1.126 GB, free: 8.902 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.505e-05/0.5221, allocations: 180.2 kB / 1.126 GB, free: 8.719 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.63e-05/0.5221, allocations: 105.3 kB / 1.126 GB, free: 8.609 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0005087/0.5227, allocations: 0.4951 MB / 1.127 GB, free: 8.117 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5227, allocations: 0 / 1.127 GB, free: 8.117 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.00095/0.5236, allocations: 337.3 kB / 1.127 GB, free: 7.785 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.0001413/0.5238, allocations: 178.5 kB / 1.127 GB, free: 7.602 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0003993/0.5242, allocations: 291.2 kB / 1.128 GB, free: 7.32 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.5242, allocations: 0 / 1.128 GB, free: 7.32 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 1.653e-06/0.5242, allocations: 0.6875 kB / 1.128 GB, free: 7.32 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005057/0.5247, allocations: 0.5 MB / 1.128 GB, free: 6.82 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003185/0.5279, allocations: 2.303 MB / 1.13 GB, free: 4.48 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001014/0.5289, allocations: 1.403 MB / 1.132 GB, free: 3.047 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0004418/0.5294, allocations: 292.4 kB / 1.132 GB, free: 2.762 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.338e-05/0.5294, allocations: 35.44 kB / 1.132 GB, free: 2.73 MB / 0.8887 GB Notification: Performance of SimCode: time 7.21e-07/0.5294, allocations: 0 / 1.132 GB, free: 2.73 MB / 0.8887 GB Notification: Performance of Templates: time 0.008985/0.5384, allocations: 2.623 MB / 1.134 GB, free: 144 kB / 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