Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.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.001001/0.001001, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.001132/0.001132, allocations: 177 kB / 23.36 MB, free: 1.133 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.9046/0.9046, allocations: 177.1 MB / 203.8 MB, free: 5.473 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.313/2.313, allocations: 438.8 MB / 0.6826 GB, free: 13.61 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.port_a.m_flow|volSte.port_a.m_flow|volDyn.VLiq|volSte.VLiq|volDyn.T|volSte.T",fileNamePrefix="Buildings_latest_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation") translateModel(Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.port_a.m_flow|volSte.port_a.m_flow|volDyn.VLiq|volSte.VLiq|volDyn.T|volSte.T",fileNamePrefix="Buildings_latest_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 0.8386 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.404e-05/2.555e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation): time 0.1463/0.1463, allocations: 136.2 MB / 0.9716 GB, free: 5.48 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.006987/0.1533, allocations: 7.133 MB / 0.9785 GB, free: 14.32 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004356/0.1538, allocations: 19.81 kB / 0.9786 GB, free: 14.3 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0005036/0.1543, allocations: 194.5 kB / 0.9788 GB, free: 14.11 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.002012/0.1563, allocations: 1.135 MB / 0.9799 GB, free: 12.97 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.002293/0.1586, allocations: 1.309 MB / 0.9811 GB, free: 11.66 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.001296/0.1599, allocations: 1.375 MB / 0.9825 GB, free: 10.28 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004939/0.1604, allocations: 378.9 kB / 0.9828 GB, free: 9.902 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001323/0.1617, allocations: 0.9152 MB / 0.9837 GB, free: 8.984 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001674/0.1634, allocations: 1.212 MB / 0.9849 GB, free: 7.77 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 8.316e-05/0.1634, allocations: 52 kB / 0.985 GB, free: 7.719 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001552/0.165, allocations: 1.229 MB / 0.9862 GB, free: 6.488 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001246/0.1651, allocations: 163.4 kB / 0.9863 GB, free: 6.328 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.000196/0.1653, allocations: 255.4 kB / 0.9866 GB, free: 6.078 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.001376/0.1667, allocations: 1.325 MB / 0.9879 GB, free: 4.75 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.1667, allocations: 4 kB / 0.9879 GB, free: 4.746 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.493e-06/0.1667, allocations: 0 / 0.9879 GB, free: 4.746 MB / 0.948 GB Notification: Performance of Transformations before backend: time 8.817e-06/0.1667, allocations: 0 / 0.9879 GB, free: 4.746 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 0.001064/0.1678, allocations: 0.8574 MB / 0.9887 GB, free: 3.863 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.363e-05/0.1678, allocations: 8.625 kB / 0.9887 GB, free: 3.855 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005832/0.1684, allocations: 220.2 kB / 0.9889 GB, free: 3.641 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003715/0.1688, allocations: 333.3 kB / 0.9892 GB, free: 3.289 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.244e-05/0.1688, allocations: 37.69 kB / 0.9893 GB, free: 3.254 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.459e-05/0.1688, allocations: 56.38 kB / 0.9893 GB, free: 3.199 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006072/0.1694, allocations: 0.8458 MB / 0.9902 GB, free: 2.223 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.518e-05/0.1695, allocations: 3.938 kB / 0.9902 GB, free: 2.219 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.601e-05/0.1695, allocations: 24 kB / 0.9902 GB, free: 2.195 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.307e-06/0.1695, allocations: 12 kB / 0.9902 GB, free: 2.184 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002395/0.1697, allocations: 215.2 kB / 0.9904 GB, free: 1.969 MB / 0.948 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001553/0.1713, allocations: 1.897 MB / 0.9923 GB, free: 0 / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002197/0.1715, allocations: 163 kB / 0.9924 GB, free: 15.83 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.599e-05/0.1716, allocations: 70.31 kB / 0.9925 GB, free: 15.76 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002374/0.174, allocations: 1.368 MB / 0.9938 GB, free: 14.39 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.785e-05/0.174, allocations: 46.42 kB / 0.9939 GB, free: 14.34 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=36): time 1.663e-06/0.174, allocations: 0 / 0.9939 GB, free: 14.34 MB / 0.9636 GB Notification: Performance of matching and sorting (n=52): time 0.01783/0.1918, allocations: 7.97 MB / 1.002 GB, free: 6.348 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.104e-05/0.1919, allocations: 133 kB / 1.002 GB, free: 6.188 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002501/0.1921, allocations: 307.3 kB / 1.002 GB, free: 5.879 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 4.131e-05/0.1922, allocations: 37.7 kB / 1.002 GB, free: 5.836 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001372/0.1923, allocations: 273.3 kB / 1.002 GB, free: 5.566 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001093/0.1924, allocations: 190.3 kB / 1.003 GB, free: 5.379 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001345/0.1926, allocations: 102.3 kB / 1.003 GB, free: 5.273 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001046/0.1927, allocations: 358.7 kB / 1.003 GB, free: 4.914 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001028/0.1928, allocations: 85.28 kB / 1.003 GB, free: 4.832 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002225/0.193, allocations: 295.5 kB / 1.003 GB, free: 4.473 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003359/0.1933, allocations: 336.5 kB / 1.004 GB, free: 4.098 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.1933, allocations: 4 kB / 1.004 GB, free: 4.094 MB / 0.9636 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0006804/0.194, allocations: 451.3 kB / 1.004 GB, free: 3.641 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 2.39e-05/0.194, allocations: 11.94 kB / 1.004 GB, free: 3.629 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.229e-05/0.1941, allocations: 4 kB / 1.004 GB, free: 3.625 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003008/0.1944, allocations: 101.9 kB / 1.004 GB, free: 3.52 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002783/0.1946, allocations: 123.8 kB / 1.004 GB, free: 3.398 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001862/0.1965, allocations: 2.762 MB / 1.007 GB, free: 476 kB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002606/0.1968, allocations: 27.97 kB / 1.007 GB, free: 448 kB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.182e-05/0.1968, allocations: 16 kB / 1.007 GB, free: 432 kB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001961/0.197, allocations: 144.5 kB / 1.007 GB, free: 276 kB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001504/0.1971, allocations: 79.56 kB / 1.007 GB, free: 196 kB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006675/0.1978, allocations: 490.3 kB / 1.008 GB, free: 15.7 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.681e-06/0.1978, allocations: 11.92 kB / 1.008 GB, free: 15.68 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.1978, allocations: 0 / 1.008 GB, free: 15.68 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.1978, allocations: 0 / 1.008 GB, free: 15.68 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001195/0.199, allocations: 0.8723 MB / 1.009 GB, free: 14.75 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.638e-06/0.199, allocations: 7.938 kB / 1.009 GB, free: 14.74 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002186/0.1992, allocations: 87.89 kB / 1.009 GB, free: 14.65 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001611/0.1994, allocations: 69.11 kB / 1.009 GB, free: 14.58 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.084e-05/0.1994, allocations: 16 kB / 1.009 GB, free: 14.57 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007193/0.2001, allocations: 1.395 MB / 1.01 GB, free: 13.09 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.2001, allocations: 4 kB / 1.01 GB, free: 13.08 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000617/0.2008, allocations: 0.5693 MB / 1.011 GB, free: 12.45 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 4.075e-05/0.2008, allocations: 39.75 kB / 1.011 GB, free: 12.41 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.833e-05/0.2008, allocations: 23.83 kB / 1.011 GB, free: 12.39 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000175/0.201, allocations: 19.98 kB / 1.011 GB, free: 12.37 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.613e-05/0.2011, allocations: 43.88 kB / 1.011 GB, free: 12.33 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.425e-05/0.2011, allocations: 19.98 kB / 1.011 GB, free: 12.31 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 9.046e-05/0.2012, allocations: 132.7 kB / 1.011 GB, free: 12.18 MB / 0.9792 GB Notification: Performance of sort global known variables: time 5e-08/0.2012, allocations: 0 / 1.011 GB, free: 12.18 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.001837/0.203, allocations: 0.7652 MB / 1.012 GB, free: 11.42 MB / 0.9792 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (volDyn.VWat,volSte.VWat) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 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,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002058/0.2051, allocations: 489.5 kB / 1.012 GB, free: 10.93 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0006356/0.2057, allocations: 0.5316 MB / 1.013 GB, free: 10.38 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 9.257e-06/0.2057, allocations: 4.75 kB / 1.013 GB, free: 10.37 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0002332/0.206, allocations: 288.2 kB / 1.013 GB, free: 10.07 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006259/0.2066, allocations: 254.5 kB / 1.013 GB, free: 9.832 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001361/0.208, allocations: 1.034 MB / 1.014 GB, free: 8.727 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.173e-05/0.208, allocations: 134 kB / 1.014 GB, free: 8.574 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0002885/0.2083, allocations: 113.7 kB / 1.014 GB, free: 8.473 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004034/0.2087, allocations: 249 kB / 1.015 GB, free: 8.227 MB / 0.9792 GB Notification: Performance of SimCode: time 6.91e-07/0.2087, allocations: 0 / 1.015 GB, free: 8.227 MB / 0.9792 GB Notification: Performance of Templates: time 0.04145/0.2502, allocations: 37.88 MB / 1.052 GB, free: 2.773 MB / 1.01 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe ; mkfifo Buildings_latest_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe ; head -c 1048576 < Buildings_latest_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe >> ../files/Buildings_latest_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.sim & ./Buildings_latest_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_DHC_Plants_Steam_BaseClasses_Examples_ControlVolumeEvaporation.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.665071967057884]