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.001359/0.001359, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001441/0.001441, allocations: 209.6 kB / 22.24 MB, free: 5.262 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.475/1.475, allocations: 230.6 MB / 256 MB, free: 7.777 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.22/3.22, allocations: 0.4892 GB / 0.7944 GB, free: 35.54 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.002074/0.002074, allocations: 67.81 kB / 1.153 GB, free: 25.74 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3822/0.3842, allocations: 176.1 MB / 1.325 GB, free: 2.328 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal): time 0.004388/0.3886, allocations: 2.311 MB / 1.327 GB, free: 12 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.1801/0.5687, allocations: 132.7 MB / 1.457 GB, free: 10.8 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002928/0.569, allocations: 0 / 1.457 GB, free: 10.8 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.000481/0.5695, allocations: 83.47 kB / 1.457 GB, free: 10.71 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.0009228/0.5704, allocations: 246.5 kB / 1.457 GB, free: 10.47 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002096/0.5725, allocations: 0.6655 MB / 1.458 GB, free: 9.812 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.0007019/0.5732, allocations: 438.5 kB / 1.458 GB, free: 9.383 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001483/0.5733, allocations: 32.92 kB / 1.458 GB, free: 9.352 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003494/0.5737, allocations: 179.5 kB / 1.459 GB, free: 9.176 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000454/0.5741, allocations: 199.2 kB / 1.459 GB, free: 8.98 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 9.059e-05/0.5742, allocations: 28 kB / 1.459 GB, free: 8.953 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001392/0.5756, allocations: 0.5927 MB / 1.459 GB, free: 8.359 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0001664/0.5758, allocations: 79.78 kB / 1.459 GB, free: 8.281 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0002389/0.576, allocations: 143.3 kB / 1.46 GB, free: 8.141 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.001349/0.5774, allocations: 0.6696 MB / 1.46 GB, free: 7.469 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.5774, allocations: 7.938 kB / 1.46 GB, free: 7.461 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.553e-06/0.5774, allocations: 0 / 1.46 GB, free: 7.461 MB / 1.154 GB Notification: Performance of Transformations before backend: time 1.998e-05/0.5774, allocations: 0 / 1.46 GB, free: 7.461 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.001847/0.5793, allocations: 0.7013 MB / 1.461 GB, free: 6.719 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.944e-05/0.5793, allocations: 8.031 kB / 1.461 GB, free: 6.711 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.096e-05/0.5794, allocations: 46.73 kB / 1.461 GB, free: 6.656 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001936/0.5813, allocations: 196.5 kB / 1.461 GB, free: 6.465 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005787/0.5819, allocations: 261.5 kB / 1.461 GB, free: 6.18 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.746e-05/0.582, allocations: 41.7 kB / 1.461 GB, free: 6.133 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.533e-05/0.582, allocations: 24 kB / 1.461 GB, free: 6.109 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004784/0.5825, allocations: 229.8 kB / 1.462 GB, free: 5.863 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.5825, allocations: 4 kB / 1.462 GB, free: 5.859 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.769e-05/0.5826, allocations: 4 kB / 1.462 GB, free: 5.855 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.654e-06/0.5826, allocations: 8 kB / 1.462 GB, free: 5.848 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003476/0.5829, allocations: 149.8 kB / 1.462 GB, free: 5.695 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002678/0.5856, allocations: 0.8982 MB / 1.463 GB, free: 4.746 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008496/0.5864, allocations: 180.2 kB / 1.463 GB, free: 4.555 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002573/0.5867, allocations: 114.5 kB / 1.463 GB, free: 4.434 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 2.695e-05/0.5867, allocations: 4 kB / 1.463 GB, free: 4.43 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004258/0.5871, allocations: 218.7 kB / 1.463 GB, free: 4.191 MB / 1.154 GB Notification: Performance of pre-optimization done (n=19): time 2.164e-06/0.5872, allocations: 0 / 1.463 GB, free: 4.191 MB / 1.154 GB Notification: Performance of matching and sorting (n=19): time 0.00467/0.5918, allocations: 0.8715 MB / 1.464 GB, free: 3.293 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.938e-05/0.5919, allocations: 93.09 kB / 1.464 GB, free: 3.184 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004859/0.5924, allocations: 336.5 kB / 1.464 GB, free: 2.848 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 6.093e-05/0.5924, allocations: 33.7 kB / 1.464 GB, free: 2.809 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001523/0.5926, allocations: 148.7 kB / 1.465 GB, free: 2.656 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 7.037e-05/0.5927, allocations: 63.52 kB / 1.465 GB, free: 2.594 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001735/0.5928, allocations: 85.94 kB / 1.465 GB, free: 2.5 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.000167/0.593, allocations: 342.8 kB / 1.465 GB, free: 2.156 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003884/0.5934, allocations: 166.2 kB / 1.465 GB, free: 1.988 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005468/0.5939, allocations: 357.9 kB / 1.466 GB, free: 1.594 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007438/0.5947, allocations: 344.9 kB / 1.466 GB, free: 1.23 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/0.5947, allocations: 0 / 1.466 GB, free: 1.23 MB / 1.154 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.004047/0.5987, allocations: 0.9093 MB / 1.467 GB, free: 304 kB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 4.934e-05/0.5988, allocations: 37.69 kB / 1.467 GB, free: 260 kB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.5988, allocations: 0 / 1.467 GB, free: 260 kB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009947/0.5998, allocations: 197.7 kB / 1.467 GB, free: 56 kB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002621/0.6, allocations: 47.84 kB / 1.467 GB, free: 8 kB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003393/0.6034, allocations: 2.246 MB / 1.469 GB, free: 13.62 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005051/0.6039, allocations: 39.77 kB / 1.469 GB, free: 13.58 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.458e-05/0.604, allocations: 15.98 kB / 1.469 GB, free: 13.57 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.0003018/0.6043, allocations: 193.7 kB / 1.47 GB, free: 13.36 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.64e-05/0.6044, allocations: 39.7 kB / 1.47 GB, free: 13.32 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.848e-05/0.6045, allocations: 23.12 kB / 1.47 GB, free: 13.3 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.6045, allocations: 7.984 kB / 1.47 GB, free: 13.29 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.6045, allocations: 3.938 kB / 1.47 GB, free: 13.29 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.6045, allocations: 0 / 1.47 GB, free: 13.29 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003563/0.608, allocations: 1.025 MB / 1.471 GB, free: 12.2 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.608, allocations: 0 / 1.471 GB, free: 12.2 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.995e-05/0.6081, allocations: 4 kB / 1.471 GB, free: 12.2 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003472/0.6084, allocations: 116.8 kB / 1.471 GB, free: 12.08 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.286e-05/0.6085, allocations: 11.94 kB / 1.471 GB, free: 12.07 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001053/0.6095, allocations: 0.7498 MB / 1.471 GB, free: 11.3 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.6095, allocations: 0 / 1.471 GB, free: 11.3 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003509/0.613, allocations: 0.946 MB / 1.472 GB, free: 10.31 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000192/0.6132, allocations: 55.8 kB / 1.472 GB, free: 10.26 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.494e-05/0.6133, allocations: 4 kB / 1.472 GB, free: 10.25 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002832/0.6136, allocations: 23.98 kB / 1.472 GB, free: 10.23 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.483e-05/0.6136, allocations: 7.984 kB / 1.472 GB, free: 10.22 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.538e-05/0.6137, allocations: 11.98 kB / 1.472 GB, free: 10.21 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0003646/0.614, allocations: 235 kB / 1.473 GB, free: 9.984 MB / 1.17 GB Notification: Performance of sort global known variables: time 8e-08/0.614, allocations: 0 / 1.473 GB, free: 9.984 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0005893/0.6146, allocations: 123.8 kB / 1.473 GB, free: 9.863 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.001964/0.6166, allocations: 1.308 MB / 1.474 GB, free: 8.508 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.001808/0.6184, allocations: 0.5919 MB / 1.475 GB, free: 7.875 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.6184, allocations: 4.062 kB / 1.475 GB, free: 7.871 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0007887/0.6192, allocations: 249.8 kB / 1.475 GB, free: 7.605 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005244/0.6197, allocations: 64.98 kB / 1.475 GB, free: 7.539 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01264/0.6323, allocations: 4.541 MB / 1.479 GB, free: 2.848 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002248/0.6326, allocations: 151.1 kB / 1.48 GB, free: 2.684 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0002298/0.6328, allocations: 26.23 kB / 1.48 GB, free: 2.656 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001896/0.633, allocations: 87.39 kB / 1.48 GB, free: 2.57 MB / 1.17 GB Notification: Performance of SimCode: time 1.883e-06/0.633, allocations: 0 / 1.48 GB, free: 2.57 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05147/0.6845, allocations: 11.61 MB / 1.491 GB, free: 7.188 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.08/13.76, allocations: 8.062 kB / 1.491 GB, free: 7.18 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.529629633761942]