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.001833/0.001833, allocations: 111 kB / 16.46 MB, free: 6.453 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.002376/0.002376, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.448/1.448, allocations: 230.6 MB / 252.8 MB, free: 8.98 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.189/3.189, allocations: 0.49 GB / 0.7916 GB, free: 33.52 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.002878/0.002878, allocations: 71.91 kB / 1.149 GB, free: 26.3 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3503/0.3532, allocations: 176.1 MB / 1.321 GB, free: 3.332 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal): time 0.004495/0.3577, allocations: 2.425 MB / 1.323 GB, free: 0.8945 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.192/0.5497, allocations: 154.3 MB / 1.474 GB, free: 6.016 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002183/0.5499, allocations: 3.938 kB / 1.474 GB, free: 6.012 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0003922/0.5503, allocations: 91.44 kB / 1.474 GB, free: 5.922 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.000779/0.5511, allocations: 242.6 kB / 1.474 GB, free: 5.684 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.001812/0.5529, allocations: 0.6673 MB / 1.475 GB, free: 5.023 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0008299/0.5538, allocations: 438.5 kB / 1.475 GB, free: 4.594 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001183/0.5539, allocations: 32.64 kB / 1.475 GB, free: 4.566 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002558/0.5541, allocations: 191.5 kB / 1.475 GB, free: 4.379 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003671/0.5545, allocations: 207.2 kB / 1.476 GB, free: 4.176 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 5.608e-05/0.5546, allocations: 32 kB / 1.476 GB, free: 4.145 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001337/0.5559, allocations: 0.6707 MB / 1.476 GB, free: 3.473 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0001265/0.556, allocations: 83.72 kB / 1.476 GB, free: 3.391 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0002531/0.5563, allocations: 159.2 kB / 1.477 GB, free: 3.234 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.001082/0.5574, allocations: 0.6696 MB / 1.477 GB, free: 2.562 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.5574, allocations: 7.938 kB / 1.477 GB, free: 2.555 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.533e-06/0.5574, allocations: 4 kB / 1.477 GB, free: 2.551 MB / 1.17 GB Notification: Performance of Transformations before backend: time 8.746e-06/0.5574, allocations: 0 / 1.477 GB, free: 2.551 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.001686/0.5591, allocations: 0.7602 MB / 1.478 GB, free: 1.734 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 5.959e-05/0.5591, allocations: 11.98 kB / 1.478 GB, free: 1.723 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.548e-05/0.5592, allocations: 50.73 kB / 1.478 GB, free: 1.664 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001867/0.561, allocations: 184.5 kB / 1.478 GB, free: 1.484 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005268/0.5616, allocations: 322.6 kB / 1.479 GB, free: 1.125 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.107e-05/0.5616, allocations: 45.7 kB / 1.479 GB, free: 1.074 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.248e-05/0.5617, allocations: 16 kB / 1.479 GB, free: 1.059 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004352/0.5621, allocations: 212.1 kB / 1.479 GB, free: 0.8359 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.5622, allocations: 0 / 1.479 GB, free: 0.8359 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.583e-05/0.5622, allocations: 8 kB / 1.479 GB, free: 0.8281 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.5622, allocations: 0 / 1.479 GB, free: 0.8281 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002963/0.5625, allocations: 124.1 kB / 1.479 GB, free: 0.707 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002679/0.5652, allocations: 0.9965 MB / 1.48 GB, free: 15.65 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008241/0.566, allocations: 146.5 kB / 1.48 GB, free: 15.5 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002283/0.5662, allocations: 84.81 kB / 1.48 GB, free: 15.41 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 2.386e-05/0.5662, allocations: 0 / 1.48 GB, free: 15.41 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003815/0.5666, allocations: 192.9 kB / 1.48 GB, free: 15.21 MB / 1.186 GB Notification: Performance of pre-optimization done (n=19): time 1.462e-06/0.5666, allocations: 0 / 1.48 GB, free: 15.21 MB / 1.186 GB Notification: Performance of matching and sorting (n=19): time 0.004417/0.571, allocations: 0.8691 MB / 1.481 GB, free: 14.3 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.285e-05/0.5711, allocations: 89.11 kB / 1.481 GB, free: 14.2 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005291/0.5716, allocations: 340.4 kB / 1.482 GB, free: 13.85 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 6.424e-05/0.5717, allocations: 33.7 kB / 1.482 GB, free: 13.81 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001633/0.5719, allocations: 148.7 kB / 1.482 GB, free: 13.66 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 7.247e-05/0.5719, allocations: 63.47 kB / 1.482 GB, free: 13.6 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001954/0.5721, allocations: 89.94 kB / 1.482 GB, free: 13.5 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0002019/0.5723, allocations: 338.8 kB / 1.482 GB, free: 13.16 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003825/0.5727, allocations: 148.5 kB / 1.482 GB, free: 13.02 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004626/0.5732, allocations: 221.3 kB / 1.483 GB, free: 12.79 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007187/0.5739, allocations: 336.9 kB / 1.483 GB, free: 12.43 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.5739, allocations: 0 / 1.483 GB, free: 12.43 MB / 1.186 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.003947/0.5779, allocations: 0.8648 MB / 1.484 GB, free: 11.55 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 5.767e-05/0.5779, allocations: 41.69 kB / 1.484 GB, free: 11.5 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.5779, allocations: 0 / 1.484 GB, free: 11.5 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001094/0.579, allocations: 201.7 kB / 1.484 GB, free: 11.3 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002729/0.5793, allocations: 43.84 kB / 1.484 GB, free: 11.26 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003459/0.5828, allocations: 2.361 MB / 1.486 GB, free: 8.73 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000501/0.5833, allocations: 39.77 kB / 1.486 GB, free: 8.691 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.862e-05/0.5833, allocations: 15.98 kB / 1.486 GB, free: 8.676 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.0002905/0.5836, allocations: 187.5 kB / 1.487 GB, free: 8.477 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.273e-05/0.5837, allocations: 39.77 kB / 1.487 GB, free: 8.438 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.727e-05/0.5837, allocations: 27.17 kB / 1.487 GB, free: 8.41 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.5837, allocations: 4.125 kB / 1.487 GB, free: 8.406 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.5837, allocations: 7.938 kB / 1.487 GB, free: 8.398 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.481e-06/0.5837, allocations: 3.984 kB / 1.487 GB, free: 8.395 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003589/0.5873, allocations: 1.047 MB / 1.488 GB, free: 7.281 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.097e-06/0.5873, allocations: 0 / 1.488 GB, free: 7.281 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.454e-05/0.5874, allocations: 8 kB / 1.488 GB, free: 7.273 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003394/0.5877, allocations: 108.8 kB / 1.488 GB, free: 7.164 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.729e-05/0.5878, allocations: 15.92 kB / 1.488 GB, free: 7.148 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001053/0.5888, allocations: 0.7474 MB / 1.489 GB, free: 6.379 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.5888, allocations: 0 / 1.489 GB, free: 6.379 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00352/0.5923, allocations: 0.8926 MB / 1.489 GB, free: 5.465 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002263/0.5926, allocations: 132.9 kB / 1.489 GB, free: 5.316 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.631e-05/0.5926, allocations: 4 kB / 1.49 GB, free: 5.312 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002698/0.5929, allocations: 15.98 kB / 1.49 GB, free: 5.297 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.515e-05/0.593, allocations: 7.984 kB / 1.49 GB, free: 5.289 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.836e-05/0.593, allocations: 11.98 kB / 1.49 GB, free: 5.277 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0003457/0.5933, allocations: 239.1 kB / 1.49 GB, free: 5.047 MB / 1.186 GB Notification: Performance of sort global known variables: time 8e-08/0.5933, allocations: 0 / 1.49 GB, free: 5.047 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.000707/0.594, allocations: 119.9 kB / 1.49 GB, free: 4.93 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.001896/0.5959, allocations: 1.239 MB / 1.491 GB, free: 3.652 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001697/0.5976, allocations: 0.53 MB / 1.492 GB, free: 3.094 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.5976, allocations: 0 / 1.492 GB, free: 3.094 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0007923/0.5984, allocations: 225 kB / 1.492 GB, free: 2.859 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005126/0.5989, allocations: 58.78 kB / 1.492 GB, free: 2.801 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01236/0.6113, allocations: 4.369 MB / 1.496 GB, free: 14.32 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003995/0.6117, allocations: 0.7638 MB / 1.497 GB, free: 13.53 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0001711/0.6119, allocations: 38.22 kB / 1.497 GB, free: 13.5 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001463/0.612, allocations: 83.41 kB / 1.497 GB, free: 13.41 MB / 1.201 GB Notification: Performance of SimCode: time 1.463e-06/0.612, allocations: 0 / 1.497 GB, free: 13.41 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05228/0.6643, allocations: 10.45 MB / 1.507 GB, free: 3.211 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.72/13.38, allocations: 2.75 kB / 1.507 GB, free: 3.211 MB / 1.201 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: 19.970488636987284]