Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0009483/0.0009483, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.0009088/0.0009088, allocations: 161 kB / 23.82 MB, free: 0.75 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.9467/0.9467, allocations: 177.1 MB / 204.2 MB, free: 5.246 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.836/1.836, allocations: 377.8 MB / 0.6236 GB, free: 8.562 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_12_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_12_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 9.22e-07/9.22e-07, allocations: 0 / 0.8115 GB, free: 1.746 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.806e-05/1.899e-05, allocations: 6.25 kB / 0.8115 GB, free: 1.738 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation): time 0.1231/0.1231, allocations: 136.8 MB / 0.9451 GB, free: 8.5 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.007177/0.1303, allocations: 7.107 MB / 0.9521 GB, free: 1.367 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003805/0.1306, allocations: 19.81 kB / 0.9521 GB, free: 1.348 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0005647/0.1312, allocations: 206.5 kB / 0.9523 GB, free: 1.145 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.001978/0.1332, allocations: 1.116 MB / 0.9534 GB, free: 24 kB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.002045/0.1352, allocations: 1.312 MB / 0.9547 GB, free: 14.71 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.001126/0.1363, allocations: 1.375 MB / 0.956 GB, free: 13.32 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00055/0.1369, allocations: 382.2 kB / 0.9564 GB, free: 12.95 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001256/0.1382, allocations: 0.9112 MB / 0.9573 GB, free: 12.04 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001741/0.1399, allocations: 1.227 MB / 0.9584 GB, free: 10.8 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 8.402e-05/0.14, allocations: 52 kB / 0.9585 GB, free: 10.75 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001606/0.1416, allocations: 1.225 MB / 0.9597 GB, free: 9.527 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0001474/0.1417, allocations: 167.3 kB / 0.9599 GB, free: 9.363 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0002307/0.142, allocations: 251.5 kB / 0.9601 GB, free: 9.117 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.001528/0.1435, allocations: 1.344 MB / 0.9614 GB, free: 7.77 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.1435, allocations: 0 / 0.9614 GB, free: 7.77 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.683e-06/0.1435, allocations: 0 / 0.9614 GB, free: 7.77 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 9.338e-06/0.1435, allocations: 0 / 0.9614 GB, free: 7.77 MB / 0.9167 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.001258/0.1448, allocations: 0.9826 MB / 0.9624 GB, free: 6.75 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.656e-05/0.1448, allocations: 11.97 kB / 0.9624 GB, free: 6.738 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006676/0.1455, allocations: 235.9 kB / 0.9626 GB, free: 6.508 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004459/0.1459, allocations: 386.7 kB / 0.963 GB, free: 6.105 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.754e-05/0.146, allocations: 37.69 kB / 0.963 GB, free: 6.07 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.71e-05/0.146, allocations: 60.38 kB / 0.9631 GB, free: 6.012 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007969/0.1468, allocations: 0.9557 MB / 0.964 GB, free: 4.891 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.704e-05/0.1468, allocations: 3.938 kB / 0.964 GB, free: 4.887 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.419e-05/0.1469, allocations: 28 kB / 0.964 GB, free: 4.859 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.338e-05/0.1469, allocations: 12 kB / 0.964 GB, free: 4.848 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003822/0.1473, allocations: 273.6 kB / 0.9643 GB, free: 4.582 MB / 0.9167 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.002068/0.1494, allocations: 2.736 MB / 0.967 GB, free: 1.75 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002967/0.1496, allocations: 205.4 kB / 0.9672 GB, free: 1.539 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001201/0.1498, allocations: 95.64 kB / 0.9673 GB, free: 1.441 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003104/0.1529, allocations: 1.738 MB / 0.969 GB, free: 15.7 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.649e-05/0.1529, allocations: 45.39 kB / 0.969 GB, free: 15.64 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=36): time 1.353e-06/0.1529, allocations: 0 / 0.969 GB, free: 15.64 MB / 0.9323 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: volDyn.p Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=52): time 0.02198/0.1749, allocations: 9.863 MB / 0.9786 GB, free: 5.762 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.451e-05/0.1749, allocations: 137 kB / 0.9788 GB, free: 5.598 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003362/0.1753, allocations: 374.6 kB / 0.9791 GB, free: 5.219 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 3.293e-05/0.1753, allocations: 41.7 kB / 0.9792 GB, free: 5.172 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001513/0.1755, allocations: 343.5 kB / 0.9795 GB, free: 4.832 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 9.891e-05/0.1756, allocations: 194.3 kB / 0.9797 GB, free: 4.641 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000134/0.1757, allocations: 116 kB / 0.9798 GB, free: 4.516 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001289/0.1758, allocations: 0.5196 MB / 0.9803 GB, free: 3.984 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001796/0.176, allocations: 125.2 kB / 0.9804 GB, free: 3.863 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002783/0.1763, allocations: 390.7 kB / 0.9808 GB, free: 3.391 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004664/0.1767, allocations: 453.3 kB / 0.9812 GB, free: 2.891 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.1767, allocations: 3.938 kB / 0.9812 GB, free: 2.887 MB / 0.9323 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0009298/0.1777, allocations: 0.6055 MB / 0.9818 GB, free: 2.266 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.509e-05/0.1777, allocations: 11.94 kB / 0.9818 GB, free: 2.254 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.787e-06/0.1777, allocations: 4 kB / 0.9818 GB, free: 2.25 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003781/0.1781, allocations: 119.4 kB / 0.9819 GB, free: 2.125 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003066/0.1784, allocations: 123.8 kB / 0.9821 GB, free: 2.004 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002467/0.1809, allocations: 4.087 MB / 0.986 GB, free: 13.68 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002485/0.1811, allocations: 27.97 kB / 0.9861 GB, free: 13.65 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.795e-05/0.1811, allocations: 24 kB / 0.9861 GB, free: 13.62 MB / 0.948 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.0001874/0.1813, allocations: 196.5 kB / 0.9863 GB, free: 13.42 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001642/0.1815, allocations: 103.3 kB / 0.9864 GB, free: 13.32 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009034/0.1824, allocations: 0.5884 MB / 0.987 GB, free: 12.71 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.1824, allocations: 4 kB / 0.987 GB, free: 12.71 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.1824, allocations: 0 / 0.987 GB, free: 12.71 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.895e-06/0.1824, allocations: 3.984 kB / 0.987 GB, free: 12.7 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001659/0.1841, allocations: 1.232 MB / 0.9882 GB, free: 11.37 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.1841, allocations: 0 / 0.9882 GB, free: 11.37 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002643/0.1843, allocations: 100.2 kB / 0.9883 GB, free: 11.27 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001843/0.1845, allocations: 71.62 kB / 0.9883 GB, free: 11.2 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.791e-05/0.1846, allocations: 12 kB / 0.9883 GB, free: 11.19 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001131/0.1857, allocations: 2.075 MB / 0.9904 GB, free: 8.988 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/0.1857, allocations: 11.92 kB / 0.9904 GB, free: 8.977 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009108/0.1866, allocations: 0.787 MB / 0.9911 GB, free: 8.113 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.103e-05/0.1866, allocations: 43.78 kB / 0.9912 GB, free: 8.07 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.408e-05/0.1867, allocations: 12 kB / 0.9912 GB, free: 8.059 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002009/0.1869, allocations: 23.98 kB / 0.9912 GB, free: 8.035 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.979e-05/0.187, allocations: 51.8 kB / 0.9913 GB, free: 7.984 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.806e-05/0.187, allocations: 20 kB / 0.9913 GB, free: 7.965 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0001635/0.1872, allocations: 259.1 kB / 0.9915 GB, free: 7.715 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.1872, allocations: 0 / 0.9915 GB, free: 7.715 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002156/0.1893, allocations: 0.7691 MB / 0.9923 GB, free: 6.945 MB / 0.948 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.002496/0.1918, allocations: 491.8 kB / 0.9928 GB, free: 6.461 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0008561/0.1927, allocations: 0.7185 MB / 0.9935 GB, free: 5.707 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.1927, allocations: 8.062 kB / 0.9935 GB, free: 5.699 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003093/0.193, allocations: 346.1 kB / 0.9938 GB, free: 5.34 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007323/0.1937, allocations: 275.7 kB / 0.9941 GB, free: 5.074 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001514/0.1952, allocations: 1.064 MB / 0.9951 GB, free: 3.918 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.434e-05/0.1953, allocations: 138 kB / 0.9952 GB, free: 3.762 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0002805/0.1956, allocations: 117.4 kB / 0.9953 GB, free: 3.656 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001213/0.1957, allocations: 56.48 kB / 0.9954 GB, free: 3.602 MB / 0.948 GB Notification: Performance of SimCode: time 8.21e-07/0.1957, allocations: 0 / 0.9954 GB, free: 3.602 MB / 0.948 GB Notification: Performance of Templates: time 0.03869/0.2344, allocations: 37.13 MB / 1.032 GB, free: 14.94 MB / 0.9948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.makefile [Timeout 300] (rm -f Buildings_12_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe ; mkfifo Buildings_12_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe ; head -c 1048576 < Buildings_12_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe >> ../files/Buildings_12_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.sim & ./Buildings_12_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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: 8.135240957140923]