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.001225/0.001225, allocations: 92.2 kB / 20.19 MB, free: 4.363 MB / 18.57 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.001229/0.001229, allocations: 177 kB / 23.49 MB, free: 1.059 MB / 18.57 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.008/1.008, allocations: 177.1 MB / 203.8 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 179] 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 2.371/2.371, allocations: 429.5 MB / 0.6736 GB, free: 4.051 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.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: Performance of FrontEnd - loaded program: time 3.165e-06/3.165e-06, allocations: 0 / 0.8782 GB, free: 6.617 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.114e-05/4.43e-05, allocations: 3.344 kB / 0.8782 GB, free: 6.613 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal): time 0.004199/0.004243, allocations: 2.438 MB / 0.8806 GB, free: 4.184 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.1981/0.2023, allocations: 146.6 MB / 1.024 GB, free: 1.027 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003854/0.2027, allocations: 4 kB / 1.024 GB, free: 1.023 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.0005923/0.2033, allocations: 87.39 kB / 1.024 GB, free: 0.9375 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.001117/0.2044, allocations: 254.4 kB / 1.024 GB, free: 0.6875 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.00207/0.2065, allocations: 0.6655 MB / 1.025 GB, free: 20 kB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 0.001188/0.2077, allocations: 450.3 kB / 1.025 GB, free: 15.58 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001854/0.2078, allocations: 32.91 kB / 1.025 GB, free: 15.55 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003454/0.2082, allocations: 251.5 kB / 1.025 GB, free: 15.3 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003882/0.2086, allocations: 179.6 kB / 1.026 GB, free: 15.12 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 5.808e-05/0.2086, allocations: 28 kB / 1.026 GB, free: 15.1 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001581/0.2102, allocations: 0.608 MB / 1.026 GB, free: 14.49 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.000152/0.2104, allocations: 79.72 kB / 1.026 GB, free: 14.41 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001928/0.2106, allocations: 123.7 kB / 1.026 GB, free: 14.29 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.001279/0.2118, allocations: 0.6309 MB / 1.027 GB, free: 13.66 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 1.382e-05/0.2119, allocations: 4 kB / 1.027 GB, free: 13.65 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.234e-06/0.2119, allocations: 0 / 1.027 GB, free: 13.65 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 1.042e-05/0.2119, allocations: 0 / 1.027 GB, free: 13.65 MB / 0.9948 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.00163/0.2135, allocations: 0.8037 MB / 1.028 GB, free: 12.8 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 5.964e-05/0.2136, allocations: 8.031 kB / 1.028 GB, free: 12.79 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001165/0.2147, allocations: 184.6 kB / 1.028 GB, free: 12.61 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005652/0.2153, allocations: 269.3 kB / 1.028 GB, free: 12.32 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001028/0.2154, allocations: 49.64 kB / 1.028 GB, free: 12.27 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.165e-05/0.2154, allocations: 20 kB / 1.028 GB, free: 12.25 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004221/0.2159, allocations: 207 kB / 1.029 GB, free: 12.02 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.302e-05/0.2159, allocations: 0 / 1.029 GB, free: 12.02 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.625e-05/0.2159, allocations: 4 kB / 1.029 GB, free: 12.02 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.512e-05/0.2159, allocations: 4 kB / 1.029 GB, free: 12.01 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001616/0.2161, allocations: 103 kB / 1.029 GB, free: 11.91 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00176/0.2178, allocations: 0.9814 MB / 1.03 GB, free: 10.88 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005572/0.2184, allocations: 144.7 kB / 1.03 GB, free: 10.72 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00011/0.2185, allocations: 81.36 kB / 1.03 GB, free: 10.63 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.881e-05/0.2185, allocations: 3.938 kB / 1.03 GB, free: 10.62 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003128/0.2189, allocations: 186.9 kB / 1.03 GB, free: 10.42 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=19): time 3.857e-06/0.2189, allocations: 4 kB / 1.03 GB, free: 10.41 MB / 0.9948 GB Notification: Performance of matching and sorting (n=19): time 0.002479/0.2213, allocations: 0.6714 MB / 1.031 GB, free: 9.715 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.802e-05/0.2214, allocations: 93.03 kB / 1.031 GB, free: 9.605 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003617/0.2218, allocations: 350.2 kB / 1.031 GB, free: 9.246 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 4.925e-05/0.2218, allocations: 33.7 kB / 1.031 GB, free: 9.207 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001518/0.222, allocations: 211.7 kB / 1.031 GB, free: 8.992 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 4.986e-05/0.222, allocations: 55.53 kB / 1.031 GB, free: 8.938 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001387/0.2222, allocations: 95.55 kB / 1.031 GB, free: 8.832 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0006624/0.2228, allocations: 0.5157 MB / 1.032 GB, free: 8.305 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001907/0.223, allocations: 98.25 kB / 1.032 GB, free: 8.203 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002487/0.2233, allocations: 272 kB / 1.032 GB, free: 7.887 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003351/0.2236, allocations: 243.4 kB / 1.033 GB, free: 7.617 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.2236, allocations: 0 / 1.033 GB, free: 7.617 MB / 0.9948 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001949/0.2256, allocations: 0.7276 MB / 1.033 GB, free: 6.863 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 6.225e-05/0.2256, allocations: 37.69 kB / 1.033 GB, free: 6.82 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.155e-05/0.2256, allocations: 4 kB / 1.033 GB, free: 6.816 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007666/0.2264, allocations: 211.3 kB / 1.034 GB, free: 6.602 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001485/0.2265, allocations: 39.92 kB / 1.034 GB, free: 6.562 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00274/0.2293, allocations: 2.874 MB / 1.036 GB, free: 3.535 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002678/0.2296, allocations: 43.7 kB / 1.036 GB, free: 3.492 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.567e-05/0.2296, allocations: 15.98 kB / 1.036 GB, free: 3.477 MB / 0.9948 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.0002683/0.2299, allocations: 215.9 kB / 1.037 GB, free: 3.25 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.914e-05/0.2299, allocations: 39.75 kB / 1.037 GB, free: 3.211 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.252e-05/0.23, allocations: 34.25 kB / 1.037 GB, free: 3.176 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.147e-06/0.23, allocations: 0 / 1.037 GB, free: 3.176 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.23, allocations: 0 / 1.037 GB, free: 3.176 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.23, allocations: 0 / 1.037 GB, free: 3.176 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001864/0.2318, allocations: 0.8904 MB / 1.038 GB, free: 2.227 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/0.2319, allocations: 0 / 1.038 GB, free: 2.227 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.61e-05/0.2319, allocations: 7.938 kB / 1.038 GB, free: 2.219 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001729/0.2321, allocations: 91.53 kB / 1.038 GB, free: 2.125 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.908e-05/0.2321, allocations: 8 kB / 1.038 GB, free: 2.117 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006625/0.2328, allocations: 0.9752 MB / 1.039 GB, free: 1.113 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.15e-06/0.2328, allocations: 7.938 kB / 1.039 GB, free: 1.105 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00213/0.2349, allocations: 0.7917 MB / 1.039 GB, free: 280 kB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001376/0.235, allocations: 59.7 kB / 1.039 GB, free: 220 kB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.368e-05/0.2351, allocations: 4 kB / 1.039 GB, free: 216 kB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001271/0.2352, allocations: 15.92 kB / 1.039 GB, free: 200 kB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.827e-05/0.2353, allocations: 16 kB / 1.04 GB, free: 184 kB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.24e-05/0.2353, allocations: 15.98 kB / 1.04 GB, free: 168 kB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0002202/0.2355, allocations: 231 kB / 1.04 GB, free: 15.94 MB / 1.01 GB Notification: Performance of sort global known variables: time 9e-08/0.2355, allocations: 0 / 1.04 GB, free: 15.94 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.000519/0.2361, allocations: 119.9 kB / 1.04 GB, free: 15.82 MB / 1.01 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.0004527/0.2365, allocations: 200.7 kB / 1.04 GB, free: 15.62 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.001033/0.2375, allocations: 0.5514 MB / 1.041 GB, free: 15.02 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.2375, allocations: 0 / 1.041 GB, free: 15.02 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0003461/0.2379, allocations: 220.3 kB / 1.041 GB, free: 14.78 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004071/0.2383, allocations: 78.52 kB / 1.041 GB, free: 14.7 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001565/0.2399, allocations: 0.5789 MB / 1.041 GB, free: 14.1 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.711e-05/0.2399, allocations: 84.55 kB / 1.042 GB, free: 14 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0001195/0.2401, allocations: 29.88 kB / 1.042 GB, free: 13.96 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.701e-05/0.2401, allocations: 24.48 kB / 1.042 GB, free: 13.94 MB / 1.01 GB Notification: Performance of SimCode: time 2.044e-06/0.2401, allocations: 3.938 kB / 1.042 GB, free: 13.94 MB / 1.01 GB Notification: Performance of Templates: time 0.01368/0.2538, allocations: 7.841 MB / 1.049 GB, free: 6.184 MB / 1.01 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.531559932045639]