Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0014/0.0014, allocations: 110.4 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.001495/0.001495, allocations: 213.7 kB / 22.25 MB, free: 5.125 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.513/1.513, allocations: 230.6 MB / 256 MB, free: 7.98 MB / 206.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.86/2.86, allocations: 476.7 MB / 0.7707 GB, free: 4.301 MB / 0.6231 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: "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal,fileNamePrefix="Buildings_11_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_EvaporationFlowReversal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal,fileNamePrefix="Buildings_11_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.002103/0.002103, allocations: 63.94 kB / 1.117 GB, free: 40.33 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2917/0.2938, allocations: 170 MB / 1.283 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal): time 0.004696/0.2985, allocations: 2.428 MB / 1.286 GB, free: 9.273 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.186/0.4845, allocations: 154.3 MB / 1.437 GB, free: 14.34 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002324/0.4847, allocations: 7.938 kB / 1.437 GB, free: 14.33 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0003898/0.4851, allocations: 91.42 kB / 1.437 GB, free: 14.24 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.0007633/0.4859, allocations: 242.6 kB / 1.437 GB, free: 14 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.001901/0.4878, allocations: 0.6756 MB / 1.437 GB, free: 13.34 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.0006463/0.4884, allocations: 438.5 kB / 1.438 GB, free: 12.91 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001124/0.4886, allocations: 36.89 kB / 1.438 GB, free: 12.88 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002485/0.4888, allocations: 191.4 kB / 1.438 GB, free: 12.69 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003698/0.4892, allocations: 203.3 kB / 1.438 GB, free: 12.49 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 5.814e-05/0.4892, allocations: 32 kB / 1.438 GB, free: 12.46 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001382/0.4906, allocations: 0.6746 MB / 1.439 GB, free: 11.78 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0001236/0.4907, allocations: 83.72 kB / 1.439 GB, free: 11.7 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0001908/0.4909, allocations: 163.2 kB / 1.439 GB, free: 11.54 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.001092/0.492, allocations: 0.6698 MB / 1.44 GB, free: 10.87 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 6.012e-06/0.492, allocations: 4 kB / 1.44 GB, free: 10.87 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.453e-06/0.492, allocations: 4 kB / 1.44 GB, free: 10.86 MB / 1.139 GB Notification: Performance of Transformations before backend: time 1.332e-05/0.492, allocations: 0 / 1.44 GB, free: 10.86 MB / 1.139 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.001715/0.4938, allocations: 0.6912 MB / 1.441 GB, free: 10.13 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.4938, allocations: 12.03 kB / 1.441 GB, free: 10.12 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.218e-05/0.4939, allocations: 50.67 kB / 1.441 GB, free: 10.06 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001946/0.4958, allocations: 188.5 kB / 1.441 GB, free: 9.879 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004986/0.4963, allocations: 265.5 kB / 1.441 GB, free: 9.598 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.04e-05/0.4964, allocations: 53.62 kB / 1.441 GB, free: 9.539 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.174e-05/0.4964, allocations: 16 kB / 1.441 GB, free: 9.523 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00045/0.4969, allocations: 209.3 kB / 1.441 GB, free: 9.305 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.4969, allocations: 4 kB / 1.441 GB, free: 9.301 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.423e-05/0.4969, allocations: 4 kB / 1.441 GB, free: 9.297 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.648e-06/0.4969, allocations: 7.984 kB / 1.441 GB, free: 9.289 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002898/0.4972, allocations: 116.1 kB / 1.441 GB, free: 9.176 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002659/0.4999, allocations: 0.9642 MB / 1.442 GB, free: 8.16 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008071/0.5007, allocations: 154.5 kB / 1.443 GB, free: 8 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002093/0.5009, allocations: 80.83 kB / 1.443 GB, free: 7.918 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 2.772e-05/0.5009, allocations: 0 / 1.443 GB, free: 7.918 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004184/0.5014, allocations: 200.9 kB / 1.443 GB, free: 7.703 MB / 1.139 GB Notification: Performance of pre-optimization done (n=19): time 1.452e-06/0.5014, allocations: 0 / 1.443 GB, free: 7.703 MB / 1.139 GB Notification: Performance of matching and sorting (n=19): time 0.004616/0.506, allocations: 0.7982 MB / 1.444 GB, free: 6.891 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.084e-05/0.506, allocations: 89.05 kB / 1.444 GB, free: 6.785 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004637/0.5065, allocations: 344.4 kB / 1.444 GB, free: 6.434 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 5.666e-05/0.5066, allocations: 33.7 kB / 1.444 GB, free: 6.395 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001473/0.5067, allocations: 152.6 kB / 1.444 GB, free: 6.242 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 6.944e-05/0.5068, allocations: 59.53 kB / 1.444 GB, free: 6.184 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000165/0.5069, allocations: 85.94 kB / 1.444 GB, free: 6.09 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001716/0.5071, allocations: 338.8 kB / 1.445 GB, free: 5.75 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003702/0.5075, allocations: 148.5 kB / 1.445 GB, free: 5.605 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004453/0.5079, allocations: 213.4 kB / 1.445 GB, free: 5.383 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006928/0.5086, allocations: 332.7 kB / 1.445 GB, free: 5.031 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.5086, allocations: 0 / 1.445 GB, free: 5.031 MB / 1.139 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.004131/0.5128, allocations: 0.8773 MB / 1.446 GB, free: 4.137 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 4.866e-05/0.5128, allocations: 35.73 kB / 1.446 GB, free: 4.098 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.5128, allocations: 0 / 1.446 GB, free: 4.098 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00103/0.5138, allocations: 209.6 kB / 1.446 GB, free: 3.887 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002618/0.5141, allocations: 43.92 kB / 1.446 GB, free: 3.844 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003465/0.5176, allocations: 2.238 MB / 1.449 GB, free: 1.461 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004941/0.5181, allocations: 43.75 kB / 1.449 GB, free: 1.418 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.684e-05/0.5181, allocations: 19.98 kB / 1.449 GB, free: 1.398 MB / 1.139 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.0003018/0.5184, allocations: 194.5 kB / 1.449 GB, free: 1.199 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.73e-05/0.5185, allocations: 35.77 kB / 1.449 GB, free: 1.164 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.608e-05/0.5186, allocations: 39.05 kB / 1.449 GB, free: 1.125 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.5186, allocations: 0 / 1.449 GB, free: 1.125 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.5186, allocations: 3.938 kB / 1.449 GB, free: 1.121 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.5186, allocations: 3.984 kB / 1.449 GB, free: 1.117 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003706/0.5223, allocations: 1.007 MB / 1.45 GB, free: 52 kB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.5223, allocations: 0 / 1.45 GB, free: 52 kB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.552e-05/0.5224, allocations: 8 kB / 1.45 GB, free: 44 kB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003723/0.5227, allocations: 116.8 kB / 1.45 GB, free: 15.93 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.488e-05/0.5228, allocations: 19.92 kB / 1.45 GB, free: 15.91 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001064/0.5238, allocations: 0.7461 MB / 1.451 GB, free: 15.14 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.5238, allocations: 0 / 1.451 GB, free: 15.14 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003536/0.5274, allocations: 0.8846 MB / 1.452 GB, free: 14.23 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001717/0.5275, allocations: 59.78 kB / 1.452 GB, free: 14.17 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.983e-05/0.5276, allocations: 8 kB / 1.452 GB, free: 14.16 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002839/0.5279, allocations: 11.98 kB / 1.452 GB, free: 14.15 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.652e-05/0.5279, allocations: 15.91 kB / 1.452 GB, free: 14.14 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.145e-05/0.528, allocations: 11.98 kB / 1.452 GB, free: 14.12 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0003579/0.5283, allocations: 247 kB / 1.452 GB, free: 13.88 MB / 1.154 GB Notification: Performance of sort global known variables: time 1e-07/0.5283, allocations: 0 / 1.452 GB, free: 13.88 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0005976/0.5289, allocations: 115.8 kB / 1.452 GB, free: 13.77 MB / 1.154 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.001865/0.5308, allocations: 1.218 MB / 1.453 GB, free: 12.51 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.001807/0.5326, allocations: 0.5343 MB / 1.454 GB, free: 11.95 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.5326, allocations: 4 kB / 1.454 GB, free: 11.95 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0007921/0.5334, allocations: 220.1 kB / 1.454 GB, free: 11.71 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005303/0.5339, allocations: 57.11 kB / 1.454 GB, free: 11.66 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01256/0.5465, allocations: 4.381 MB / 1.458 GB, free: 7.164 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004705/0.547, allocations: 0.7599 MB / 1.459 GB, free: 6.379 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.000163/0.5471, allocations: 22.3 kB / 1.459 GB, free: 6.359 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001508/0.5473, allocations: 87.41 kB / 1.459 GB, free: 6.273 MB / 1.154 GB Notification: Performance of SimCode: time 8.52e-07/0.5473, allocations: 0 / 1.459 GB, free: 6.273 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04787/0.5951, allocations: 10.63 MB / 1.47 GB, free: 11.85 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.45/14.05, allocations: 11.8 kB / 1.47 GB, free: 11.84 MB / 1.17 GB " [Timeout remaining time 285] (rm -f Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe ; mkfifo Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe >> ../files/Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_EvaporationFlowReversal_fmu --startTime=0 --stopTime=2400 --stepSize=0.96 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_EvaporationFlowReversal.fmu > Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_EvaporationFlowReversal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 20.73879386507906]