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.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.001845/0.001845, allocations: 116.1 kB / 17.17 MB, free: 6 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.002398/0.002398, allocations: 209.5 kB / 20.13 MB, free: 3.055 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.507/1.507, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.835/2.835, allocations: 476.7 MB / 0.7678 GB, free: 9.309 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_EvaporationFlowReversal",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal,fileNamePrefix="Buildings_11_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_EvaporationFlowReversal",fmuType="cs",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.002651/0.002651, allocations: 64.19 kB / 1.113 GB, free: 15.77 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9058/0.9084, allocations: 169.9 MB / 1.279 GB, free: 11.69 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal): time 0.003919/0.9123, allocations: 2.42 MB / 1.281 GB, free: 9.992 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.1979/1.11, allocations: 154.3 MB / 1.432 GB, free: 15.21 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004033/1.111, allocations: 0 / 1.432 GB, free: 15.21 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0005738/1.111, allocations: 91.42 kB / 1.432 GB, free: 15.12 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.0009226/1.112, allocations: 246.6 kB / 1.432 GB, free: 14.88 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.001879/1.114, allocations: 0.6724 MB / 1.433 GB, free: 14.21 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.0005682/1.115, allocations: 434.5 kB / 1.433 GB, free: 13.79 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001166/1.115, allocations: 36.72 kB / 1.433 GB, free: 13.76 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002433/1.115, allocations: 187.4 kB / 1.434 GB, free: 13.57 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003614/1.115, allocations: 207.3 kB / 1.434 GB, free: 13.37 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 5.918e-05/1.115, allocations: 28 kB / 1.434 GB, free: 13.34 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001353/1.117, allocations: 0.6745 MB / 1.435 GB, free: 12.67 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0001288/1.117, allocations: 75.8 kB / 1.435 GB, free: 12.59 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0001915/1.117, allocations: 163.2 kB / 1.435 GB, free: 12.43 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.00105/1.118, allocations: 0.6676 MB / 1.435 GB, free: 11.77 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 8.947e-06/1.118, allocations: 3.984 kB / 1.435 GB, free: 11.76 MB / 1.123 GB Notification: Performance of FrontEnd: time 2.285e-06/1.118, allocations: 0 / 1.435 GB, free: 11.76 MB / 1.123 GB Notification: Performance of Transformations before backend: time 7.685e-06/1.118, allocations: 4 kB / 1.435 GB, free: 11.76 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.001697/1.12, allocations: 0.7718 MB / 1.436 GB, free: 10.93 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.234e-05/1.12, allocations: 8.031 kB / 1.436 GB, free: 10.92 MB / 1.123 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.177e-05/1.12, allocations: 4.188 kB / 1.436 GB, free: 10.92 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.06e-05/1.12, allocations: 42.75 kB / 1.436 GB, free: 10.87 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001971/1.122, allocations: 196.5 kB / 1.436 GB, free: 10.68 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005382/1.122, allocations: 310.5 kB / 1.437 GB, free: 10.34 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.82e-05/1.122, allocations: 45.7 kB / 1.437 GB, free: 10.29 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.422e-05/1.123, allocations: 24 kB / 1.437 GB, free: 10.26 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004669/1.123, allocations: 209.3 kB / 1.437 GB, free: 10.04 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/1.123, allocations: 0 / 1.437 GB, free: 10.04 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.964e-05/1.123, allocations: 8 kB / 1.437 GB, free: 10.04 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.176e-06/1.123, allocations: 4 kB / 1.437 GB, free: 10.03 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003014/1.123, allocations: 124.1 kB / 1.437 GB, free: 9.91 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002681/1.126, allocations: 0.9963 MB / 1.438 GB, free: 8.855 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008259/1.127, allocations: 146.5 kB / 1.438 GB, free: 8.703 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002177/1.127, allocations: 88.75 kB / 1.438 GB, free: 8.613 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 2.713e-05/1.127, allocations: 4 kB / 1.438 GB, free: 8.609 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003988/1.128, allocations: 197.1 kB / 1.438 GB, free: 8.398 MB / 1.123 GB Notification: Performance of pre-optimization done (n=19): time 1.813e-06/1.128, allocations: 0 / 1.438 GB, free: 8.398 MB / 1.123 GB Notification: Performance of matching and sorting (n=19): time 0.00458/1.132, allocations: 0.8651 MB / 1.439 GB, free: 7.5 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.461e-05/1.132, allocations: 85.09 kB / 1.439 GB, free: 7.398 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004821/1.133, allocations: 344.4 kB / 1.44 GB, free: 7.043 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 5.438e-05/1.133, allocations: 33.69 kB / 1.44 GB, free: 7.004 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001717/1.133, allocations: 156.7 kB / 1.44 GB, free: 6.848 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 6.674e-05/1.133, allocations: 59.48 kB / 1.44 GB, free: 6.789 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000176/1.133, allocations: 77.94 kB / 1.44 GB, free: 6.703 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0002323/1.133, allocations: 346.8 kB / 1.44 GB, free: 6.355 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003765/1.134, allocations: 140.5 kB / 1.441 GB, free: 6.219 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004835/1.134, allocations: 225.3 kB / 1.441 GB, free: 5.984 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007276/1.135, allocations: 340.7 kB / 1.441 GB, free: 5.625 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/1.135, allocations: 0 / 1.441 GB, free: 5.625 MB / 1.123 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.004163/1.139, allocations: 0.8728 MB / 1.442 GB, free: 4.734 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 4.821e-05/1.139, allocations: 36.05 kB / 1.442 GB, free: 4.695 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.166e-05/1.139, allocations: 7.984 kB / 1.442 GB, free: 4.688 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001017/1.14, allocations: 201.5 kB / 1.442 GB, free: 4.484 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002555/1.14, allocations: 43.91 kB / 1.442 GB, free: 4.441 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003336/1.144, allocations: 2.338 MB / 1.444 GB, free: 1.934 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004868/1.144, allocations: 43.77 kB / 1.444 GB, free: 1.891 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.281e-05/1.144, allocations: 19.98 kB / 1.445 GB, free: 1.871 MB / 1.123 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.0002788/1.145, allocations: 189 kB / 1.445 GB, free: 1.672 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.398e-05/1.145, allocations: 35.77 kB / 1.445 GB, free: 1.637 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.967e-05/1.145, allocations: 35.17 kB / 1.445 GB, free: 1.602 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/1.145, allocations: 0 / 1.445 GB, free: 1.602 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/1.145, allocations: 3.938 kB / 1.445 GB, free: 1.598 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/1.145, allocations: 0 / 1.445 GB, free: 1.598 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003688/1.148, allocations: 1.043 MB / 1.446 GB, free: 500 kB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.073e-06/1.148, allocations: 3.984 kB / 1.446 GB, free: 496 kB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.687e-05/1.148, allocations: 8 kB / 1.446 GB, free: 488 kB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003459/1.149, allocations: 116.8 kB / 1.446 GB, free: 368 kB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.35e-05/1.149, allocations: 11.98 kB / 1.446 GB, free: 356 kB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001045/1.15, allocations: 0.7529 MB / 1.447 GB, free: 15.57 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/1.15, allocations: 4 kB / 1.447 GB, free: 15.57 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0036/1.154, allocations: 0.8821 MB / 1.448 GB, free: 14.66 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000193/1.154, allocations: 132.8 kB / 1.448 GB, free: 14.52 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.123e-05/1.154, allocations: 12 kB / 1.448 GB, free: 14.5 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002767/1.154, allocations: 11.98 kB / 1.448 GB, free: 14.49 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.989e-05/1.154, allocations: 19.92 kB / 1.448 GB, free: 14.47 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.548e-05/1.154, allocations: 11.98 kB / 1.448 GB, free: 14.46 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0003557/1.154, allocations: 243.1 kB / 1.448 GB, free: 14.23 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.31e-07/1.154, allocations: 0 / 1.448 GB, free: 14.23 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.000594/1.155, allocations: 115.9 kB / 1.448 GB, free: 14.11 MB / 1.139 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.001847/1.157, allocations: 1.223 MB / 1.449 GB, free: 12.86 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.001649/1.159, allocations: 0.5229 MB / 1.45 GB, free: 12.3 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/1.159, allocations: 0 / 1.45 GB, free: 12.3 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0007809/1.159, allocations: 228 kB / 1.45 GB, free: 12.07 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005083/1.16, allocations: 70.02 kB / 1.45 GB, free: 12 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01255/1.172, allocations: 4.358 MB / 1.454 GB, free: 7.527 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005144/1.173, allocations: 0.7637 MB / 1.455 GB, free: 6.738 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0001869/1.173, allocations: 30.28 kB / 1.455 GB, free: 6.711 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001626/1.173, allocations: 83.41 kB / 1.455 GB, free: 6.629 MB / 1.139 GB Notification: Performance of SimCode: time 8.42e-07/1.173, allocations: 4 kB / 1.455 GB, free: 6.625 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0398/1.213, allocations: 10.49 MB / 1.465 GB, free: 12.42 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.11/14.32, allocations: 15.97 kB / 1.465 GB, free: 12.41 MB / 1.154 GB " [Timeout remaining time 285] (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/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: 20.668966175988317]