Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001329/0.001329, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001537/0.001537, allocations: 215.2 kB / 22.25 MB, free: 5.082 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.484/1.484, allocations: 230.6 MB / 256 MB, free: 8.031 MB / 206.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 3.192/3.192, allocations: 0.49 GB / 0.7951 GB, free: 33.45 MB / 0.6231 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: "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal,fileNamePrefix="Buildings_12_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_EvaporationFlowReversal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal,fileNamePrefix="Buildings_12_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.002129/0.002129, allocations: 72.97 kB / 1.154 GB, free: 25.69 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3249/0.327, allocations: 176.1 MB / 1.326 GB, free: 1.895 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal): time 0.004172/0.3312, allocations: 2.443 MB / 1.328 GB, free: 15.44 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1864/0.5175, allocations: 154.3 MB / 1.479 GB, free: 4.512 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000204/0.5177, allocations: 4 kB / 1.479 GB, free: 4.508 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0003678/0.5181, allocations: 99.42 kB / 1.479 GB, free: 4.41 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.0007049/0.5188, allocations: 238.6 kB / 1.479 GB, free: 4.176 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.001625/0.5204, allocations: 0.6798 MB / 1.48 GB, free: 3.504 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0005242/0.521, allocations: 442.5 kB / 1.48 GB, free: 3.07 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001039/0.5211, allocations: 36.91 kB / 1.48 GB, free: 3.035 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002307/0.5213, allocations: 175.5 kB / 1.481 GB, free: 2.863 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003551/0.5217, allocations: 219.2 kB / 1.481 GB, free: 2.648 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 5.685e-05/0.5217, allocations: 28 kB / 1.481 GB, free: 2.621 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001243/0.523, allocations: 0.6668 MB / 1.482 GB, free: 1.953 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0001114/0.5231, allocations: 83.72 kB / 1.482 GB, free: 1.871 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0001793/0.5233, allocations: 163.2 kB / 1.482 GB, free: 1.711 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.0009623/0.5242, allocations: 0.6735 MB / 1.482 GB, free: 1.035 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 6.181e-06/0.5242, allocations: 4 kB / 1.482 GB, free: 1.031 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.172e-06/0.5242, allocations: 0 / 1.482 GB, free: 1.031 MB / 1.17 GB Notification: Performance of Transformations before backend: time 6.051e-06/0.5242, allocations: 0 / 1.482 GB, free: 1.031 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.001637/0.5259, allocations: 0.7014 MB / 1.483 GB, free: 296 kB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.202e-05/0.5259, allocations: 12.03 kB / 1.483 GB, free: 284 kB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.317e-05/0.526, allocations: 46.73 kB / 1.483 GB, free: 228 kB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001949/0.5279, allocations: 184.5 kB / 1.483 GB, free: 44 kB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005636/0.5285, allocations: 269.4 kB / 1.484 GB, free: 15.75 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.685e-05/0.5285, allocations: 45.7 kB / 1.484 GB, free: 15.7 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.071e-05/0.5286, allocations: 16 kB / 1.484 GB, free: 15.68 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000463/0.5291, allocations: 204.1 kB / 1.484 GB, free: 15.47 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.828e-06/0.5291, allocations: 4 kB / 1.484 GB, free: 15.46 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.421e-05/0.5291, allocations: 11.94 kB / 1.484 GB, free: 15.45 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.5291, allocations: 4 kB / 1.484 GB, free: 15.45 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002793/0.5294, allocations: 113.8 kB / 1.484 GB, free: 15.34 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002685/0.5321, allocations: 0.9604 MB / 1.485 GB, free: 14.33 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007729/0.5328, allocations: 154.4 kB / 1.485 GB, free: 14.17 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002144/0.5331, allocations: 84.81 kB / 1.485 GB, free: 14.08 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 2.649e-05/0.5331, allocations: 4 kB / 1.485 GB, free: 14.08 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003845/0.5335, allocations: 185 kB / 1.485 GB, free: 13.88 MB / 1.186 GB Notification: Performance of pre-optimization done (n=19): time 1.552e-06/0.5335, allocations: 0 / 1.485 GB, free: 13.88 MB / 1.186 GB Notification: Performance of matching and sorting (n=19): time 0.004688/0.5382, allocations: 0.8169 MB / 1.486 GB, free: 13.05 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.635e-05/0.5382, allocations: 85.11 kB / 1.486 GB, free: 12.95 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004363/0.5387, allocations: 340.5 kB / 1.487 GB, free: 12.61 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 5.45e-05/0.5387, allocations: 33.7 kB / 1.487 GB, free: 12.57 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.000145/0.5389, allocations: 148.7 kB / 1.487 GB, free: 12.41 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 6.093e-05/0.5389, allocations: 59.53 kB / 1.487 GB, free: 12.36 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001594/0.5391, allocations: 81.94 kB / 1.487 GB, free: 12.27 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001615/0.5392, allocations: 346.7 kB / 1.487 GB, free: 11.92 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000358/0.5396, allocations: 140.5 kB / 1.487 GB, free: 11.78 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004439/0.5401, allocations: 221.4 kB / 1.488 GB, free: 11.55 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006891/0.5407, allocations: 344.8 kB / 1.488 GB, free: 11.19 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.5407, allocations: 3.938 kB / 1.488 GB, free: 11.18 MB / 1.186 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.004015/0.5448, allocations: 0.8648 MB / 1.489 GB, free: 10.3 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 5.057e-05/0.5448, allocations: 41.69 kB / 1.489 GB, free: 10.25 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.5448, allocations: 0 / 1.489 GB, free: 10.25 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009778/0.5458, allocations: 193.6 kB / 1.489 GB, free: 10.06 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002492/0.546, allocations: 47.84 kB / 1.489 GB, free: 10.01 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003287/0.5493, allocations: 2.235 MB / 1.491 GB, free: 7.637 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004588/0.5498, allocations: 47.83 kB / 1.491 GB, free: 7.59 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.915e-05/0.5498, allocations: 19.97 kB / 1.491 GB, free: 7.57 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.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.0002567/0.5501, allocations: 193.1 kB / 1.491 GB, free: 7.367 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.253e-05/0.5502, allocations: 31.77 kB / 1.491 GB, free: 7.336 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.4e-05/0.5502, allocations: 27.11 kB / 1.491 GB, free: 7.309 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.5502, allocations: 8 kB / 1.491 GB, free: 7.301 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.127e-06/0.5502, allocations: 7.875 kB / 1.491 GB, free: 7.293 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.5502, allocations: 0 / 1.491 GB, free: 7.293 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003494/0.5537, allocations: 1.013 MB / 1.492 GB, free: 6.223 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.5537, allocations: 0 / 1.492 GB, free: 6.223 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.325e-05/0.5538, allocations: 8 kB / 1.492 GB, free: 6.215 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000319/0.5541, allocations: 128.8 kB / 1.493 GB, free: 6.086 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.778e-05/0.5541, allocations: 7.938 kB / 1.493 GB, free: 6.078 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009819/0.5551, allocations: 0.7499 MB / 1.493 GB, free: 5.305 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.5551, allocations: 4 kB / 1.493 GB, free: 5.301 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003405/0.5585, allocations: 0.8764 MB / 1.494 GB, free: 4.398 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002082/0.5587, allocations: 55.8 kB / 1.494 GB, free: 4.344 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.468e-05/0.5588, allocations: 4 kB / 1.494 GB, free: 4.34 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002592/0.559, allocations: 11.98 kB / 1.494 GB, free: 4.328 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.65e-05/0.5591, allocations: 15.97 kB / 1.494 GB, free: 4.312 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.258e-05/0.5591, allocations: 8 kB / 1.494 GB, free: 4.305 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0004177/0.5595, allocations: 243 kB / 1.495 GB, free: 4.07 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5595, allocations: 4.062 kB / 1.495 GB, free: 4.066 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0005098/0.56, allocations: 115.8 kB / 1.495 GB, free: 3.953 MB / 1.186 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.001706/0.5617, allocations: 1.252 MB / 1.496 GB, free: 2.668 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001679/0.5634, allocations: 0.5189 MB / 1.496 GB, free: 2.121 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.5634, allocations: 3.938 kB / 1.496 GB, free: 2.117 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0007477/0.5642, allocations: 224 kB / 1.497 GB, free: 1.883 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004818/0.5646, allocations: 70.88 kB / 1.497 GB, free: 1.812 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01223/0.5769, allocations: 4.377 MB / 1.501 GB, free: 13.32 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005701/0.5774, allocations: 0.756 MB / 1.502 GB, free: 12.54 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0001564/0.5776, allocations: 30.28 kB / 1.502 GB, free: 12.52 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001739/0.5778, allocations: 87.34 kB / 1.502 GB, free: 12.43 MB / 1.201 GB Notification: Performance of SimCode: time 5.71e-07/0.5778, allocations: 4 kB / 1.502 GB, free: 12.43 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04547/0.6232, allocations: 10.62 MB / 1.512 GB, free: 2.004 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.8/14.43, allocations: 8.328 kB / 1.512 GB, free: 2 MB / 1.201 GB " [Timeout remaining time 285] (rm -f Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe ; mkfifo Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe >> ../files/Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_EvaporationFlowReversal_fmu --startTime=0 --stopTime=2400 --stepSize=0.96 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_EvaporationFlowReversal.fmu > Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_EvaporationFlowReversal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.09838645509444]