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.00093/0.00093, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.0009337/0.0009337, allocations: 169 kB / 23.02 MB, free: 1.551 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.9448/0.9448, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.027/2.027, allocations: 429.5 MB / 0.6732 GB, free: 4.055 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.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.503e-06/1.503e-06, allocations: 0 / 0.8782 GB, free: 6.348 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.815e-05/1.966e-05, allocations: 4.594 kB / 0.8782 GB, free: 6.344 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation): time 0.1201/0.1202, allocations: 136.8 MB / 1.012 GB, free: 13.05 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.006854/0.127, allocations: 7.091 MB / 1.019 GB, free: 5.938 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002609/0.1273, allocations: 19.81 kB / 1.019 GB, free: 5.918 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.0005352/0.1278, allocations: 198.4 kB / 1.019 GB, free: 5.723 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.001601/0.1294, allocations: 1.123 MB / 1.02 GB, free: 4.594 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.001745/0.1312, allocations: 1.312 MB / 1.021 GB, free: 3.277 MB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 0.000932/0.1321, allocations: 1.371 MB / 1.023 GB, free: 1.898 MB / 0.9792 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004129/0.1325, allocations: 374.3 kB / 1.023 GB, free: 1.527 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001034/0.1335, allocations: 0.9229 MB / 1.024 GB, free: 0.6016 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001634/0.1352, allocations: 1.216 MB / 1.025 GB, free: 15.38 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 7.118e-05/0.1352, allocations: 52 kB / 1.025 GB, free: 15.33 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001336/0.1366, allocations: 1.221 MB / 1.026 GB, free: 14.11 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.000135/0.1367, allocations: 171.3 kB / 1.026 GB, free: 13.94 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001952/0.1369, allocations: 251.5 kB / 1.027 GB, free: 13.7 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.001141/0.138, allocations: 1.344 MB / 1.028 GB, free: 12.35 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.138, allocations: 0 / 1.028 GB, free: 12.35 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.232e-06/0.138, allocations: 4 kB / 1.028 GB, free: 12.34 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 7.044e-06/0.1381, allocations: 0 / 1.028 GB, free: 12.34 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: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 0.001106/0.1392, allocations: 0.9783 MB / 1.029 GB, free: 11.33 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.1392, allocations: 12.02 kB / 1.029 GB, free: 11.32 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000643/0.1398, allocations: 239.8 kB / 1.029 GB, free: 11.08 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004282/0.1403, allocations: 390.7 kB / 1.03 GB, free: 10.67 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.554e-05/0.1403, allocations: 37.69 kB / 1.03 GB, free: 10.64 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.771e-05/0.1404, allocations: 64.38 kB / 1.03 GB, free: 10.57 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008006/0.1412, allocations: 0.9518 MB / 1.031 GB, free: 9.461 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.723e-05/0.1412, allocations: 3.938 kB / 1.031 GB, free: 9.457 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.309e-05/0.1412, allocations: 28 kB / 1.031 GB, free: 9.43 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.307e-05/0.1412, allocations: 12 kB / 1.031 GB, free: 9.418 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003838/0.1416, allocations: 277.6 kB / 1.031 GB, free: 9.148 MB / 0.9948 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.002155/0.1438, allocations: 2.751 MB / 1.034 GB, free: 6.305 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002934/0.1441, allocations: 194.8 kB / 1.034 GB, free: 6.102 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001199/0.1442, allocations: 95.64 kB / 1.034 GB, free: 6.004 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003113/0.1473, allocations: 1.734 MB / 1.036 GB, free: 4.266 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.797e-05/0.1474, allocations: 45.33 kB / 1.036 GB, free: 4.211 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=36): time 2.675e-06/0.1474, allocations: 0 / 1.036 GB, free: 4.211 MB / 0.9948 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.02233/0.1697, allocations: 9.855 MB / 1.045 GB, free: 10.33 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.223e-05/0.1697, allocations: 137 kB / 1.045 GB, free: 10.17 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000289/0.17, allocations: 386.5 kB / 1.046 GB, free: 9.773 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 3.009e-05/0.1701, allocations: 33.7 kB / 1.046 GB, free: 9.734 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003209/0.1704, allocations: 347.5 kB / 1.046 GB, free: 9.391 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001038/0.1705, allocations: 190.3 kB / 1.046 GB, free: 9.203 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001363/0.1706, allocations: 119.9 kB / 1.046 GB, free: 9.074 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001344/0.1708, allocations: 0.5196 MB / 1.047 GB, free: 8.543 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001855/0.1709, allocations: 133.2 kB / 1.047 GB, free: 8.414 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003016/0.1712, allocations: 386.8 kB / 1.047 GB, free: 7.945 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004686/0.1717, allocations: 449.3 kB / 1.048 GB, free: 7.449 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.1717, allocations: 11.88 kB / 1.048 GB, free: 7.438 MB / 1.01 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0008793/0.1726, allocations: 0.6092 MB / 1.048 GB, free: 6.809 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.052e-05/0.1726, allocations: 10.44 kB / 1.048 GB, free: 6.801 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.1726, allocations: 4 kB / 1.048 GB, free: 6.797 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003527/0.173, allocations: 119.7 kB / 1.049 GB, free: 6.672 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002892/0.1733, allocations: 123.8 kB / 1.049 GB, free: 6.551 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002125/0.1754, allocations: 4.087 MB / 1.053 GB, free: 2.227 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002267/0.1756, allocations: 27.97 kB / 1.053 GB, free: 2.199 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.398e-05/0.1757, allocations: 28 kB / 1.053 GB, free: 2.172 MB / 1.01 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.0003305/0.176, allocations: 192.4 kB / 1.053 GB, free: 1.973 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001497/0.1761, allocations: 95.34 kB / 1.053 GB, free: 1.879 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008452/0.177, allocations: 0.5973 MB / 1.054 GB, free: 1.262 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.177, allocations: 4 kB / 1.054 GB, free: 1.258 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.385e-06/0.177, allocations: 0 / 1.054 GB, free: 1.258 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.177, allocations: 3.984 kB / 1.054 GB, free: 1.254 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.451/0.628, allocations: 1.226 MB / 1.055 GB, free: 71.76 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.959e-06/0.628, allocations: 3.75 kB / 1.055 GB, free: 71.76 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003211/0.6283, allocations: 96.61 kB / 1.055 GB, free: 71.76 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002221/0.6285, allocations: 66.25 kB / 1.055 GB, free: 71.75 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.157e-05/0.6286, allocations: 19.09 kB / 1.055 GB, free: 71.75 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009136/0.6295, allocations: 2.07 MB / 1.057 GB, free: 69.82 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.6295, allocations: 5.344 kB / 1.057 GB, free: 69.82 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009515/0.6304, allocations: 0.7856 MB / 1.058 GB, free: 69.47 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 6.552e-05/0.6305, allocations: 45.53 kB / 1.058 GB, free: 69.47 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.627e-05/0.6305, allocations: 16.25 kB / 1.058 GB, free: 69.47 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001931/0.6307, allocations: 21.36 kB / 1.058 GB, free: 69.47 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.033e-05/0.6308, allocations: 44.36 kB / 1.058 GB, free: 69.47 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.816e-05/0.6308, allocations: 25.83 kB / 1.058 GB, free: 69.47 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0001497/0.631, allocations: 259.4 kB / 1.058 GB, free: 69.35 MB / 1.01 GB Notification: Performance of sort global known variables: time 8e-08/0.631, allocations: 1.438 kB / 1.058 GB, free: 69.35 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.002006/0.633, allocations: 0.7686 MB / 1.059 GB, free: 69.35 MB / 1.01 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.002141/0.6351, allocations: 486.3 kB / 1.059 GB, free: 69.27 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0007992/0.6359, allocations: 0.7214 MB / 1.06 GB, free: 68.92 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.6359, allocations: 2.938 kB / 1.06 GB, free: 68.92 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.000268/0.6362, allocations: 355.2 kB / 1.06 GB, free: 68.73 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006929/0.6369, allocations: 264.5 kB / 1.061 GB, free: 68.73 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001545/0.6384, allocations: 1.081 MB / 1.062 GB, free: 68.14 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.126e-05/0.6385, allocations: 135.6 kB / 1.062 GB, free: 68.07 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0003066/0.6388, allocations: 122 kB / 1.062 GB, free: 68.07 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001151/0.6389, allocations: 58.14 kB / 1.062 GB, free: 68.07 MB / 1.01 GB Notification: Performance of SimCode: time 7.52e-07/0.6389, allocations: 1.734 kB / 1.062 GB, free: 68.07 MB / 1.01 GB Notification: Performance of Templates: time 0.04657/0.6855, allocations: 37.12 MB / 1.098 GB, free: 66.9 MB / 1.01 GB " [Timeout remaining time 299] 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: 8.183372552040964]