Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.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.001558/0.001558, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.001816/0.001816, allocations: 159.8 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.493/1.493, allocations: 177.2 MB / 203.4 MB, free: 9 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.915/2.915, allocations: 377.9 MB / 0.6228 GB, free: 12.56 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cooCap.TConIn|cooCap.TEvaIn|cooCap.m_flow|cooCap.Q_flow.1.|cooCap.EIR.1.",fileNamePrefix="Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled") translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cooCap.TConIn|cooCap.TEvaIn|cooCap.m_flow|cooCap.Q_flow.1.|cooCap.EIR.1.",fileNamePrefix="Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled") [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.002178/0.002178, allocations: 67.89 kB / 0.982 GB, free: 12.13 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.285/1.287, allocations: 176.1 MB / 1.154 GB, free: 33.29 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled): time 0.004615/1.292, allocations: 2.712 MB / 1.157 GB, free: 31.47 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.003264/1.295, allocations: 2.063 MB / 1.159 GB, free: 30.11 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000144/1.295, allocations: 2.75 kB / 1.159 GB, free: 30.11 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0009152/1.296, allocations: 233.4 kB / 1.159 GB, free: 30.01 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0001973/1.296, allocations: 84.73 kB / 1.159 GB, free: 29.95 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001417/1.298, allocations: 491.1 kB / 1.159 GB, free: 29.72 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0007405/1.299, allocations: 0.5175 MB / 1.16 GB, free: 29.49 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001542/1.299, allocations: 31.2 kB / 1.16 GB, free: 29.47 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002402/1.299, allocations: 208.3 kB / 1.16 GB, free: 29.39 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003121/1.299, allocations: 202 kB / 1.16 GB, free: 29.31 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 8.747e-05/1.299, allocations: 36.88 kB / 1.16 GB, free: 29.31 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005649/1.3, allocations: 270.1 kB / 1.161 GB, free: 29.25 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001903/1.3, allocations: 166 kB / 1.161 GB, free: 29.18 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001826/1.3, allocations: 170.9 kB / 1.161 GB, free: 29.08 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0007925/1.301, allocations: 0.7587 MB / 1.162 GB, free: 28.84 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 7.835e-06/1.301, allocations: 0 / 1.162 GB, free: 28.84 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.305e-06/1.301, allocations: 0 / 1.162 GB, free: 28.84 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.046e-05/1.301, allocations: 0 / 1.162 GB, free: 28.84 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.001388/1.303, allocations: 0.7784 MB / 1.162 GB, free: 28.26 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.062e-05/1.303, allocations: 11.72 kB / 1.162 GB, free: 28.26 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002066/1.305, allocations: 232.7 kB / 1.163 GB, free: 28.22 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005184/1.305, allocations: 372.7 kB / 1.163 GB, free: 27.97 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000133/1.305, allocations: 139.9 kB / 1.163 GB, free: 27.83 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.023e-05/1.305, allocations: 13.16 kB / 1.163 GB, free: 27.83 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00123/1.307, allocations: 0.5409 MB / 1.164 GB, free: 27.66 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.416e-05/1.307, allocations: 0 / 1.164 GB, free: 27.66 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.915e-05/1.307, allocations: 4 kB / 1.164 GB, free: 27.66 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/1.307, allocations: 2.625 kB / 1.164 GB, free: 27.66 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001987/1.309, allocations: 0.7594 MB / 1.164 GB, free: 27.48 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001982/1.311, allocations: 1.112 MB / 1.166 GB, free: 26.96 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005159/1.316, allocations: 1.006 MB / 1.166 GB, free: 26.74 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008946/1.317, allocations: 385.4 kB / 1.167 GB, free: 26.64 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 3.068e-05/1.317, allocations: 6.625 kB / 1.167 GB, free: 26.63 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001145/1.318, allocations: 0.5298 MB / 1.167 GB, free: 26.46 MB / 1.076 GB Notification: Performance of pre-optimization done (n=21): time 2.845e-06/1.318, allocations: 0 / 1.167 GB, free: 26.46 MB / 1.076 GB Notification: Performance of matching and sorting (n=21): time 0.003104/1.321, allocations: 1.19 MB / 1.169 GB, free: 26.12 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.82e-05/1.321, allocations: 55.34 kB / 1.169 GB, free: 26.05 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008262/1.322, allocations: 0.5182 MB / 1.169 GB, free: 25.82 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 6.093e-05/1.322, allocations: 33.89 kB / 1.169 GB, free: 25.79 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001801/1.322, allocations: 200.2 kB / 1.169 GB, free: 25.62 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 9.132e-05/1.322, allocations: 75.41 kB / 1.169 GB, free: 25.56 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000191/1.322, allocations: 63.33 kB / 1.169 GB, free: 25.54 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.000114/1.322, allocations: 358.5 kB / 1.17 GB, free: 25.2 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001318/1.324, allocations: 0.4933 MB / 1.17 GB, free: 25.04 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001191/1.325, allocations: 0.5625 MB / 1.171 GB, free: 24.83 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002029/1.327, allocations: 0.7652 MB / 1.172 GB, free: 24.6 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/1.327, allocations: 0 / 1.172 GB, free: 24.6 MB / 1.076 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.002532/1.33, allocations: 1.109 MB / 1.173 GB, free: 24.23 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 5.853e-05/1.33, allocations: 43.89 kB / 1.173 GB, free: 24.2 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.024e-06/1.33, allocations: 0 / 1.173 GB, free: 24.2 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.087e-05/1.33, allocations: 1.375 kB / 1.173 GB, free: 24.2 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006157/1.33, allocations: 94.12 kB / 1.173 GB, free: 24.19 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.235e-06/1.33, allocations: 1.344 kB / 1.173 GB, free: 24.19 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005592/1.331, allocations: 61 kB / 1.173 GB, free: 24.18 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.673e-05/1.331, allocations: 18.38 kB / 1.173 GB, free: 24.17 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (cooCap.checkBoundsTCon[1],$PRE.cooCap.checkBoundsTCon[1],cooCap.checkBoundsTEva[1],$PRE.cooCap.checkBoundsTEva[1],cooCap.stage,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 1 * 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.0003227/1.331, allocations: 212.3 kB / 1.173 GB, free: 24.02 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.03e-05/1.331, allocations: 44.88 kB / 1.173 GB, free: 24 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.949e-05/1.331, allocations: 51.72 kB / 1.173 GB, free: 23.97 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.74e-06/1.331, allocations: 9.781 kB / 1.173 GB, free: 23.96 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.906e-06/1.331, allocations: 1.625 kB / 1.173 GB, free: 23.96 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/1.331, allocations: 1.547 kB / 1.173 GB, free: 23.96 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006726/1.332, allocations: 0.5065 MB / 1.174 GB, free: 23.7 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/1.332, allocations: 0.6562 kB / 1.174 GB, free: 23.7 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006253/1.333, allocations: 90.45 kB / 1.174 GB, free: 23.7 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/1.333, allocations: 1.375 kB / 1.174 GB, free: 23.7 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.153e-05/1.333, allocations: 12.67 kB / 1.174 GB, free: 23.69 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/1.333, allocations: 5.891 kB / 1.174 GB, free: 23.69 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/1.333, allocations: 3.938 kB / 1.174 GB, free: 23.68 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002311/1.335, allocations: 0.8392 MB / 1.175 GB, free: 23.4 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002757/1.335, allocations: 120.4 kB / 1.175 GB, free: 23.34 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.925e-05/1.335, allocations: 9.25 kB / 1.175 GB, free: 23.34 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005658/1.336, allocations: 59.48 kB / 1.175 GB, free: 23.33 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001125/1.336, allocations: 31.69 kB / 1.175 GB, free: 23.32 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.435e-05/1.336, allocations: 11.39 kB / 1.175 GB, free: 23.32 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0004985/1.337, allocations: 391.1 kB / 1.175 GB, free: 23.15 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/1.337, allocations: 0 / 1.175 GB, free: 23.15 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0004568/1.337, allocations: 105.3 kB / 1.175 GB, free: 23.13 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition2,$whenCondition1,cooCap.stage,cooCap.checkBoundsTEva[1],cooCap.checkBoundsTCon[1]) * Number of discrete states: 3 (cooCap.stage,cooCap.checkBoundsTEva[cooCap.stage],cooCap.checkBoundsTCon[cooCap.stage]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0002603/1.337, allocations: 134.2 kB / 1.175 GB, free: 23.04 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.002467/1.34, allocations: 0.9631 MB / 1.176 GB, free: 22.71 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/1.34, allocations: 1.438 kB / 1.176 GB, free: 22.71 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.001139/1.341, allocations: 406.5 kB / 1.177 GB, free: 22.62 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004953/1.341, allocations: 98.95 kB / 1.177 GB, free: 22.57 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002608/1.344, allocations: 1.059 MB / 1.178 GB, free: 22.11 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003417/1.344, allocations: 249.7 kB / 1.178 GB, free: 22 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0004985/1.345, allocations: 131.7 kB / 1.178 GB, free: 21.96 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001871/1.345, allocations: 43.81 kB / 1.178 GB, free: 21.95 MB / 1.076 GB Notification: Performance of SimCode: time 7.72e-07/1.345, allocations: 0 / 1.178 GB, free: 21.95 MB / 1.076 GB Notification: Performance of Templates: time 0.02059/1.366, allocations: 9.394 MB / 1.187 GB, free: 20.86 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe ; mkfifo Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe >> ../files/Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.sim & ./Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_CoolingCapacityWaterCooled.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.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: 10.209653948084451]