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.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.001645/0.001645, allocations: 113.5 kB / 17.08 MB, free: 6 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.001891/0.001891, allocations: 193.2 kB / 20.03 MB, free: 3.07 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.574/1.574, allocations: 222.9 MB / 245.7 MB, free: 4.223 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.092/3.092, allocations: 489.3 MB / 0.7687 GB, free: 3.965 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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: 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: Performance of FrontEnd - loaded program: time 0.00199/0.00199, allocations: 63.91 kB / 1.103 GB, free: 0.7656 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.204/1.206, allocations: 163.8 MB / 1.263 GB, free: 7.992 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal): time 0.004265/1.21, allocations: 2.386 MB / 1.265 GB, free: 6.344 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.2925/1.503, allocations: 151 MB / 1.412 GB, free: 6.543 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004302/1.503, allocations: 6.25 kB / 1.412 GB, free: 6.539 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0005206/1.504, allocations: 94.59 kB / 1.412 GB, free: 6.473 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.001179/1.505, allocations: 236.1 kB / 1.413 GB, free: 6.301 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.002255/1.507, allocations: 0.6541 MB / 1.413 GB, free: 5.852 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.0009864/1.508, allocations: 441.8 kB / 1.414 GB, free: 5.602 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001766/1.509, allocations: 53.53 kB / 1.414 GB, free: 5.57 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004732/1.509, allocations: 179.4 kB / 1.414 GB, free: 5.477 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000559/1.51, allocations: 198.6 kB / 1.414 GB, free: 5.355 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0001283/1.51, allocations: 34.41 kB / 1.414 GB, free: 5.352 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001843/1.512, allocations: 0.6251 MB / 1.415 GB, free: 5.039 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0001722/1.512, allocations: 88.72 kB / 1.415 GB, free: 4.969 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0003167/1.512, allocations: 164.2 kB / 1.415 GB, free: 4.855 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.001668/1.514, allocations: 0.6563 MB / 1.416 GB, free: 4.438 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/1.514, allocations: 1.531 kB / 1.416 GB, free: 4.438 MB / 1.107 GB Notification: Performance of FrontEnd: time 2.154e-06/1.514, allocations: 0 / 1.416 GB, free: 4.438 MB / 1.107 GB Notification: Performance of Transformations before backend: time 2.63e-05/1.514, allocations: 0 / 1.416 GB, free: 4.438 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.002278/1.516, allocations: 0.7515 MB / 1.416 GB, free: 3.789 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 5.447e-05/1.516, allocations: 9.656 kB / 1.416 GB, free: 3.789 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001677/1.518, allocations: 175 kB / 1.417 GB, free: 3.707 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007488/1.519, allocations: 313.8 kB / 1.417 GB, free: 3.41 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.116e-05/1.519, allocations: 50 kB / 1.417 GB, free: 3.367 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.388e-05/1.519, allocations: 21.22 kB / 1.417 GB, free: 3.359 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005089/1.519, allocations: 207.6 kB / 1.417 GB, free: 3.215 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.351e-05/1.519, allocations: 3.984 kB / 1.417 GB, free: 3.211 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.414e-05/1.519, allocations: 2.312 kB / 1.417 GB, free: 3.211 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.207e-05/1.519, allocations: 2.719 kB / 1.417 GB, free: 3.211 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003109/1.52, allocations: 119.6 kB / 1.417 GB, free: 3.156 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002887/1.523, allocations: 0.9908 MB / 1.418 GB, free: 2.332 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008798/1.524, allocations: 165.8 kB / 1.418 GB, free: 2.238 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002477/1.524, allocations: 100.6 kB / 1.419 GB, free: 2.188 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 3.692e-05/1.524, allocations: 5.047 kB / 1.419 GB, free: 2.184 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004461/1.524, allocations: 192.7 kB / 1.419 GB, free: 2.035 MB / 1.107 GB Notification: Performance of pre-optimization done (n=19): time 2.505e-06/1.524, allocations: 0 / 1.419 GB, free: 2.035 MB / 1.107 GB Notification: Performance of matching and sorting (n=19): time 0.004371/1.529, allocations: 0.8628 MB / 1.42 GB, free: 1.543 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.263e-05/1.529, allocations: 84.58 kB / 1.42 GB, free: 1.445 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005711/1.529, allocations: 341.3 kB / 1.42 GB, free: 1.219 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 6.804e-05/1.529, allocations: 36.02 kB / 1.42 GB, free: 1.18 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001717/1.53, allocations: 150.2 kB / 1.42 GB, free: 1.043 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 7.187e-05/1.53, allocations: 55.45 kB / 1.42 GB, free: 0.9961 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001907/1.53, allocations: 87.64 kB / 1.42 GB, free: 0.9336 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0002232/1.53, allocations: 346.2 kB / 1.421 GB, free: 0.5938 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003905/1.531, allocations: 141.4 kB / 1.421 GB, free: 0.5273 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004816/1.531, allocations: 214 kB / 1.421 GB, free: 408 kB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007391/1.532, allocations: 337.8 kB / 1.421 GB, free: 180 kB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/1.532, allocations: 0 / 1.421 GB, free: 180 kB / 1.107 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.003949/1.536, allocations: 0.8635 MB / 1.422 GB, free: 15.72 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 5.83e-05/1.536, allocations: 41.53 kB / 1.422 GB, free: 15.68 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/1.536, allocations: 1.031 kB / 1.422 GB, free: 15.68 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009975/1.537, allocations: 196.5 kB / 1.422 GB, free: 15.58 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002551/1.537, allocations: 45.16 kB / 1.422 GB, free: 15.57 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00364/1.541, allocations: 2.345 MB / 1.425 GB, free: 13.3 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005704/1.541, allocations: 47.81 kB / 1.425 GB, free: 13.27 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.235e-05/1.541, allocations: 20.33 kB / 1.425 GB, free: 13.26 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.0003559/1.542, allocations: 190.5 kB / 1.425 GB, free: 13.09 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001062/1.542, allocations: 35.34 kB / 1.425 GB, free: 13.07 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.488e-05/1.542, allocations: 31.48 kB / 1.425 GB, free: 13.04 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/1.542, allocations: 1.188 kB / 1.425 GB, free: 13.04 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.297e-06/1.542, allocations: 0 / 1.425 GB, free: 13.04 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/1.542, allocations: 4.969 kB / 1.425 GB, free: 13.04 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003573/1.546, allocations: 1.038 MB / 1.426 GB, free: 12.32 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.438e-06/1.546, allocations: 5.078 kB / 1.426 GB, free: 12.31 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.859e-05/1.546, allocations: 9.531 kB / 1.426 GB, free: 12.31 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003715/1.546, allocations: 115.6 kB / 1.426 GB, free: 12.25 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.04e-05/1.546, allocations: 20.17 kB / 1.426 GB, free: 12.23 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001066/1.547, allocations: 0.744 MB / 1.427 GB, free: 11.55 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/1.547, allocations: 0 / 1.427 GB, free: 11.55 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003541/1.551, allocations: 0.8796 MB / 1.428 GB, free: 11.04 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003055/1.551, allocations: 134.8 kB / 1.428 GB, free: 10.91 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001105/1.551, allocations: 3.594 kB / 1.428 GB, free: 10.91 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003853/1.552, allocations: 15.8 kB / 1.428 GB, free: 10.9 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.67e-05/1.552, allocations: 9.109 kB / 1.428 GB, free: 10.89 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.442e-05/1.552, allocations: 14.17 kB / 1.428 GB, free: 10.89 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.000507/1.552, allocations: 241.5 kB / 1.428 GB, free: 10.73 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.8e-07/1.552, allocations: 0 / 1.428 GB, free: 10.73 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0008596/1.553, allocations: 111.6 kB / 1.428 GB, free: 10.72 MB / 1.123 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.0005898/1.554, allocations: 188.2 kB / 1.428 GB, free: 10.59 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.002308/1.556, allocations: 0.5642 MB / 1.429 GB, free: 10.22 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/1.556, allocations: 0 / 1.429 GB, free: 10.22 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.001091/1.557, allocations: 259.8 kB / 1.429 GB, free: 10.05 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005831/1.558, allocations: 70.89 kB / 1.429 GB, free: 10 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001675/1.559, allocations: 0.6382 MB / 1.43 GB, free: 9.566 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004669/1.56, allocations: 0.7589 MB / 1.431 GB, free: 8.836 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.765e-05/1.56, allocations: 24.08 kB / 1.431 GB, free: 8.828 MB / 1.123 GB Notification: Performance of SimCode: time 2.6e-07/1.56, allocations: 0 / 1.431 GB, free: 8.828 MB / 1.123 GB Notification: Performance of Templates: time 0.01464/1.575, allocations: 6.532 MB / 1.437 GB, free: 4.82 MB / 1.123 GB " [Timeout remaining time 298] 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_2/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.651712344959378]