Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.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.001793/0.001793, allocations: 109.2 kB / 18.94 MB, free: 2.949 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.002328/0.002328, allocations: 219.7 kB / 22.26 MB, free: 5.121 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.459/1.459, allocations: 230.6 MB / 256 MB, free: 7.969 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.218/3.218, allocations: 0.505 GB / 0.8101 GB, free: 22.02 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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: "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal,fileNamePrefix="Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_EvaporationFlowReversal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal,fileNamePrefix="Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_EvaporationFlowReversal",fmuType="me",version="2.0",platforms={"static"}) [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.002053/0.002053, allocations: 66.97 kB / 1.177 GB, free: 17.08 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3158/0.3179, allocations: 180.2 MB / 1.353 GB, free: 8.426 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal): time 0.003832/0.3217, allocations: 2.426 MB / 1.355 GB, free: 5.988 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.1867/0.5084, allocations: 154.4 MB / 1.506 GB, free: 11.05 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002385/0.5087, allocations: 3.938 kB / 1.506 GB, free: 11.04 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0004354/0.5091, allocations: 99.42 kB / 1.506 GB, free: 10.95 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.000846/0.51, allocations: 246.6 kB / 1.506 GB, free: 10.7 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.00194/0.5119, allocations: 0.6688 MB / 1.507 GB, free: 10.04 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.0007374/0.5126, allocations: 446.5 kB / 1.507 GB, free: 9.605 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001345/0.5128, allocations: 40.83 kB / 1.507 GB, free: 9.57 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003328/0.5131, allocations: 183.4 kB / 1.508 GB, free: 9.391 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004492/0.5135, allocations: 207.3 kB / 1.508 GB, free: 9.188 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 7.622e-05/0.5136, allocations: 28 kB / 1.508 GB, free: 9.16 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001432/0.5151, allocations: 0.6668 MB / 1.508 GB, free: 8.492 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0001322/0.5152, allocations: 83.77 kB / 1.509 GB, free: 8.41 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0002164/0.5154, allocations: 167.2 kB / 1.509 GB, free: 8.246 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.001244/0.5166, allocations: 0.6735 MB / 1.509 GB, free: 7.57 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.5167, allocations: 0 / 1.509 GB, free: 7.57 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.463e-06/0.5167, allocations: 0 / 1.509 GB, free: 7.57 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.879e-05/0.5167, allocations: 0 / 1.509 GB, free: 7.57 MB / 1.201 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.001879/0.5185, allocations: 0.7036 MB / 1.51 GB, free: 6.828 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.5186, allocations: 8.031 kB / 1.51 GB, free: 6.82 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.019e-05/0.5187, allocations: 42.75 kB / 1.51 GB, free: 6.77 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002009/0.5207, allocations: 192.5 kB / 1.51 GB, free: 6.582 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006558/0.5213, allocations: 261.5 kB / 1.511 GB, free: 6.301 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.693e-05/0.5214, allocations: 49.69 kB / 1.511 GB, free: 6.246 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.913e-05/0.5215, allocations: 20 kB / 1.511 GB, free: 6.227 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004546/0.5219, allocations: 208 kB / 1.511 GB, free: 6.008 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.5219, allocations: 0 / 1.511 GB, free: 6.008 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.51e-05/0.522, allocations: 11.98 kB / 1.511 GB, free: 5.996 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.877e-05/0.522, allocations: 4 kB / 1.511 GB, free: 5.992 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002948/0.5223, allocations: 116.1 kB / 1.511 GB, free: 5.879 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002773/0.525, allocations: 0.9643 MB / 1.512 GB, free: 4.863 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000826/0.5259, allocations: 154.5 kB / 1.512 GB, free: 4.703 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002219/0.5261, allocations: 80.83 kB / 1.512 GB, free: 4.621 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 2.98e-05/0.5261, allocations: 4 kB / 1.512 GB, free: 4.617 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003922/0.5265, allocations: 192.9 kB / 1.512 GB, free: 4.41 MB / 1.201 GB Notification: Performance of pre-optimization done (n=19): time 1.934e-06/0.5265, allocations: 0 / 1.512 GB, free: 4.41 MB / 1.201 GB Notification: Performance of matching and sorting (n=19): time 0.004718/0.5312, allocations: 0.8 MB / 1.513 GB, free: 3.594 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.102e-05/0.5313, allocations: 89.09 kB / 1.513 GB, free: 3.488 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004817/0.5318, allocations: 344.4 kB / 1.513 GB, free: 3.141 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 6.47e-05/0.5318, allocations: 33.7 kB / 1.514 GB, free: 3.102 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001443/0.532, allocations: 148.7 kB / 1.514 GB, free: 2.953 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 7.018e-05/0.5321, allocations: 63.52 kB / 1.514 GB, free: 2.891 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001688/0.5322, allocations: 85.94 kB / 1.514 GB, free: 2.797 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001662/0.5324, allocations: 342.8 kB / 1.514 GB, free: 2.453 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003674/0.5328, allocations: 140.5 kB / 1.514 GB, free: 2.316 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000459/0.5332, allocations: 225.3 kB / 1.514 GB, free: 2.082 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007134/0.5339, allocations: 344.9 kB / 1.515 GB, free: 1.719 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/0.5339, allocations: 0 / 1.515 GB, free: 1.719 MB / 1.201 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.00413/0.5381, allocations: 0.8648 MB / 1.516 GB, free: 0.8359 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 5.168e-05/0.5381, allocations: 37.7 kB / 1.516 GB, free: 0.793 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.5381, allocations: 4.094 kB / 1.516 GB, free: 0.7891 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009993/0.5391, allocations: 201.5 kB / 1.516 GB, free: 0.5859 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000273/0.5394, allocations: 43.91 kB / 1.516 GB, free: 0.543 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003307/0.5427, allocations: 2.24 MB / 1.518 GB, free: 14.16 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005263/0.5432, allocations: 47.72 kB / 1.518 GB, free: 14.11 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.552e-05/0.5433, allocations: 20.22 kB / 1.518 GB, free: 14.09 MB / 1.217 GB Warning: Assuming fixed start value for the following 1 variables: eva.off:DISCRETE(fixed = true protected = true ) \"Signal, true when component is off\" type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.eva.off,eva.off,$whenCondition2,mAir_flow.a,mAir_flow.b,mAir_flow.last,mAir_flow.nextEvent,$PRE.mAir_flow.nextEvent,mAir_flow.nextEventScaled,$whenCondition1,int.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {7} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0002919/0.5436, allocations: 181.6 kB / 1.518 GB, free: 13.9 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.723e-05/0.5437, allocations: 39.8 kB / 1.518 GB, free: 13.86 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.153e-05/0.5437, allocations: 23.12 kB / 1.518 GB, free: 13.84 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.5437, allocations: 0 / 1.518 GB, free: 13.84 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.042e-06/0.5437, allocations: 11.92 kB / 1.518 GB, free: 13.83 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.307e-06/0.5437, allocations: 4 kB / 1.518 GB, free: 13.82 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003649/0.5474, allocations: 1.017 MB / 1.519 GB, free: 12.75 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.262e-06/0.5474, allocations: 4 kB / 1.519 GB, free: 12.75 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.203e-05/0.5475, allocations: 11.98 kB / 1.519 GB, free: 12.73 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003375/0.5478, allocations: 108.8 kB / 1.52 GB, free: 12.62 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.751e-05/0.5478, allocations: 15.92 kB / 1.52 GB, free: 12.61 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001017/0.5489, allocations: 0.7459 MB / 1.52 GB, free: 11.84 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.5489, allocations: 0 / 1.52 GB, free: 11.84 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003504/0.5524, allocations: 0.883 MB / 1.521 GB, free: 10.93 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001714/0.5525, allocations: 59.81 kB / 1.521 GB, free: 10.88 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.4e-05/0.5526, allocations: 11.98 kB / 1.521 GB, free: 10.86 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002861/0.5529, allocations: 11.98 kB / 1.521 GB, free: 10.85 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.923e-05/0.5529, allocations: 19.92 kB / 1.521 GB, free: 10.83 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.129e-05/0.553, allocations: 7.984 kB / 1.521 GB, free: 10.82 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0003375/0.5533, allocations: 239 kB / 1.521 GB, free: 10.59 MB / 1.217 GB Notification: Performance of sort global known variables: time 9.1e-08/0.5533, allocations: 0 / 1.521 GB, free: 10.59 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0005708/0.5539, allocations: 123.8 kB / 1.522 GB, free: 10.47 MB / 1.217 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (int.y,eva.m) * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,mAir_flow.nextEventScaled,mAir_flow.nextEvent,mAir_flow.last,mAir_flow.b,mAir_flow.a,eva.off) * Number of discrete states: 7 (eva.off,mAir_flow.nextEvent,mAir_flow.last,mAir_flow.nextEventScaled,mAir_flow.b,mAir_flow.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {7} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001747/0.5556, allocations: 1.234 MB / 1.523 GB, free: 9.199 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.001671/0.5573, allocations: 0.5182 MB / 1.523 GB, free: 8.652 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.5573, allocations: 192 / 1.523 GB, free: 8.652 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0008061/0.5581, allocations: 228 kB / 1.524 GB, free: 8.414 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004911/0.5586, allocations: 54.95 kB / 1.524 GB, free: 8.363 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01252/0.5711, allocations: 4.386 MB / 1.528 GB, free: 3.855 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004743/0.5716, allocations: 0.7599 MB / 1.529 GB, free: 3.07 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0001826/0.5718, allocations: 22.3 kB / 1.529 GB, free: 3.051 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000154/0.5719, allocations: 83.41 kB / 1.529 GB, free: 2.973 MB / 1.217 GB Notification: Performance of SimCode: time 9.81e-07/0.5719, allocations: 0 / 1.529 GB, free: 2.973 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04866/0.6206, allocations: 10.63 MB / 1.539 GB, free: 8.531 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.92/14.54, allocations: 8.656 kB / 1.539 GB, free: 8.527 MB / 1.232 GB " [Timeout remaining time 285] (rm -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe ; mkfifo Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe >> ../files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_EvaporationFlowReversal_fmu --startTime=0 --stopTime=2400 --stepSize=0.96 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_EvaporationFlowReversal.fmu > Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_EvaporationFlowReversal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.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: 21.19818917498924]