Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001336/0.001336, allocations: 114 kB / 18.14 MB, free: 3.781 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001329/0.001329, allocations: 201.2 kB / 21.43 MB, free: 0.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.402/1.402, allocations: 225.6 MB / 250.2 MB, free: 13.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.822/2.822, allocations: 476.7 MB / 0.7637 GB, free: 10.09 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal,fileNamePrefix="Buildings_11_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_EvaporationFlowReversal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal,fileNamePrefix="Buildings_11_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_EvaporationFlowReversal",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002114/0.002114, allocations: 67.89 kB / 1.108 GB, free: 7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7714/0.7735, allocations: 168.7 MB / 1.273 GB, free: 4.336 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal): time 0.004159/0.7777, allocations: 2.427 MB / 1.275 GB, free: 1.906 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.199/0.9767, allocations: 151.5 MB / 1.423 GB, free: 9.852 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000292/0.977, allocations: 0 / 1.423 GB, free: 9.852 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0005227/0.9775, allocations: 95.44 kB / 1.423 GB, free: 9.758 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.001232/0.9788, allocations: 243.5 kB / 1.423 GB, free: 9.52 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.002764/0.9815, allocations: 0.6637 MB / 1.424 GB, free: 8.863 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.000734/0.9823, allocations: 434.6 kB / 1.425 GB, free: 8.438 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000132/0.9824, allocations: 32.73 kB / 1.425 GB, free: 8.406 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002915/0.9827, allocations: 191.4 kB / 1.425 GB, free: 8.219 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004733/0.9831, allocations: 199.3 kB / 1.425 GB, free: 8.023 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 8.773e-05/0.9832, allocations: 32 kB / 1.425 GB, free: 7.992 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001941/0.9852, allocations: 0.6433 MB / 1.426 GB, free: 7.348 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0001628/0.9853, allocations: 87.72 kB / 1.426 GB, free: 7.262 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0002763/0.9856, allocations: 167.2 kB / 1.426 GB, free: 7.098 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.001611/0.9872, allocations: 0.6598 MB / 1.426 GB, free: 6.438 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 6.673e-06/0.9872, allocations: 0 / 1.426 GB, free: 6.438 MB / 1.123 GB Notification: Performance of FrontEnd: time 2.214e-06/0.9872, allocations: 0 / 1.426 GB, free: 6.438 MB / 1.123 GB Notification: Performance of Transformations before backend: time 1.252e-05/0.9872, allocations: 4 kB / 1.426 GB, free: 6.434 MB / 1.123 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.002026/0.9893, allocations: 0.765 MB / 1.427 GB, free: 5.609 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.515e-05/0.9893, allocations: 12.03 kB / 1.427 GB, free: 5.598 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.076e-05/0.9894, allocations: 46.73 kB / 1.427 GB, free: 5.543 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001618/0.991, allocations: 168.5 kB / 1.427 GB, free: 5.379 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006101/0.9916, allocations: 318.7 kB / 1.428 GB, free: 5.027 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.541e-05/0.9917, allocations: 45.69 kB / 1.428 GB, free: 4.977 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.979e-05/0.9918, allocations: 27.95 kB / 1.428 GB, free: 4.949 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004448/0.9922, allocations: 212.1 kB / 1.428 GB, free: 4.727 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/0.9922, allocations: 0 / 1.428 GB, free: 4.727 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.175e-05/0.9922, allocations: 0 / 1.428 GB, free: 4.727 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.827e-06/0.9922, allocations: 11.92 kB / 1.428 GB, free: 4.715 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002887/0.9925, allocations: 120.1 kB / 1.428 GB, free: 4.598 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002694/0.9952, allocations: 0.9887 MB / 1.429 GB, free: 3.551 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008421/0.9961, allocations: 146.5 kB / 1.429 GB, free: 3.398 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002181/0.9963, allocations: 88.75 kB / 1.429 GB, free: 3.309 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 2.224e-05/0.9963, allocations: 4.125 kB / 1.429 GB, free: 3.305 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003908/0.9967, allocations: 193 kB / 1.43 GB, free: 3.098 MB / 1.123 GB Notification: Performance of pre-optimization done (n=19): time 1.623e-06/0.9967, allocations: 0 / 1.43 GB, free: 3.098 MB / 1.123 GB Notification: Performance of matching and sorting (n=19): time 0.0045/1.001, allocations: 0.8655 MB / 1.43 GB, free: 2.199 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.808e-05/1.001, allocations: 85.11 kB / 1.43 GB, free: 2.098 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004625/1.002, allocations: 344.4 kB / 1.431 GB, free: 1.754 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 7.095e-05/1.002, allocations: 33.7 kB / 1.431 GB, free: 1.715 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001442/1.002, allocations: 152.7 kB / 1.431 GB, free: 1.562 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 6.449e-05/1.002, allocations: 55.53 kB / 1.431 GB, free: 1.508 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001714/1.002, allocations: 85.89 kB / 1.431 GB, free: 1.414 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001657/1.002, allocations: 350.7 kB / 1.431 GB, free: 1.062 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003681/1.003, allocations: 136.5 kB / 1.432 GB, free: 0.9297 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004473/1.003, allocations: 217.3 kB / 1.432 GB, free: 0.7031 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006943/1.004, allocations: 337.2 kB / 1.432 GB, free: 356 kB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/1.004, allocations: 0 / 1.432 GB, free: 356 kB / 1.123 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.003916/1.008, allocations: 0.8534 MB / 1.433 GB, free: 15.48 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 5.172e-05/1.008, allocations: 49.56 kB / 1.433 GB, free: 15.42 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/1.008, allocations: 0 / 1.433 GB, free: 15.42 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009402/1.009, allocations: 205.7 kB / 1.433 GB, free: 15.21 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000251/1.009, allocations: 39.91 kB / 1.433 GB, free: 15.18 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003182/1.012, allocations: 2.341 MB / 1.435 GB, free: 12.66 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004889/1.013, allocations: 43.72 kB / 1.436 GB, free: 12.62 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.953e-05/1.013, allocations: 15.98 kB / 1.436 GB, free: 12.61 MB / 1.139 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.0002656/1.013, allocations: 204.8 kB / 1.436 GB, free: 12.39 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.481e-05/1.013, allocations: 31.81 kB / 1.436 GB, free: 12.36 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.424e-05/1.013, allocations: 27.17 kB / 1.436 GB, free: 12.34 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.738e-06/1.013, allocations: 4 kB / 1.436 GB, free: 12.33 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/1.013, allocations: 3.938 kB / 1.436 GB, free: 12.33 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/1.013, allocations: 0 / 1.436 GB, free: 12.33 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003412/1.017, allocations: 1.036 MB / 1.437 GB, free: 11.23 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/1.017, allocations: 0 / 1.437 GB, free: 11.23 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.717e-05/1.017, allocations: 8 kB / 1.437 GB, free: 11.22 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003285/1.017, allocations: 108.8 kB / 1.437 GB, free: 11.11 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.236e-05/1.017, allocations: 15.91 kB / 1.437 GB, free: 11.09 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009692/1.018, allocations: 0.7538 MB / 1.438 GB, free: 10.32 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/1.018, allocations: 0 / 1.438 GB, free: 10.32 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003249/1.021, allocations: 0.8745 MB / 1.439 GB, free: 9.418 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001835/1.021, allocations: 136.8 kB / 1.439 GB, free: 9.266 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.135e-05/1.021, allocations: 8 kB / 1.439 GB, free: 9.258 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002675/1.022, allocations: 11.98 kB / 1.439 GB, free: 9.246 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.617e-05/1.022, allocations: 15.92 kB / 1.439 GB, free: 9.23 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.061e-05/1.022, allocations: 7.984 kB / 1.439 GB, free: 9.223 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0003142/1.022, allocations: 243.1 kB / 1.439 GB, free: 8.988 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.2e-07/1.022, allocations: 0 / 1.439 GB, free: 8.988 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0005105/1.023, allocations: 115.9 kB / 1.439 GB, free: 8.875 MB / 1.139 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.001718/1.024, allocations: 1.23 MB / 1.44 GB, free: 7.613 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.001621/1.026, allocations: 0.526 MB / 1.441 GB, free: 7.059 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/1.026, allocations: 0 / 1.441 GB, free: 7.059 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0007586/1.027, allocations: 220.1 kB / 1.441 GB, free: 6.828 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005144/1.027, allocations: 75.61 kB / 1.441 GB, free: 6.75 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01151/1.039, allocations: 4.338 MB / 1.445 GB, free: 2.289 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000401/1.039, allocations: 0.7599 MB / 1.446 GB, free: 1.504 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0001601/1.039, allocations: 38.22 kB / 1.446 GB, free: 1.465 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001435/1.039, allocations: 87.39 kB / 1.446 GB, free: 1.379 MB / 1.139 GB Notification: Performance of SimCode: time 8.21e-07/1.039, allocations: 0 / 1.446 GB, free: 1.379 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04259/1.082, allocations: 10.4 MB / 1.456 GB, free: 7.18 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.65/13.73, allocations: 10.36 kB / 1.456 GB, free: 7.172 MB / 1.154 GB " [Timeout remaining time 286] (rm -f Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe ; mkfifo Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe >> ../files/Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_EvaporationFlowReversal_fmu --startTime=0 --stopTime=2400 --stepSize=0.96 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_EvaporationFlowReversal.fmu > Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_EvaporationFlowReversal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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.65068435529247]