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.001629/0.001629, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.00184/0.00184, allocations: 220 kB / 23 MB, free: 4.914 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.491/1.491, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.713/2.713, allocations: 476 MB / 0.7707 GB, free: 4.723 MB / 0.6231 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: 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_11_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_11_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.002311/0.002311, allocations: 64.69 kB / 1.118 GB, free: 41.14 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4072/0.4096, allocations: 170 MB / 1.284 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal): time 0.004308/0.4139, allocations: 2.301 MB / 1.286 GB, free: 9.602 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.2034/0.6173, allocations: 132.7 MB / 1.416 GB, free: 4.406 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003464/0.6176, allocations: 4 kB / 1.416 GB, free: 4.402 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0005022/0.6181, allocations: 83.44 kB / 1.416 GB, free: 4.32 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.001062/0.6192, allocations: 250.5 kB / 1.416 GB, free: 4.074 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.002358/0.6215, allocations: 0.6656 MB / 1.417 GB, free: 3.414 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.0008201/0.6224, allocations: 430.6 kB / 1.417 GB, free: 2.992 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001463/0.6225, allocations: 36.84 kB / 1.417 GB, free: 2.961 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004281/0.6229, allocations: 187.5 kB / 1.417 GB, free: 2.777 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005207/0.6235, allocations: 191.3 kB / 1.417 GB, free: 2.59 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0001024/0.6236, allocations: 32 kB / 1.417 GB, free: 2.559 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001514/0.6251, allocations: 0.6004 MB / 1.418 GB, free: 1.957 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0001843/0.6253, allocations: 79.78 kB / 1.418 GB, free: 1.879 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0002677/0.6255, allocations: 139.4 kB / 1.418 GB, free: 1.742 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.001475/0.627, allocations: 0.6696 MB / 1.419 GB, free: 1.07 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.627, allocations: 0 / 1.419 GB, free: 1.07 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.853e-06/0.627, allocations: 4 kB / 1.419 GB, free: 1.066 MB / 1.107 GB Notification: Performance of Transformations before backend: time 8.245e-06/0.627, allocations: 0 / 1.419 GB, free: 1.066 MB / 1.107 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.001762/0.6288, allocations: 0.703 MB / 1.42 GB, free: 332 kB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.347e-05/0.6288, allocations: 8.031 kB / 1.42 GB, free: 324 kB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001839/0.6307, allocations: 188.5 kB / 1.42 GB, free: 136 kB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006163/0.6313, allocations: 265.7 kB / 1.42 GB, free: 15.85 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.917e-05/0.6314, allocations: 41.7 kB / 1.42 GB, free: 15.8 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.934e-05/0.6314, allocations: 27.94 kB / 1.42 GB, free: 15.77 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004922/0.6319, allocations: 240.5 kB / 1.42 GB, free: 15.52 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.6319, allocations: 0 / 1.42 GB, free: 15.52 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.465e-05/0.632, allocations: 4 kB / 1.42 GB, free: 15.52 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.047e-06/0.632, allocations: 4 kB / 1.42 GB, free: 15.51 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003128/0.6323, allocations: 153.8 kB / 1.42 GB, free: 15.36 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002552/0.6348, allocations: 0.8674 MB / 1.421 GB, free: 14.45 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008554/0.6357, allocations: 176.2 kB / 1.421 GB, free: 14.26 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002434/0.6359, allocations: 118.5 kB / 1.422 GB, free: 14.14 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 2.474e-05/0.636, allocations: 0 / 1.422 GB, free: 14.14 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004358/0.6364, allocations: 229.7 kB / 1.422 GB, free: 13.89 MB / 1.123 GB Notification: Performance of pre-optimization done (n=19): time 2.074e-06/0.6364, allocations: 4 kB / 1.422 GB, free: 13.89 MB / 1.123 GB Notification: Performance of matching and sorting (n=19): time 0.004644/0.641, allocations: 0.8523 MB / 1.423 GB, free: 13.01 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001082/0.6412, allocations: 89.03 kB / 1.423 GB, free: 12.9 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006101/0.6418, allocations: 320.4 kB / 1.423 GB, free: 12.58 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 6.879e-05/0.6418, allocations: 33.7 kB / 1.423 GB, free: 12.54 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.000206/0.642, allocations: 160.9 kB / 1.423 GB, free: 12.38 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 9.04e-05/0.6421, allocations: 59.48 kB / 1.423 GB, free: 12.32 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002405/0.6424, allocations: 85.94 kB / 1.423 GB, free: 12.22 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.000219/0.6426, allocations: 346.7 kB / 1.424 GB, free: 11.88 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006463/0.6432, allocations: 162.2 kB / 1.424 GB, free: 11.71 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008002/0.644, allocations: 353.9 kB / 1.424 GB, free: 11.32 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001025/0.6451, allocations: 356.6 kB / 1.425 GB, free: 10.95 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.6451, allocations: 0 / 1.425 GB, free: 10.95 MB / 1.123 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.004243/0.6493, allocations: 0.9102 MB / 1.425 GB, free: 10.01 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 5.84e-05/0.6494, allocations: 40.03 kB / 1.425 GB, free: 9.969 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.877e-06/0.6494, allocations: 0 / 1.425 GB, free: 9.969 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009588/0.6503, allocations: 197.5 kB / 1.426 GB, free: 9.77 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002423/0.6506, allocations: 35.97 kB / 1.426 GB, free: 9.734 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00333/0.6539, allocations: 2.212 MB / 1.428 GB, free: 7.395 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004823/0.6544, allocations: 47.72 kB / 1.428 GB, free: 7.348 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.103e-05/0.6544, allocations: 19.98 kB / 1.428 GB, free: 7.328 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.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.0002993/0.6547, allocations: 197.8 kB / 1.428 GB, free: 7.121 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.976e-05/0.6548, allocations: 31.81 kB / 1.428 GB, free: 7.09 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.733e-05/0.6549, allocations: 18.27 kB / 1.428 GB, free: 7.07 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.6549, allocations: 7.984 kB / 1.428 GB, free: 7.062 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.6549, allocations: 4 kB / 1.428 GB, free: 7.059 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.6549, allocations: 0 / 1.428 GB, free: 7.059 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003368/0.6582, allocations: 0.9939 MB / 1.429 GB, free: 6.012 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.6582, allocations: 0 / 1.429 GB, free: 6.012 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.323e-05/0.6583, allocations: 8 kB / 1.429 GB, free: 6.004 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003341/0.6586, allocations: 116.8 kB / 1.429 GB, free: 5.887 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.795e-05/0.6587, allocations: 7.984 kB / 1.429 GB, free: 5.879 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001011/0.6597, allocations: 0.7537 MB / 1.43 GB, free: 5.102 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.6597, allocations: 0 / 1.43 GB, free: 5.102 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003328/0.663, allocations: 0.9442 MB / 1.431 GB, free: 4.121 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001896/0.6632, allocations: 51.78 kB / 1.431 GB, free: 4.07 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.475e-05/0.6632, allocations: 4 kB / 1.431 GB, free: 4.066 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002504/0.6635, allocations: 15.98 kB / 1.431 GB, free: 4.051 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.659e-05/0.6636, allocations: 15.97 kB / 1.431 GB, free: 4.035 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.433e-05/0.6636, allocations: 8.062 kB / 1.431 GB, free: 4.027 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0003354/0.6639, allocations: 227 kB / 1.431 GB, free: 3.805 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6639, allocations: 4 kB / 1.431 GB, free: 3.801 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0006059/0.6645, allocations: 123.7 kB / 1.431 GB, free: 3.68 MB / 1.123 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.0004146/0.6649, allocations: 187 kB / 1.432 GB, free: 3.488 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.00168/0.6666, allocations: 0.5924 MB / 1.432 GB, free: 2.855 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.6666, allocations: 0 / 1.432 GB, free: 2.855 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0007674/0.6674, allocations: 261.6 kB / 1.432 GB, free: 2.578 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004745/0.6679, allocations: 52.69 kB / 1.432 GB, free: 2.527 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001621/0.6695, allocations: 0.679 MB / 1.433 GB, free: 1.812 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001801/0.6697, allocations: 151.1 kB / 1.433 GB, free: 1.645 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.09e-05/0.6697, allocations: 27.36 kB / 1.433 GB, free: 1.617 MB / 1.123 GB Notification: Performance of SimCode: time 5.31e-07/0.6697, allocations: 0 / 1.433 GB, free: 1.617 MB / 1.123 GB Notification: Performance of Templates: time 0.01153/0.6813, allocations: 6.615 MB / 1.44 GB, free: 11.03 MB / 1.139 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.makefile [Timeout 300] (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 & ./Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe 2>&1) [Timeout 400] 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: 12.953987313900143]