Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001939/0.001939, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002464/0.002464, allocations: 213.7 kB / 22.24 MB, free: 4.855 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.503/1.503, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.254/3.254, allocations: 0.5107 GB / 0.8158 GB, free: 17.81 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_EvaporationFlowReversal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal,fileNamePrefix="Buildings_latest_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.003366/0.003366, allocations: 71.53 kB / 1.186 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3852/0.3886, allocations: 181.9 MB / 1.363 GB, free: 14.04 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal): time 0.004068/0.3926, allocations: 2.303 MB / 1.366 GB, free: 11.71 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.1882/0.5808, allocations: 132.7 MB / 1.495 GB, free: 6.508 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002024/0.581, allocations: 0 / 1.495 GB, free: 6.508 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0004045/0.5814, allocations: 91.44 kB / 1.495 GB, free: 6.418 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.000763/0.5822, allocations: 246.6 kB / 1.496 GB, free: 6.176 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.001771/0.5839, allocations: 0.6651 MB / 1.496 GB, free: 5.52 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.0005947/0.5845, allocations: 438.6 kB / 1.497 GB, free: 5.09 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001114/0.5846, allocations: 32.83 kB / 1.497 GB, free: 5.059 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002475/0.5849, allocations: 187.4 kB / 1.497 GB, free: 4.875 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003593/0.5853, allocations: 191.3 kB / 1.497 GB, free: 4.688 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 6.241e-05/0.5853, allocations: 28 kB / 1.497 GB, free: 4.66 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001227/0.5865, allocations: 0.5965 MB / 1.498 GB, free: 4.062 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0001149/0.5867, allocations: 79.78 kB / 1.498 GB, free: 3.984 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0001662/0.5868, allocations: 139.4 kB / 1.498 GB, free: 3.848 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.001028/0.5879, allocations: 0.6735 MB / 1.499 GB, free: 3.172 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.5879, allocations: 0 / 1.499 GB, free: 3.172 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.433e-06/0.5879, allocations: 0 / 1.499 GB, free: 3.172 MB / 1.186 GB Notification: Performance of Transformations before backend: time 7.143e-06/0.5879, allocations: 4 kB / 1.499 GB, free: 3.168 MB / 1.186 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.001689/0.5896, allocations: 0.6975 MB / 1.499 GB, free: 2.43 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.714e-05/0.5896, allocations: 8.031 kB / 1.499 GB, free: 2.422 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.534e-05/0.5897, allocations: 46.69 kB / 1.499 GB, free: 2.367 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001918/0.5916, allocations: 196.5 kB / 1.499 GB, free: 2.176 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007085/0.5923, allocations: 257.6 kB / 1.5 GB, free: 1.898 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.293e-05/0.5924, allocations: 49.64 kB / 1.5 GB, free: 1.844 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.299e-05/0.5924, allocations: 24 kB / 1.5 GB, free: 1.82 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004886/0.5929, allocations: 238.3 kB / 1.5 GB, free: 1.566 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.5929, allocations: 0 / 1.5 GB, free: 1.566 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.584e-05/0.593, allocations: 7.984 kB / 1.5 GB, free: 1.559 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.073e-05/0.593, allocations: 4 kB / 1.5 GB, free: 1.555 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003187/0.5933, allocations: 157.8 kB / 1.5 GB, free: 1.395 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002622/0.5959, allocations: 0.8981 MB / 1.501 GB, free: 456 kB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008686/0.5968, allocations: 176.2 kB / 1.501 GB, free: 264 kB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002416/0.597, allocations: 114.5 kB / 1.501 GB, free: 140 kB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 2.355e-05/0.597, allocations: 4 kB / 1.501 GB, free: 136 kB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004712/0.5975, allocations: 223.8 kB / 1.502 GB, free: 15.89 MB / 1.201 GB Notification: Performance of pre-optimization done (n=19): time 2.445e-06/0.5975, allocations: 4 kB / 1.502 GB, free: 15.89 MB / 1.201 GB Notification: Performance of matching and sorting (n=19): time 0.004525/0.602, allocations: 0.8636 MB / 1.502 GB, free: 15 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.09e-05/0.6021, allocations: 85.05 kB / 1.502 GB, free: 14.89 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004884/0.6026, allocations: 344.4 kB / 1.503 GB, free: 14.55 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 7.507e-05/0.6027, allocations: 37.7 kB / 1.503 GB, free: 14.5 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001544/0.6029, allocations: 156.6 kB / 1.503 GB, free: 14.34 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 6.508e-05/0.6029, allocations: 55.55 kB / 1.503 GB, free: 14.29 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001986/0.6031, allocations: 85.94 kB / 1.503 GB, free: 14.2 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001841/0.6033, allocations: 346.7 kB / 1.503 GB, free: 13.85 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003898/0.6037, allocations: 166.2 kB / 1.504 GB, free: 13.68 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005566/0.6042, allocations: 357.9 kB / 1.504 GB, free: 13.29 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006943/0.6049, allocations: 340.9 kB / 1.504 GB, free: 12.93 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.6049, allocations: 0 / 1.504 GB, free: 12.93 MB / 1.201 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.003945/0.6089, allocations: 0.9055 MB / 1.505 GB, free: 12 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 5.77e-05/0.609, allocations: 37.69 kB / 1.505 GB, free: 11.95 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.126e-06/0.609, allocations: 0 / 1.505 GB, free: 11.95 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000958/0.6099, allocations: 205.6 kB / 1.505 GB, free: 11.75 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002528/0.6102, allocations: 43.91 kB / 1.505 GB, free: 11.7 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003266/0.6134, allocations: 2.227 MB / 1.508 GB, free: 9.336 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004882/0.6139, allocations: 43.72 kB / 1.508 GB, free: 9.293 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.034e-05/0.614, allocations: 23.98 kB / 1.508 GB, free: 9.27 MB / 1.201 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.0002808/0.6143, allocations: 189.4 kB / 1.508 GB, free: 9.07 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.945e-05/0.6143, allocations: 32 kB / 1.508 GB, free: 9.039 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.67e-05/0.6144, allocations: 35.03 kB / 1.508 GB, free: 9.004 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.6144, allocations: 4 kB / 1.508 GB, free: 9 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.6144, allocations: 3.938 kB / 1.508 GB, free: 8.996 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.6144, allocations: 0 / 1.508 GB, free: 8.996 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003461/0.6178, allocations: 1.017 MB / 1.509 GB, free: 7.914 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/0.6178, allocations: 4 kB / 1.509 GB, free: 7.91 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.18e-05/0.6179, allocations: 7.984 kB / 1.509 GB, free: 7.902 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003403/0.6182, allocations: 112.8 kB / 1.509 GB, free: 7.789 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.465e-05/0.6183, allocations: 15.92 kB / 1.509 GB, free: 7.773 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001016/0.6193, allocations: 0.746 MB / 1.51 GB, free: 7.004 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.6193, allocations: 0 / 1.51 GB, free: 7.004 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003384/0.6227, allocations: 0.9521 MB / 1.511 GB, free: 6.016 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001916/0.6229, allocations: 55.8 kB / 1.511 GB, free: 5.961 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.214e-05/0.6229, allocations: 11.98 kB / 1.511 GB, free: 5.949 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002596/0.6232, allocations: 15.94 kB / 1.511 GB, free: 5.934 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.692e-05/0.6233, allocations: 15.97 kB / 1.511 GB, free: 5.918 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.213e-05/0.6233, allocations: 8.062 kB / 1.511 GB, free: 5.91 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0003617/0.6237, allocations: 243 kB / 1.511 GB, free: 5.676 MB / 1.201 GB Notification: Performance of sort global known variables: time 9e-08/0.6237, allocations: 0 / 1.511 GB, free: 5.676 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0005682/0.6242, allocations: 115.8 kB / 1.511 GB, free: 5.562 MB / 1.201 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.001927/0.6262, allocations: 1.303 MB / 1.512 GB, free: 4.211 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.001761/0.6279, allocations: 0.5959 MB / 1.513 GB, free: 3.574 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.6279, allocations: 4 kB / 1.513 GB, free: 3.57 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0007722/0.6287, allocations: 252.5 kB / 1.513 GB, free: 3.305 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005187/0.6292, allocations: 59.8 kB / 1.513 GB, free: 3.246 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01227/0.6415, allocations: 4.548 MB / 1.518 GB, free: 14.56 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000189/0.6417, allocations: 155.1 kB / 1.518 GB, free: 14.39 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0001883/0.6419, allocations: 30.27 kB / 1.518 GB, free: 14.36 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001543/0.642, allocations: 83.41 kB / 1.518 GB, free: 14.28 MB / 1.217 GB Notification: Performance of SimCode: time 1.383e-06/0.642, allocations: 0 / 1.518 GB, free: 14.28 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04708/0.6891, allocations: 11.61 MB / 1.529 GB, free: 2.887 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.06/13.75, allocations: 7.125 kB / 1.529 GB, free: 2.883 MB / 1.217 GB " [Timeout remaining time 286] (rm -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe ; mkfifo Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe >> ../files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_EvaporationFlowReversal_fmu --startTime=0 --stopTime=2400 --stepSize=0.96 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_EvaporationFlowReversal.fmu > Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_EvaporationFlowReversal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.59118243586272]