Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001569/0.001569, allocations: 79.34 kB / 19.76 MB, free: 1.875 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001657/0.001657, allocations: 158.6 kB / 23.01 MB, free: 4.602 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.421/1.421, allocations: 177.2 MB / 203.4 MB, free: 8.996 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.723/2.723, allocations: 359.1 MB / 0.6044 GB, free: 14.88 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|tanSta.TTan.1.|tanSta.TTan.2.|tanSta.THig|tanSta.TLow|tanSta.y.1.|tanSta.y.2.",fileNamePrefix="Buildings_11_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus") translateModel(Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|tanSta.TTan.1.|tanSta.TTan.2.|tanSta.THig|tanSta.TLow|tanSta.y.1.|tanSta.y.2.",fileNamePrefix="Buildings_11_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002106/0.002106, allocations: 63.91 kB / 0.9515 GB, free: 12.82 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.276/0.2781, allocations: 169.9 MB / 1.117 GB, free: 2.578 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus): time 0.003689/0.2817, allocations: 2.207 MB / 1.12 GB, free: 364 kB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002412/0.2842, allocations: 1.353 MB / 1.121 GB, free: 15 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001324/0.2843, allocations: 7.938 kB / 1.121 GB, free: 14.99 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0004712/0.2848, allocations: 171.3 kB / 1.121 GB, free: 14.82 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0004928/0.2853, allocations: 231 kB / 1.121 GB, free: 14.59 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003759/0.2856, allocations: 179.6 kB / 1.121 GB, free: 14.42 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0005011/0.2861, allocations: 438.8 kB / 1.122 GB, free: 13.99 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001693/0.2863, allocations: 61.56 kB / 1.122 GB, free: 13.93 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002312/0.2865, allocations: 179.3 kB / 1.122 GB, free: 13.75 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002621/0.2868, allocations: 187.2 kB / 1.122 GB, free: 13.57 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 4.953e-05/0.2868, allocations: 24 kB / 1.122 GB, free: 13.55 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001635/0.287, allocations: 83.95 kB / 1.122 GB, free: 13.46 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001456/0.2872, allocations: 119.6 kB / 1.123 GB, free: 13.35 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001412/0.2873, allocations: 119.2 kB / 1.123 GB, free: 13.23 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0005789/0.2879, allocations: 0.5057 MB / 1.123 GB, free: 12.72 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.2879, allocations: 0 / 1.123 GB, free: 12.72 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.593e-06/0.2879, allocations: 0 / 1.123 GB, free: 12.72 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.116e-05/0.2879, allocations: 4 kB / 1.123 GB, free: 12.72 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.001116/0.289, allocations: 0.6673 MB / 1.124 GB, free: 12.02 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.331e-05/0.289, allocations: 12.03 kB / 1.124 GB, free: 12.01 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.702e-05/0.2891, allocations: 52.59 kB / 1.124 GB, free: 11.96 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005852/0.2897, allocations: 352.7 kB / 1.124 GB, free: 11.59 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.911e-05/0.2897, allocations: 12.38 kB / 1.124 GB, free: 11.57 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.471e-05/0.2898, allocations: 19.94 kB / 1.124 GB, free: 11.55 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003734/0.2901, allocations: 214.5 kB / 1.124 GB, free: 11.32 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.2902, allocations: 0 / 1.124 GB, free: 11.32 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.762e-05/0.2902, allocations: 0 / 1.124 GB, free: 11.32 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.017e-06/0.2902, allocations: 7.984 kB / 1.124 GB, free: 11.32 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000221/0.2904, allocations: 91.95 kB / 1.125 GB, free: 11.23 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001106/0.2915, allocations: 0.6838 MB / 1.125 GB, free: 10.5 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003464/0.2919, allocations: 149.3 kB / 1.125 GB, free: 10.34 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001155/0.292, allocations: 45.7 kB / 1.125 GB, free: 10.29 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.21e-05/0.292, allocations: 0 / 1.125 GB, free: 10.29 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002779/0.2923, allocations: 137 kB / 1.125 GB, free: 10.14 MB / 1.076 GB Notification: Performance of pre-optimization done (n=12): time 1.242e-06/0.2923, allocations: 0 / 1.125 GB, free: 10.14 MB / 1.076 GB Notification: Performance of matching and sorting (n=12): time 0.00056/0.2928, allocations: 229.7 kB / 1.126 GB, free: 9.906 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.785e-05/0.2929, allocations: 110.8 kB / 1.126 GB, free: 9.773 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006941/0.2936, allocations: 0.576 MB / 1.126 GB, free: 9.191 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 3.023e-05/0.2936, allocations: 33.7 kB / 1.126 GB, free: 9.152 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001784/0.2938, allocations: 204.5 kB / 1.127 GB, free: 8.945 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 4.288e-05/0.2938, allocations: 39.73 kB / 1.127 GB, free: 8.906 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001128/0.294, allocations: 73.64 kB / 1.127 GB, free: 8.828 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001712/0.2941, allocations: 358.8 kB / 1.127 GB, free: 8.469 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002156/0.2943, allocations: 115.9 kB / 1.127 GB, free: 8.355 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002937/0.2946, allocations: 239.1 kB / 1.127 GB, free: 8.082 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003517/0.295, allocations: 210.7 kB / 1.128 GB, free: 7.863 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.295, allocations: 0 / 1.128 GB, free: 7.863 MB / 1.076 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0006084/0.2956, allocations: 352.3 kB / 1.128 GB, free: 7.516 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/0.2956, allocations: 7.984 kB / 1.128 GB, free: 7.508 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.2956, allocations: 3.984 kB / 1.128 GB, free: 7.504 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.2956, allocations: 4 kB / 1.128 GB, free: 7.5 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002006/0.2958, allocations: 48.02 kB / 1.128 GB, free: 7.453 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.346e-06/0.2958, allocations: 4 kB / 1.128 GB, free: 7.449 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002316/0.2961, allocations: 39.86 kB / 1.128 GB, free: 7.41 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.355e-05/0.2961, allocations: 11.98 kB / 1.128 GB, free: 7.398 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.TTanBot.tab.nextTimeEvent,$whenCondition2,$PRE.TTanTop.tab.nextTimeEvent,$whenCondition1,TTanTop.tab.nextTimeEventScaled,$PRE.TTanTop.tab.nextTimeEventScaled,TTanTop.tab.nextTimeEvent,tanSta.hysCha.y,$PRE.tanSta.hysCha.y,TTanBot.tab.nextTimeEventScaled,$PRE.TTanBot.tab.nextTimeEventScaled,TTanBot.tab.nextTimeEvent,tanSta.hysEmp.y,$PRE.tanSta.hysEmp.y,tanSta.gre.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 35 * 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.0002128/0.2963, allocations: 195.7 kB / 1.128 GB, free: 7.199 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.932e-05/0.2964, allocations: 39.77 kB / 1.128 GB, free: 7.16 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004483/0.2968, allocations: 213 kB / 1.128 GB, free: 6.945 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.2968, allocations: 4.109 kB / 1.128 GB, free: 6.941 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.656e-06/0.2968, allocations: 3.938 kB / 1.128 GB, free: 6.938 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.2968, allocations: 0 / 1.128 GB, free: 6.938 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002801/0.2971, allocations: 257 kB / 1.129 GB, free: 6.656 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.327e-06/0.2971, allocations: 4 kB / 1.129 GB, free: 6.652 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.063e-05/0.2972, allocations: 15.92 kB / 1.129 GB, free: 6.637 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.2972, allocations: 0 / 1.129 GB, free: 6.637 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.64e-05/0.2972, allocations: 8 kB / 1.129 GB, free: 6.629 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.2972, allocations: 0 / 1.129 GB, free: 6.629 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.2972, allocations: 0 / 1.129 GB, free: 6.629 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004025/0.2976, allocations: 237.3 kB / 1.129 GB, free: 6.379 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 9.647e-05/0.2977, allocations: 47.69 kB / 1.129 GB, free: 6.332 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.83e-05/0.2977, allocations: 11.94 kB / 1.129 GB, free: 6.32 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001374/0.2979, allocations: 19.97 kB / 1.129 GB, free: 6.301 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.618e-05/0.2979, allocations: 19.97 kB / 1.129 GB, free: 6.281 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.69e-05/0.298, allocations: 7.984 kB / 1.129 GB, free: 6.273 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0004112/0.2984, allocations: 355.1 kB / 1.129 GB, free: 5.93 MB / 1.076 GB Notification: Performance of sort global known variables: time 1e-07/0.2984, allocations: 0 / 1.129 GB, free: 5.93 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.000327/0.2987, allocations: 75.88 kB / 1.129 GB, free: 5.855 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,tanSta.hysEmp.y,TTanBot.tab.nextTimeEvent,TTanBot.tab.nextTimeEventScaled,$whenCondition1,tanSta.hysCha.y,TTanTop.tab.nextTimeEvent,TTanTop.tab.nextTimeEventScaled) * Number of discrete states: 6 (tanSta.hysCha.y,TTanTop.tab.nextTimeEvent,TTanTop.tab.nextTimeEventScaled,tanSta.hysEmp.y,TTanBot.tab.nextTimeEvent,TTanBot.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001702/0.3004, allocations: 462.6 kB / 1.13 GB, free: 5.574 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0004488/0.3009, allocations: 199.8 kB / 1.13 GB, free: 5.379 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3009, allocations: 0 / 1.13 GB, free: 5.379 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001531/0.301, allocations: 59.92 kB / 1.13 GB, free: 5.32 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005139/0.3015, allocations: 108.2 kB / 1.13 GB, free: 5.227 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000999/0.3025, allocations: 0.6342 MB / 1.131 GB, free: 4.562 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002164/0.3027, allocations: 208.5 kB / 1.131 GB, free: 4.34 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001339/0.3029, allocations: 54.94 kB / 1.131 GB, free: 4.285 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.456e-05/0.303, allocations: 40.48 kB / 1.131 GB, free: 4.246 MB / 1.076 GB Notification: Performance of SimCode: time 4.21e-07/0.303, allocations: 0 / 1.131 GB, free: 4.246 MB / 1.076 GB Notification: Performance of Templates: time 0.5003/0.8033, allocations: 5.192 MB / 1.136 GB, free: 57.8 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.makefile [Timeout 300] (rm -f Buildings_11_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.pipe ; mkfifo Buildings_11_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.pipe ; head -c 1048576 < Buildings_11_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.pipe >> ../files/Buildings_11_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.sim & ./Buildings_11_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_DHC_Plants_Cooling_Controls_Validation_TankStatus.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.315914821927436]