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.001916/0.001916, allocations: 123.8 kB / 17.17 MB, free: 5.918 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.002414/0.002414, allocations: 210.3 kB / 20.13 MB, free: 2.98 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.523/1.523, allocations: 230.6 MB / 253.5 MB, free: 15.08 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.006/3.006, allocations: 0.5003 GB / 0.8026 GB, free: 6.762 MB / 0.6387 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal,fileNamePrefix="Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_EvaporationFlowReversal",fmuType="cs",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.002928/0.002928, allocations: 75.89 kB / 1.165 GB, free: 472 kB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9197/0.9227, allocations: 179 MB / 1.34 GB, free: 16.31 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal): time 0.003501/0.9262, allocations: 2.412 MB / 1.343 GB, free: 14.62 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.191/1.117, allocations: 154.3 MB / 1.493 GB, free: 10.09 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002724/1.117, allocations: 6.375 kB / 1.493 GB, free: 10.09 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0004175/1.118, allocations: 91.22 kB / 1.493 GB, free: 10.02 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.0008641/1.119, allocations: 241 kB / 1.494 GB, free: 9.848 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.001931/1.121, allocations: 0.673 MB / 1.494 GB, free: 9.387 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0006911/1.121, allocations: 439 kB / 1.495 GB, free: 9.137 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001223/1.121, allocations: 36.39 kB / 1.495 GB, free: 9.117 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003366/1.122, allocations: 182.5 kB / 1.495 GB, free: 9.023 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004428/1.122, allocations: 212.2 kB / 1.495 GB, free: 8.891 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 6.938e-05/1.122, allocations: 30.81 kB / 1.495 GB, free: 8.891 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001498/1.124, allocations: 0.6709 MB / 1.496 GB, free: 8.547 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0001251/1.124, allocations: 83.25 kB / 1.496 GB, free: 8.48 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0002132/1.124, allocations: 162.9 kB / 1.496 GB, free: 8.367 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.001221/1.125, allocations: 0.6674 MB / 1.497 GB, free: 7.941 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/1.125, allocations: 4 kB / 1.497 GB, free: 7.938 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.653e-06/1.125, allocations: 0 / 1.497 GB, free: 7.938 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.22e-05/1.125, allocations: 0 / 1.497 GB, free: 7.938 MB / 1.17 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.001764/1.127, allocations: 0.7617 MB / 1.497 GB, free: 7.242 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.577e-05/1.127, allocations: 12.03 kB / 1.497 GB, free: 7.23 MB / 1.17 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.728e-05/1.127, allocations: 4.188 kB / 1.497 GB, free: 7.227 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.398e-05/1.127, allocations: 46.73 kB / 1.497 GB, free: 7.172 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002051/1.129, allocations: 188.5 kB / 1.498 GB, free: 6.988 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006521/1.13, allocations: 318.5 kB / 1.498 GB, free: 6.637 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.945e-05/1.13, allocations: 49.7 kB / 1.498 GB, free: 6.582 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.447e-05/1.13, allocations: 16 kB / 1.498 GB, free: 6.566 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004691/1.131, allocations: 212.1 kB / 1.498 GB, free: 6.344 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.849e-06/1.131, allocations: 0 / 1.498 GB, free: 6.344 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.771e-05/1.131, allocations: 8 kB / 1.498 GB, free: 6.336 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.328e-06/1.131, allocations: 4 kB / 1.498 GB, free: 6.332 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003065/1.131, allocations: 120.1 kB / 1.498 GB, free: 6.215 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002731/1.134, allocations: 1 MB / 1.499 GB, free: 5.156 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008562/1.135, allocations: 146.5 kB / 1.499 GB, free: 5.004 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002596/1.135, allocations: 80.83 kB / 1.499 GB, free: 4.922 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 2.219e-05/1.135, allocations: 4 kB / 1.499 GB, free: 4.918 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004186/1.135, allocations: 198.1 kB / 1.5 GB, free: 4.707 MB / 1.17 GB Notification: Performance of pre-optimization done (n=19): time 2.094e-06/1.135, allocations: 0 / 1.5 GB, free: 4.707 MB / 1.17 GB Notification: Performance of matching and sorting (n=19): time 0.004708/1.14, allocations: 0.8693 MB / 1.501 GB, free: 3.805 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.49e-05/1.14, allocations: 81.11 kB / 1.501 GB, free: 3.707 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005238/1.141, allocations: 340.4 kB / 1.501 GB, free: 3.367 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 9.841e-05/1.141, allocations: 37.7 kB / 1.501 GB, free: 3.324 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001405/1.141, allocations: 140.7 kB / 1.501 GB, free: 3.184 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 7.762e-05/1.141, allocations: 67.45 kB / 1.501 GB, free: 3.117 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001823/1.141, allocations: 89.94 kB / 1.501 GB, free: 3.02 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.000165/1.141, allocations: 346.7 kB / 1.502 GB, free: 2.672 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003855/1.142, allocations: 140.5 kB / 1.502 GB, free: 2.535 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004726/1.142, allocations: 221.4 kB / 1.502 GB, free: 2.305 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007521/1.143, allocations: 337.5 kB / 1.502 GB, free: 1.949 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/1.143, allocations: 4 kB / 1.502 GB, free: 1.945 MB / 1.17 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.004295/1.147, allocations: 0.8687 MB / 1.503 GB, free: 1.059 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 5.144e-05/1.147, allocations: 33.7 kB / 1.503 GB, free: 1.02 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/1.147, allocations: 0 / 1.503 GB, free: 1.02 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001062/1.148, allocations: 213.5 kB / 1.503 GB, free: 0.8047 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002758/1.149, allocations: 35.92 kB / 1.503 GB, free: 0.7695 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003561/1.152, allocations: 2.356 MB / 1.506 GB, free: 14.25 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005695/1.153, allocations: 43.72 kB / 1.506 GB, free: 14.21 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.11e-05/1.153, allocations: 19.98 kB / 1.506 GB, free: 14.19 MB / 1.186 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.nextEventScaled,mAir_flow.nextEvent,$PRE.mAir_flow.nextEvent,mAir_flow.last,mAir_flow.b,mAir_flow.a,$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.0002957/1.153, allocations: 187.4 kB / 1.506 GB, free: 13.99 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.466e-05/1.153, allocations: 35.8 kB / 1.506 GB, free: 13.95 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.716e-05/1.153, allocations: 27.19 kB / 1.506 GB, free: 13.93 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.74e-06/1.153, allocations: 7.938 kB / 1.506 GB, free: 13.92 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/1.153, allocations: 3.938 kB / 1.506 GB, free: 13.91 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/1.153, allocations: 3.984 kB / 1.506 GB, free: 13.91 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003832/1.157, allocations: 1.044 MB / 1.507 GB, free: 12.8 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-06/1.157, allocations: 0 / 1.507 GB, free: 12.8 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.515e-05/1.157, allocations: 7.984 kB / 1.507 GB, free: 12.79 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003566/1.157, allocations: 112.7 kB / 1.507 GB, free: 12.68 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.123e-05/1.158, allocations: 11.98 kB / 1.507 GB, free: 12.67 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001048/1.159, allocations: 0.7421 MB / 1.508 GB, free: 11.9 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/1.159, allocations: 0 / 1.508 GB, free: 11.9 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003641/1.162, allocations: 0.8946 MB / 1.509 GB, free: 10.98 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002581/1.162, allocations: 140.8 kB / 1.509 GB, free: 10.83 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.949e-05/1.163, allocations: 8 kB / 1.509 GB, free: 10.82 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003065/1.163, allocations: 12.05 kB / 1.509 GB, free: 10.81 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.679e-05/1.163, allocations: 11.98 kB / 1.509 GB, free: 10.8 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.926e-05/1.163, allocations: 11.98 kB / 1.509 GB, free: 10.79 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0003572/1.163, allocations: 239 kB / 1.509 GB, free: 10.55 MB / 1.186 GB Notification: Performance of sort global known variables: time 9e-08/1.163, allocations: 0 / 1.509 GB, free: 10.55 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0006405/1.164, allocations: 115.9 kB / 1.509 GB, free: 10.44 MB / 1.186 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (eva.m,int.y) * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,eva.off,mAir_flow.a,mAir_flow.b,mAir_flow.last,mAir_flow.nextEvent,mAir_flow.nextEventScaled) * 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.0019/1.166, allocations: 1.234 MB / 1.51 GB, free: 9.172 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001797/1.168, allocations: 0.526 MB / 1.511 GB, free: 8.617 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/1.168, allocations: 0 / 1.511 GB, free: 8.617 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0008427/1.169, allocations: 228.1 kB / 1.511 GB, free: 8.379 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006468/1.169, allocations: 64.92 kB / 1.511 GB, free: 8.316 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01275/1.182, allocations: 4.372 MB / 1.515 GB, free: 3.84 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000402/1.182, allocations: 0.7637 MB / 1.516 GB, free: 3.051 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.000172/1.182, allocations: 30.28 kB / 1.516 GB, free: 3.02 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001451/1.183, allocations: 83.41 kB / 1.516 GB, free: 2.938 MB / 1.186 GB Notification: Performance of SimCode: time 1.162e-06/1.183, allocations: 0 / 1.516 GB, free: 2.938 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03583/1.218, allocations: 10.51 MB / 1.527 GB, free: 8.695 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.3/14.52, allocations: 20.56 kB / 1.527 GB, free: 8.684 MB / 1.201 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: 20.986117093008943]