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.001383/0.001383, allocations: 102.3 kB / 19.7 MB, free: 2.254 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.001851/0.001851, allocations: 219.9 kB / 23.01 MB, free: 4.609 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.489/1.489, allocations: 230.6 MB / 256.8 MB, free: 8.059 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.671/3.671, allocations: 0.505 GB / 0.8108 GB, free: 22.15 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: translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|eva.m|eva.mEva_flow|eva.mAir_flow|int.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal") translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|eva.m|eva.mEva_flow|eva.mAir_flow|int.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal") [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.002055/0.002055, allocations: 67.62 kB / 1.178 GB, free: 16.92 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3884/0.3905, allocations: 180.2 MB / 1.354 GB, free: 7.988 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal): time 0.004097/0.3946, allocations: 2.431 MB / 1.356 GB, free: 5.543 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.1967/0.5913, allocations: 154.4 MB / 1.507 GB, free: 10.6 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002348/0.5915, allocations: 7.938 kB / 1.507 GB, free: 10.59 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0003929/0.5919, allocations: 95.42 kB / 1.507 GB, free: 10.5 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.0007913/0.5927, allocations: 238.6 kB / 1.508 GB, free: 10.27 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.001739/0.5945, allocations: 0.6806 MB / 1.508 GB, free: 9.594 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.0005989/0.5951, allocations: 442.5 kB / 1.509 GB, free: 9.16 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001101/0.5952, allocations: 32.92 kB / 1.509 GB, free: 9.133 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002385/0.5954, allocations: 175.5 kB / 1.509 GB, free: 8.961 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003907/0.5958, allocations: 219.2 kB / 1.509 GB, free: 8.746 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 5.331e-05/0.5959, allocations: 28 kB / 1.509 GB, free: 8.719 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001336/0.5972, allocations: 0.6629 MB / 1.51 GB, free: 8.055 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0001237/0.5973, allocations: 83.78 kB / 1.51 GB, free: 7.973 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0001834/0.5975, allocations: 163.2 kB / 1.51 GB, free: 7.812 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.001044/0.5985, allocations: 0.6774 MB / 1.511 GB, free: 7.133 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.5985, allocations: 0 / 1.511 GB, free: 7.133 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.473e-06/0.5985, allocations: 0 / 1.511 GB, free: 7.133 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.2e-05/0.5986, allocations: 4 kB / 1.511 GB, free: 7.129 MB / 1.201 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.001677/0.6002, allocations: 0.6975 MB / 1.511 GB, free: 6.391 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.6003, allocations: 8.031 kB / 1.511 GB, free: 6.383 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001911/0.6022, allocations: 184.5 kB / 1.511 GB, free: 6.203 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000591/0.6028, allocations: 269.6 kB / 1.512 GB, free: 5.914 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.429e-05/0.6029, allocations: 45.7 kB / 1.512 GB, free: 5.863 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.489e-05/0.6029, allocations: 20 kB / 1.512 GB, free: 5.844 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004387/0.6034, allocations: 212 kB / 1.512 GB, free: 5.621 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.6034, allocations: 4 kB / 1.512 GB, free: 5.617 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.313e-05/0.6034, allocations: 4 kB / 1.512 GB, free: 5.613 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/0.6034, allocations: 4 kB / 1.512 GB, free: 5.609 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002704/0.6037, allocations: 116.2 kB / 1.512 GB, free: 5.496 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002613/0.6063, allocations: 0.968 MB / 1.513 GB, free: 4.477 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007779/0.6071, allocations: 146.5 kB / 1.513 GB, free: 4.324 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002019/0.6073, allocations: 84.81 kB / 1.513 GB, free: 4.238 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 3.384e-05/0.6073, allocations: 8 kB / 1.513 GB, free: 4.23 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003675/0.6077, allocations: 187.2 kB / 1.513 GB, free: 4.031 MB / 1.201 GB Notification: Performance of pre-optimization done (n=19): time 1.783e-06/0.6077, allocations: 4 kB / 1.513 GB, free: 4.027 MB / 1.201 GB Notification: Performance of matching and sorting (n=19): time 0.004627/0.6123, allocations: 0.8117 MB / 1.514 GB, free: 3.199 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.056e-05/0.6124, allocations: 81.11 kB / 1.514 GB, free: 3.102 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004687/0.6128, allocations: 344.4 kB / 1.515 GB, free: 2.754 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 4.715e-05/0.6129, allocations: 33.7 kB / 1.515 GB, free: 2.715 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001517/0.613, allocations: 148.7 kB / 1.515 GB, free: 2.566 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 6.185e-05/0.6131, allocations: 59.53 kB / 1.515 GB, free: 2.508 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001599/0.6133, allocations: 85.94 kB / 1.515 GB, free: 2.414 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001937/0.6135, allocations: 346.7 kB / 1.515 GB, free: 2.066 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000352/0.6138, allocations: 140.5 kB / 1.515 GB, free: 1.93 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004289/0.6142, allocations: 217.3 kB / 1.516 GB, free: 1.703 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006672/0.6149, allocations: 356.9 kB / 1.516 GB, free: 1.328 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.6149, allocations: 0 / 1.516 GB, free: 1.328 MB / 1.201 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.003855/0.6188, allocations: 0.857 MB / 1.517 GB, free: 464 kB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 5.442e-05/0.6188, allocations: 41.69 kB / 1.517 GB, free: 416 kB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.6188, allocations: 4 kB / 1.517 GB, free: 412 kB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009542/0.6198, allocations: 189.6 kB / 1.517 GB, free: 216 kB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000248/0.62, allocations: 43.91 kB / 1.517 GB, free: 172 kB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003232/0.6233, allocations: 2.238 MB / 1.519 GB, free: 13.79 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005319/0.6238, allocations: 55.72 kB / 1.519 GB, free: 13.73 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.537e-05/0.6238, allocations: 15.98 kB / 1.519 GB, free: 13.71 MB / 1.217 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.0002619/0.6241, allocations: 189.4 kB / 1.52 GB, free: 13.52 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001166/0.6242, allocations: 31.81 kB / 1.52 GB, free: 13.48 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.358e-05/0.6243, allocations: 27.11 kB / 1.52 GB, free: 13.46 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.6243, allocations: 4 kB / 1.52 GB, free: 13.45 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.074e-06/0.6243, allocations: 0 / 1.52 GB, free: 13.45 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.105e-06/0.6243, allocations: 7.938 kB / 1.52 GB, free: 13.45 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003517/0.6278, allocations: 1.021 MB / 1.521 GB, free: 12.37 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.6278, allocations: 0 / 1.521 GB, free: 12.37 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.305e-05/0.6278, allocations: 7.938 kB / 1.521 GB, free: 12.36 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003184/0.6282, allocations: 116.8 kB / 1.521 GB, free: 12.24 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.954e-05/0.6282, allocations: 11.92 kB / 1.521 GB, free: 12.23 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009718/0.6292, allocations: 0.7421 MB / 1.521 GB, free: 11.46 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.6292, allocations: 0 / 1.521 GB, free: 11.46 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00336/0.6325, allocations: 0.892 MB / 1.522 GB, free: 10.55 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001605/0.6327, allocations: 55.75 kB / 1.522 GB, free: 10.49 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.655e-05/0.6327, allocations: 8 kB / 1.522 GB, free: 10.48 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002621/0.633, allocations: 11.98 kB / 1.522 GB, free: 10.47 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.58e-05/0.6331, allocations: 15.92 kB / 1.522 GB, free: 10.46 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.248e-05/0.6331, allocations: 7.984 kB / 1.522 GB, free: 10.45 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0003273/0.6334, allocations: 239 kB / 1.523 GB, free: 10.21 MB / 1.217 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6334, allocations: 4.062 kB / 1.523 GB, free: 10.21 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.000562/0.634, allocations: 123.8 kB / 1.523 GB, free: 10.09 MB / 1.217 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.0003807/0.6344, allocations: 185.3 kB / 1.523 GB, free: 9.898 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.001629/0.636, allocations: 0.5261 MB / 1.523 GB, free: 9.344 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.636, allocations: 4 kB / 1.523 GB, free: 9.34 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0007365/0.6367, allocations: 220.1 kB / 1.524 GB, free: 9.109 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005279/0.6373, allocations: 64.97 kB / 1.524 GB, free: 9.047 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001513/0.6388, allocations: 0.6548 MB / 1.524 GB, free: 8.367 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000425/0.6392, allocations: 0.7638 MB / 1.525 GB, free: 7.578 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.949e-05/0.6393, allocations: 23.42 kB / 1.525 GB, free: 7.555 MB / 1.217 GB Notification: Performance of SimCode: time 3.01e-07/0.6393, allocations: 0 / 1.525 GB, free: 7.555 MB / 1.217 GB Notification: Performance of Templates: time 0.01065/0.6499, allocations: 6.611 MB / 1.532 GB, free: 0.9688 MB / 1.217 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe 2>&1) [Timeout 800] 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: 13.400179038988426]