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.001294/0.001294, allocations: 99.75 kB / 18.95 MB, free: 2.832 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.001467/0.001467, allocations: 216.8 kB / 22.25 MB, free: 5.105 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.453/1.453, allocations: 230.6 MB / 256 MB, free: 7.805 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.123/3.123, allocations: 0.49 GB / 0.7951 GB, free: 35.48 MB / 0.6231 GB " [Timeout remaining time 177] 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.001919/0.001919, allocations: 63.98 kB / 1.154 GB, free: 25.38 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3358/0.3377, allocations: 176.1 MB / 1.326 GB, free: 1.473 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal): time 0.003838/0.3416, allocations: 2.308 MB / 1.328 GB, free: 15.16 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1855/0.5271, allocations: 132.7 MB / 1.458 GB, free: 9.949 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002437/0.5273, allocations: 4 kB / 1.458 GB, free: 9.945 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0004025/0.5277, allocations: 83.45 kB / 1.458 GB, free: 9.863 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.0008379/0.5286, allocations: 246.5 kB / 1.458 GB, free: 9.621 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.001863/0.5304, allocations: 0.67 MB / 1.459 GB, free: 8.957 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.0006375/0.5311, allocations: 426.7 kB / 1.459 GB, free: 8.539 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001355/0.5312, allocations: 32.91 kB / 1.459 GB, free: 8.508 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002875/0.5315, allocations: 191.4 kB / 1.459 GB, free: 8.32 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003836/0.5319, allocations: 203.3 kB / 1.46 GB, free: 8.121 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 6.001e-05/0.5319, allocations: 28 kB / 1.46 GB, free: 8.094 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001297/0.5332, allocations: 0.616 MB / 1.46 GB, free: 7.477 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0001295/0.5334, allocations: 91.66 kB / 1.46 GB, free: 7.387 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0001875/0.5336, allocations: 139.4 kB / 1.46 GB, free: 7.25 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.001077/0.5346, allocations: 0.6696 MB / 1.461 GB, free: 6.578 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 7.844e-06/0.5346, allocations: 4 kB / 1.461 GB, free: 6.574 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.693e-06/0.5346, allocations: 0 / 1.461 GB, free: 6.574 MB / 1.154 GB Notification: Performance of Transformations before backend: time 7.073e-06/0.5346, allocations: 0 / 1.461 GB, free: 6.574 MB / 1.154 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.001799/0.5364, allocations: 0.7014 MB / 1.462 GB, free: 5.832 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.631e-05/0.5365, allocations: 8.031 kB / 1.462 GB, free: 5.824 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.804e-05/0.5365, allocations: 42.75 kB / 1.462 GB, free: 5.773 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002004/0.5386, allocations: 192.5 kB / 1.462 GB, free: 5.586 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006305/0.5392, allocations: 261.5 kB / 1.462 GB, free: 5.301 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.011e-05/0.5393, allocations: 53.69 kB / 1.462 GB, free: 5.242 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.199e-05/0.5393, allocations: 20 kB / 1.462 GB, free: 5.223 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004978/0.5398, allocations: 241.8 kB / 1.462 GB, free: 4.965 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.5399, allocations: 0 / 1.462 GB, free: 4.965 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.363e-05/0.5399, allocations: 4 kB / 1.462 GB, free: 4.961 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.128e-05/0.5399, allocations: 4 kB / 1.462 GB, free: 4.957 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003266/0.5402, allocations: 149.8 kB / 1.463 GB, free: 4.805 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002734/0.5429, allocations: 0.8982 MB / 1.464 GB, free: 3.855 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008727/0.5438, allocations: 180.2 kB / 1.464 GB, free: 3.664 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002465/0.5441, allocations: 114.5 kB / 1.464 GB, free: 3.543 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 2.472e-05/0.5441, allocations: 0 / 1.464 GB, free: 3.543 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004478/0.5445, allocations: 226.6 kB / 1.464 GB, free: 3.297 MB / 1.154 GB Notification: Performance of pre-optimization done (n=19): time 1.914e-06/0.5445, allocations: 0 / 1.464 GB, free: 3.297 MB / 1.154 GB Notification: Performance of matching and sorting (n=19): time 0.004984/0.5495, allocations: 0.8633 MB / 1.465 GB, free: 2.406 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.962e-05/0.5496, allocations: 81.11 kB / 1.465 GB, free: 2.309 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004822/0.5501, allocations: 348.4 kB / 1.465 GB, free: 1.961 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 5.774e-05/0.5501, allocations: 29.7 kB / 1.465 GB, free: 1.926 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001652/0.5503, allocations: 152.6 kB / 1.465 GB, free: 1.77 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 6.376e-05/0.5504, allocations: 59.55 kB / 1.465 GB, free: 1.711 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001776/0.5505, allocations: 85.94 kB / 1.466 GB, free: 1.617 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0002028/0.5507, allocations: 346.7 kB / 1.466 GB, free: 1.27 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003875/0.5511, allocations: 174.2 kB / 1.466 GB, free: 1.094 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005321/0.5517, allocations: 353.9 kB / 1.466 GB, free: 0.7031 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008402/0.5525, allocations: 344.9 kB / 1.467 GB, free: 348 kB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/0.5525, allocations: 0 / 1.467 GB, free: 348 kB / 1.154 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.00428/0.5568, allocations: 0.9055 MB / 1.468 GB, free: 15.41 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 6.254e-05/0.5568, allocations: 37.69 kB / 1.468 GB, free: 15.37 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.5569, allocations: 0 / 1.468 GB, free: 15.37 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00104/0.5579, allocations: 197.7 kB / 1.468 GB, free: 15.17 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002752/0.5582, allocations: 51.84 kB / 1.468 GB, free: 15.12 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003491/0.5617, allocations: 2.236 MB / 1.47 GB, free: 12.74 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005785/0.5622, allocations: 47.83 kB / 1.47 GB, free: 12.7 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.949e-05/0.5623, allocations: 19.97 kB / 1.47 GB, free: 12.68 MB / 1.17 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.0003497/0.5627, allocations: 192.6 kB / 1.47 GB, free: 12.47 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.947e-05/0.5627, allocations: 35.77 kB / 1.47 GB, free: 12.44 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.921e-05/0.5628, allocations: 27.11 kB / 1.47 GB, free: 12.41 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.5628, allocations: 0 / 1.47 GB, free: 12.41 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.5628, allocations: 3.938 kB / 1.47 GB, free: 12.41 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.5628, allocations: 4 kB / 1.47 GB, free: 12.4 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003874/0.5667, allocations: 1.022 MB / 1.471 GB, free: 11.32 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.616e-06/0.5667, allocations: 0 / 1.471 GB, free: 11.32 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.373e-05/0.5667, allocations: 7.984 kB / 1.471 GB, free: 11.31 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003642/0.5671, allocations: 116.8 kB / 1.472 GB, free: 11.19 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.676e-05/0.5671, allocations: 11.92 kB / 1.472 GB, free: 11.18 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001051/0.5682, allocations: 0.746 MB / 1.472 GB, free: 10.41 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.5682, allocations: 0 / 1.472 GB, free: 10.41 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003737/0.5719, allocations: 0.9517 MB / 1.473 GB, free: 9.422 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002067/0.5721, allocations: 55.78 kB / 1.473 GB, free: 9.367 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.576e-05/0.5722, allocations: 8 kB / 1.473 GB, free: 9.359 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002892/0.5725, allocations: 12 kB / 1.473 GB, free: 9.348 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.37e-05/0.5726, allocations: 11.97 kB / 1.473 GB, free: 9.336 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.316e-05/0.5726, allocations: 7.984 kB / 1.473 GB, free: 9.328 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0003509/0.5729, allocations: 243.1 kB / 1.474 GB, free: 9.094 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5729, allocations: 0 / 1.474 GB, free: 9.094 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0006105/0.5736, allocations: 115.8 kB / 1.474 GB, free: 8.98 MB / 1.17 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.002064/0.5756, allocations: 1.318 MB / 1.475 GB, free: 7.613 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.00188/0.5775, allocations: 0.5927 MB / 1.475 GB, free: 6.984 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.5775, allocations: 0 / 1.475 GB, free: 6.984 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.000889/0.5784, allocations: 261.8 kB / 1.476 GB, free: 6.707 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005412/0.5789, allocations: 56.22 kB / 1.476 GB, free: 6.652 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01362/0.5926, allocations: 4.548 MB / 1.48 GB, free: 1.957 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001726/0.5927, allocations: 151.1 kB / 1.48 GB, free: 1.793 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0002108/0.5929, allocations: 38.2 kB / 1.48 GB, free: 1.754 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001549/0.5931, allocations: 83.41 kB / 1.48 GB, free: 1.672 MB / 1.17 GB Notification: Performance of SimCode: time 1.222e-06/0.5931, allocations: 0 / 1.48 GB, free: 1.672 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04766/0.6408, allocations: 11.65 MB / 1.492 GB, free: 6.242 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.31/13.95, allocations: 7.516 kB / 1.492 GB, free: 6.238 MB / 1.186 GB " [Timeout remaining time 286] (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: 20.912361333001172]