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.0009352/0.0009352, allocations: 80.75 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.0009549/0.0009549, allocations: 181 kB / 23.36 MB, free: 1.129 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.9477/0.9477, allocations: 177.1 MB / 203.8 MB, free: 5.457 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.335/2.335, allocations: 438.8 MB / 0.6826 GB, free: 13.64 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.142e-06/1.142e-06, allocations: 0 / 0.8386 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.406e-05/1.52e-05, allocations: 6.25 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.1275/0.1275, allocations: 136.3 MB / 0.9717 GB, free: 5.438 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.007716/0.1352, allocations: 7.121 MB / 0.9786 GB, free: 14.29 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003174/0.1356, allocations: 23.81 kB / 0.9787 GB, free: 14.27 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0005061/0.1361, allocations: 194.5 kB / 0.9788 GB, free: 14.08 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.001583/0.1376, allocations: 1.057 MB / 0.9799 GB, free: 13.02 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001774/0.1394, allocations: 1.223 MB / 0.9811 GB, free: 11.79 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.000899/0.1403, allocations: 1.383 MB / 0.9824 GB, free: 10.4 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003819/0.1407, allocations: 367 kB / 0.9828 GB, free: 10.04 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009934/0.1417, allocations: 0.9191 MB / 0.9837 GB, free: 9.113 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001308/0.143, allocations: 1.212 MB / 0.9849 GB, free: 7.898 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 5.688e-05/0.1431, allocations: 52 kB / 0.9849 GB, free: 7.848 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001467/0.1445, allocations: 1.295 MB / 0.9862 GB, free: 6.551 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001246/0.1447, allocations: 163.4 kB / 0.9863 GB, free: 6.391 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001909/0.1448, allocations: 255.4 kB / 0.9866 GB, free: 6.141 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.001409/0.1463, allocations: 1.336 MB / 0.9879 GB, free: 4.801 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.1463, allocations: 0 / 0.9879 GB, free: 4.801 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.302e-06/0.1463, allocations: 0 / 0.9879 GB, free: 4.801 MB / 0.948 GB Notification: Performance of Transformations before backend: time 6.222e-06/0.1463, allocations: 0 / 0.9879 GB, free: 4.801 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.0008969/0.1472, allocations: 0.8458 MB / 0.9887 GB, free: 3.93 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.32e-05/0.1472, allocations: 8.625 kB / 0.9887 GB, free: 3.922 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006258/0.1478, allocations: 228.2 kB / 0.9889 GB, free: 3.699 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004006/0.1482, allocations: 329.2 kB / 0.9892 GB, free: 3.352 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.945e-05/0.1483, allocations: 41.69 kB / 0.9893 GB, free: 3.312 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.778e-05/0.1483, allocations: 56.38 kB / 0.9893 GB, free: 3.258 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006275/0.1489, allocations: 0.8305 MB / 0.9901 GB, free: 2.293 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.821e-05/0.149, allocations: 7.875 kB / 0.9901 GB, free: 2.285 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.587e-05/0.149, allocations: 28 kB / 0.9902 GB, free: 2.258 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.137e-05/0.149, allocations: 19.94 kB / 0.9902 GB, free: 2.238 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002325/0.1492, allocations: 207.2 kB / 0.9904 GB, free: 2.031 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.00163/0.1509, allocations: 1.905 MB / 0.9923 GB, free: 56 kB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002409/0.1511, allocations: 158.4 kB / 0.9924 GB, free: 15.89 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.861e-05/0.1512, allocations: 70.3 kB / 0.9925 GB, free: 15.82 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002526/0.1537, allocations: 1.368 MB / 0.9938 GB, free: 14.45 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.162e-05/0.1538, allocations: 42.42 kB / 0.9938 GB, free: 14.4 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=36): time 1.623e-06/0.1538, allocations: 0 / 0.9938 GB, free: 14.4 MB / 0.9636 GB Notification: Performance of matching and sorting (n=52): time 0.01868/0.1724, allocations: 7.977 MB / 1.002 GB, free: 6.406 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.43e-05/0.1725, allocations: 133 kB / 1.002 GB, free: 6.246 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002181/0.1727, allocations: 307.3 kB / 1.002 GB, free: 5.938 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 3.152e-05/0.1727, allocations: 37.7 kB / 1.002 GB, free: 5.895 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001074/0.1728, allocations: 273.2 kB / 1.002 GB, free: 5.625 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 9.036e-05/0.1729, allocations: 194.3 kB / 1.003 GB, free: 5.434 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001145/0.173, allocations: 102.3 kB / 1.003 GB, free: 5.328 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.884e-05/0.1731, allocations: 366.7 kB / 1.003 GB, free: 4.961 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.869e-05/0.1732, allocations: 77.28 kB / 1.003 GB, free: 4.887 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001905/0.1734, allocations: 297.5 kB / 1.003 GB, free: 4.523 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003058/0.1737, allocations: 336.5 kB / 1.004 GB, free: 4.148 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.1737, allocations: 0 / 1.004 GB, free: 4.148 MB / 0.9636 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0006055/0.1743, allocations: 447.3 kB / 1.004 GB, free: 3.699 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/0.1744, allocations: 8 kB / 1.004 GB, free: 3.691 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.555e-06/0.1744, allocations: 4.375 kB / 1.004 GB, free: 3.688 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002685/0.1746, allocations: 105.5 kB / 1.004 GB, free: 3.578 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002808/0.1749, allocations: 127.8 kB / 1.004 GB, free: 3.453 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001523/0.1764, allocations: 2.762 MB / 1.007 GB, free: 0.5195 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001961/0.1766, allocations: 27.98 kB / 1.007 GB, free: 0.4922 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.018e-05/0.1767, allocations: 19.98 kB / 1.007 GB, free: 484 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.0001372/0.1768, allocations: 144.5 kB / 1.007 GB, free: 328 kB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001314/0.1769, allocations: 79.64 kB / 1.007 GB, free: 248 kB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006274/0.1776, allocations: 485.8 kB / 1.008 GB, free: 15.75 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.1776, allocations: 11.94 kB / 1.008 GB, free: 15.74 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-06/0.1776, allocations: 0 / 1.008 GB, free: 15.74 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.1776, allocations: 3.984 kB / 1.008 GB, free: 15.73 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001287/0.1789, allocations: 0.8723 MB / 1.009 GB, free: 14.8 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.922e-06/0.1789, allocations: 4.125 kB / 1.009 GB, free: 14.79 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00027/0.1791, allocations: 111.9 kB / 1.009 GB, free: 14.68 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001456/0.1793, allocations: 81.06 kB / 1.009 GB, free: 14.6 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.108e-05/0.1793, allocations: 11.98 kB / 1.009 GB, free: 14.59 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007269/0.18, allocations: 1.387 MB / 1.01 GB, free: 13.12 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.18, allocations: 4.031 kB / 1.01 GB, free: 13.11 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006229/0.1807, allocations: 0.5656 MB / 1.011 GB, free: 12.49 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 3.842e-05/0.1807, allocations: 47.67 kB / 1.011 GB, free: 12.44 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.293e-05/0.1807, allocations: 11.94 kB / 1.011 GB, free: 12.43 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001814/0.1809, allocations: 23.98 kB / 1.011 GB, free: 12.41 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.886e-05/0.181, allocations: 48.05 kB / 1.011 GB, free: 12.36 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.468e-05/0.181, allocations: 19.97 kB / 1.011 GB, free: 12.34 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 9e-05/0.1811, allocations: 128.7 kB / 1.011 GB, free: 12.22 MB / 0.9792 GB Notification: Performance of sort global known variables: time 6e-08/0.1811, allocations: 0 / 1.011 GB, free: 12.22 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.001725/0.1828, allocations: 0.769 MB / 1.012 GB, free: 11.45 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.002061/0.1849, allocations: 485.5 kB / 1.012 GB, free: 10.96 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0006037/0.1855, allocations: 0.54 MB / 1.013 GB, free: 10.4 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 8.195e-06/0.1855, allocations: 8.062 kB / 1.013 GB, free: 10.39 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0002289/0.1857, allocations: 276.1 kB / 1.013 GB, free: 10.11 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006217/0.1863, allocations: 251.2 kB / 1.013 GB, free: 9.867 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001332/0.1877, allocations: 1.046 MB / 1.014 GB, free: 8.75 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.065e-05/0.1878, allocations: 142 kB / 1.014 GB, free: 8.59 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0002589/0.188, allocations: 97.31 kB / 1.014 GB, free: 8.504 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004201/0.1884, allocations: 257 kB / 1.015 GB, free: 8.25 MB / 0.9792 GB Notification: Performance of SimCode: time 9.42e-07/0.1884, allocations: 0 / 1.015 GB, free: 8.25 MB / 0.9792 GB Notification: Performance of Templates: time 0.04129/0.2297, allocations: 37.88 MB / 1.052 GB, free: 2.809 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 -s gbode -gbm=radauIIA3 -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.479494555853307]