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.0009202/0.0009202, allocations: 81.92 kB / 19.87 MB, free: 4.621 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.001039/0.001039, allocations: 173.7 kB / 23.28 MB, free: 1.223 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 0.8947/0.8947, allocations: 177.1 MB / 203.7 MB, free: 5.512 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.27/2.27, allocations: 438.1 MB / 0.682 GB, free: 14.16 MB / 0.6511 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 1.934e-06/1.934e-06, allocations: 0 / 0.8898 GB, free: 9.738 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.731e-05/1.925e-05, allocations: 2.312 kB / 0.8898 GB, free: 9.734 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal): time 0.006629/0.006648, allocations: 2.421 MB / 0.8922 GB, free: 7.301 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.1651/0.1718, allocations: 142.1 MB / 1.031 GB, free: 8.633 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001873/0.172, allocations: 7.938 kB / 1.031 GB, free: 8.625 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0004056/0.1724, allocations: 91.33 kB / 1.031 GB, free: 8.535 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.0005091/0.1729, allocations: 254.4 kB / 1.031 GB, free: 8.285 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009832/0.1739, allocations: 0.6306 MB / 1.032 GB, free: 7.652 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.0003976/0.1743, allocations: 458.3 kB / 1.032 GB, free: 7.203 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001112/0.1744, allocations: 36.91 kB / 1.032 GB, free: 7.16 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002464/0.1746, allocations: 255.4 kB / 1.033 GB, free: 6.91 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002404/0.1749, allocations: 171.6 kB / 1.033 GB, free: 6.742 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 4.169e-05/0.1749, allocations: 28 kB / 1.033 GB, free: 6.715 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006737/0.1756, allocations: 0.5808 MB / 1.033 GB, free: 6.133 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 8.794e-05/0.1757, allocations: 87.7 kB / 1.033 GB, free: 6.047 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 9.902e-05/0.1758, allocations: 115.7 kB / 1.034 GB, free: 5.934 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.00062/0.1764, allocations: 0.6348 MB / 1.034 GB, free: 5.297 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.1764, allocations: 0 / 1.034 GB, free: 5.297 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.603e-06/0.1764, allocations: 0 / 1.034 GB, free: 5.297 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 6.322e-06/0.1764, allocations: 0 / 1.034 GB, free: 5.297 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.001021/0.1774, allocations: 0.7998 MB / 1.035 GB, free: 4.449 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.748e-05/0.1775, allocations: 12.62 kB / 1.035 GB, free: 4.438 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008356/0.1783, allocations: 184.6 kB / 1.035 GB, free: 4.258 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003313/0.1786, allocations: 273.3 kB / 1.035 GB, free: 3.961 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.339e-05/0.1787, allocations: 42.27 kB / 1.035 GB, free: 3.914 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.644e-05/0.1787, allocations: 32.11 kB / 1.035 GB, free: 3.883 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000231/0.179, allocations: 190.2 kB / 1.036 GB, free: 3.672 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.179, allocations: 0 / 1.036 GB, free: 3.672 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.534e-05/0.179, allocations: 4 kB / 1.036 GB, free: 3.668 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/0.179, allocations: 7.984 kB / 1.036 GB, free: 3.66 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.992e-05/0.1791, allocations: 81.75 kB / 1.036 GB, free: 3.574 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001567/0.1807, allocations: 0.9313 MB / 1.037 GB, free: 2.605 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003692/0.181, allocations: 140.7 kB / 1.037 GB, free: 2.449 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.435e-05/0.1811, allocations: 73.36 kB / 1.037 GB, free: 2.367 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.475e-05/0.1811, allocations: 4 kB / 1.037 GB, free: 2.363 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001867/0.1813, allocations: 172.4 kB / 1.037 GB, free: 2.168 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=19): time 1.633e-06/0.1813, allocations: 0 / 1.037 GB, free: 2.168 MB / 0.9948 GB Notification: Performance of matching and sorting (n=19): time 0.001727/0.183, allocations: 0.6707 MB / 1.038 GB, free: 1.469 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.806e-05/0.1831, allocations: 85.09 kB / 1.038 GB, free: 1.367 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002049/0.1833, allocations: 346.1 kB / 1.038 GB, free: 1.012 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 3.266e-05/0.1833, allocations: 37.7 kB / 1.038 GB, free: 0.9688 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001072/0.1834, allocations: 211.6 kB / 1.038 GB, free: 0.7578 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 3.547e-05/0.1834, allocations: 55.56 kB / 1.038 GB, free: 0.7031 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001016/0.1835, allocations: 99.44 kB / 1.038 GB, free: 0.5938 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001462/0.1837, allocations: 0.5157 MB / 1.039 GB, free: 68 kB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001184/0.1838, allocations: 78.33 kB / 1.039 GB, free: 15.98 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001697/0.184, allocations: 260.5 kB / 1.039 GB, free: 15.68 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002069/0.1842, allocations: 231.6 kB / 1.04 GB, free: 15.42 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.1842, allocations: 3.938 kB / 1.04 GB, free: 15.42 MB / 1.01 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001431/0.1856, allocations: 0.6806 MB / 1.04 GB, free: 14.71 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 3.517e-05/0.1857, allocations: 37.7 kB / 1.04 GB, free: 14.67 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.796e-06/0.1857, allocations: 12.05 kB / 1.04 GB, free: 14.66 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005153/0.1862, allocations: 203.2 kB / 1.04 GB, free: 14.45 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001003/0.1863, allocations: 35.97 kB / 1.04 GB, free: 14.41 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002014/0.1883, allocations: 2.85 MB / 1.043 GB, free: 11.42 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000166/0.1885, allocations: 47.8 kB / 1.043 GB, free: 11.38 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.21e-05/0.1885, allocations: 23.95 kB / 1.043 GB, free: 11.35 MB / 1.01 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.0001695/0.1887, allocations: 210.2 kB / 1.044 GB, free: 11.13 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.228e-05/0.1887, allocations: 35.81 kB / 1.044 GB, free: 11.09 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.382e-05/0.1887, allocations: 18.27 kB / 1.044 GB, free: 11.07 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.1887, allocations: 7.938 kB / 1.044 GB, free: 11.07 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.1887, allocations: 0 / 1.044 GB, free: 11.07 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/0.1887, allocations: 7.984 kB / 1.044 GB, free: 11.06 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001381/0.1901, allocations: 0.8383 MB / 1.044 GB, free: 10.17 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.1901, allocations: 0 / 1.044 GB, free: 10.17 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.343e-05/0.1902, allocations: 19.98 kB / 1.044 GB, free: 10.15 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001137/0.1903, allocations: 71.56 kB / 1.045 GB, free: 10.08 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.854e-05/0.1903, allocations: 15.92 kB / 1.045 GB, free: 10.06 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004311/0.1907, allocations: 0.979 MB / 1.045 GB, free: 9.055 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1907, allocations: 4 kB / 1.045 GB, free: 9.051 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001227/0.1919, allocations: 0.7654 MB / 1.046 GB, free: 8.242 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 7.653e-05/0.192, allocations: 59.8 kB / 1.046 GB, free: 8.184 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.992e-05/0.1921, allocations: 8 kB / 1.046 GB, free: 8.176 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001012/0.1922, allocations: 7.984 kB / 1.046 GB, free: 8.168 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.79e-05/0.1922, allocations: 11.98 kB / 1.046 GB, free: 8.156 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.982e-05/0.1922, allocations: 11.98 kB / 1.046 GB, free: 8.145 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0001127/0.1923, allocations: 226.9 kB / 1.047 GB, free: 7.922 MB / 1.01 GB Notification: Performance of sort global known variables: time 8e-08/0.1923, allocations: 0 / 1.047 GB, free: 7.922 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.000296/0.1926, allocations: 123.8 kB / 1.047 GB, free: 7.801 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.0002585/0.1929, allocations: 195 kB / 1.047 GB, free: 7.602 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0006572/0.1935, allocations: 0.5346 MB / 1.047 GB, free: 7.016 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.1935, allocations: 0 / 1.047 GB, free: 7.016 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0002583/0.1938, allocations: 218.4 kB / 1.048 GB, free: 6.777 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002809/0.1941, allocations: 70.38 kB / 1.048 GB, free: 6.711 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009641/0.195, allocations: 0.5674 MB / 1.048 GB, free: 6.109 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.528e-05/0.1951, allocations: 88.55 kB / 1.048 GB, free: 6.004 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 7.552e-05/0.1952, allocations: 33.92 kB / 1.048 GB, free: 5.973 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001738/0.1953, allocations: 146.1 kB / 1.048 GB, free: 5.828 MB / 1.01 GB Notification: Performance of SimCode: time 1.172e-06/0.1954, allocations: 0 / 1.048 GB, free: 5.828 MB / 1.01 GB Notification: Performance of Templates: time 0.4987/0.6941, allocations: 8.518 MB / 1.057 GB, free: 69.75 MB / 1.01 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=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: 6.351347314193845]