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.0009273/0.0009273, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.0009692/0.0009692, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.9126/0.9126, allocations: 177.1 MB / 204.5 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.03/2.03, allocations: 429.5 MB / 0.6743 GB, free: 3.879 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.102e-06/1.102e-06, allocations: 0 / 0.8794 GB, free: 6.008 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.662e-05/1.772e-05, allocations: 4.844 kB / 0.8794 GB, free: 6.004 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation): time 0.11/0.11, allocations: 134.3 MB / 1.01 GB, free: 15.26 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.006711/0.1167, allocations: 7.016 MB / 1.017 GB, free: 8.227 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003944/0.1171, allocations: 23.81 kB / 1.017 GB, free: 8.203 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.0004936/0.1176, allocations: 198.4 kB / 1.018 GB, free: 8.008 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.001561/0.1191, allocations: 1.123 MB / 1.019 GB, free: 6.879 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.001762/0.1209, allocations: 1.309 MB / 1.02 GB, free: 5.566 MB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 0.0009531/0.1218, allocations: 1.375 MB / 1.021 GB, free: 4.184 MB / 0.9792 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003946/0.1222, allocations: 374.3 kB / 1.022 GB, free: 3.812 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001042/0.1233, allocations: 0.919 MB / 1.023 GB, free: 2.891 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001512/0.1248, allocations: 1.22 MB / 1.024 GB, free: 1.668 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 6.173e-05/0.1249, allocations: 52 kB / 1.024 GB, free: 1.617 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001331/0.1262, allocations: 1.233 MB / 1.025 GB, free: 392 kB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 0.0001369/0.1263, allocations: 155.4 kB / 1.025 GB, free: 236 kB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 0.0002141/0.1265, allocations: 259.5 kB / 1.025 GB, free: 15.97 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.001374/0.1279, allocations: 1.325 MB / 1.027 GB, free: 14.65 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.1279, allocations: 3.938 kB / 1.027 GB, free: 14.64 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.052e-06/0.1279, allocations: 0 / 1.027 GB, free: 14.64 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 8.616e-06/0.1279, allocations: 0 / 1.027 GB, free: 14.64 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.001219/0.1291, allocations: 0.986 MB / 1.028 GB, free: 13.62 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.659e-05/0.1292, allocations: 8.031 kB / 1.028 GB, free: 13.61 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006456/0.1298, allocations: 231.9 kB / 1.028 GB, free: 13.39 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004483/0.1303, allocations: 390.7 kB / 1.028 GB, free: 12.98 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.891e-05/0.1303, allocations: 37.69 kB / 1.028 GB, free: 12.94 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.08e-05/0.1304, allocations: 60.33 kB / 1.028 GB, free: 12.88 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000714/0.1311, allocations: 0.8586 MB / 1.029 GB, free: 11.88 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.097e-05/0.1311, allocations: 7.875 kB / 1.029 GB, free: 11.87 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.291e-05/0.1312, allocations: 28 kB / 1.029 GB, free: 11.84 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.176e-05/0.1312, allocations: 16 kB / 1.029 GB, free: 11.82 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002724/0.1315, allocations: 218.6 kB / 1.029 GB, free: 11.61 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.002004/0.1335, allocations: 2.677 MB / 1.032 GB, free: 8.848 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002607/0.1337, allocations: 178.1 kB / 1.032 GB, free: 8.664 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.042e-05/0.1338, allocations: 79.64 kB / 1.032 GB, free: 8.582 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002806/0.1366, allocations: 1.399 MB / 1.034 GB, free: 7.18 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.204e-05/0.1366, allocations: 49.33 kB / 1.034 GB, free: 7.121 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=36): time 1.763e-06/0.1366, allocations: 0 / 1.034 GB, free: 7.121 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.01929/0.1559, allocations: 7.897 MB / 1.041 GB, free: 15.2 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.942e-05/0.156, allocations: 141 kB / 1.042 GB, free: 15.04 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000233/0.1562, allocations: 378.4 kB / 1.042 GB, free: 14.65 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 3.184e-05/0.1562, allocations: 37.7 kB / 1.042 GB, free: 14.61 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001446/0.1564, allocations: 343.4 kB / 1.042 GB, free: 14.27 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 9.511e-05/0.1565, allocations: 194.3 kB / 1.042 GB, free: 14.08 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001188/0.1566, allocations: 115.8 kB / 1.043 GB, free: 13.95 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.000135/0.1567, allocations: 0.5351 MB / 1.043 GB, free: 13.41 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001142/0.1569, allocations: 97.23 kB / 1.043 GB, free: 13.31 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002184/0.1571, allocations: 362.6 kB / 1.044 GB, free: 12.87 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000341/0.1574, allocations: 393.4 kB / 1.044 GB, free: 12.43 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.1574, allocations: 0 / 1.044 GB, free: 12.43 MB / 1.01 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0007217/0.1581, allocations: 0.5588 MB / 1.044 GB, free: 11.85 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.1582, allocations: 10.03 kB / 1.044 GB, free: 11.84 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.508e-06/0.1582, allocations: 7.938 kB / 1.044 GB, free: 11.83 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002802/0.1584, allocations: 115.2 kB / 1.045 GB, free: 11.71 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000266/0.1587, allocations: 123.8 kB / 1.045 GB, free: 11.59 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001922/0.1606, allocations: 4.029 MB / 1.049 GB, free: 7.336 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002095/0.1608, allocations: 23.98 kB / 1.049 GB, free: 7.312 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.103e-05/0.1609, allocations: 24.14 kB / 1.049 GB, free: 7.289 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.0001448/0.161, allocations: 192.4 kB / 1.049 GB, free: 7.09 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001466/0.1612, allocations: 95.34 kB / 1.049 GB, free: 6.996 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006987/0.1619, allocations: 0.5665 MB / 1.049 GB, free: 6.41 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.1619, allocations: 4.125 kB / 1.05 GB, free: 6.406 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.525e-06/0.1619, allocations: 4 kB / 1.05 GB, free: 6.402 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.1619, allocations: 3.984 kB / 1.05 GB, free: 6.398 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001269/0.1631, allocations: 1.122 MB / 1.051 GB, free: 5.184 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.147e-06/0.1631, allocations: 8.281 kB / 1.051 GB, free: 5.176 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002266/0.1634, allocations: 99.88 kB / 1.051 GB, free: 5.078 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001529/0.1635, allocations: 63.62 kB / 1.051 GB, free: 5.012 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.285e-05/0.1635, allocations: 16 kB / 1.051 GB, free: 4.996 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008964/0.1644, allocations: 2.044 MB / 1.053 GB, free: 2.836 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.1644, allocations: 7.938 kB / 1.053 GB, free: 2.828 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007349/0.1652, allocations: 0.7324 MB / 1.054 GB, free: 2.023 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 3.736e-05/0.1652, allocations: 43.67 kB / 1.054 GB, free: 1.98 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.678e-05/0.1653, allocations: 16 kB / 1.054 GB, free: 1.965 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001926/0.1655, allocations: 23.98 kB / 1.054 GB, free: 1.941 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001363/0.1656, allocations: 39.88 kB / 1.054 GB, free: 1.902 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.835e-05/0.1656, allocations: 19.98 kB / 1.054 GB, free: 1.883 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0001168/0.1657, allocations: 243 kB / 1.054 GB, free: 1.648 MB / 1.01 GB Notification: Performance of sort global known variables: time 7e-08/0.1657, allocations: 0 / 1.054 GB, free: 1.648 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0017/0.1674, allocations: 0.7613 MB / 1.055 GB, free: 0.8867 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.002164/0.1696, allocations: 493.9 kB / 1.055 GB, free: 408 kB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.351/0.5206, allocations: 0.679 MB / 1.056 GB, free: 82.43 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 7.875e-06/0.5206, allocations: 2.875 kB / 1.056 GB, free: 82.43 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0003709/0.521, allocations: 334.9 kB / 1.056 GB, free: 82.25 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008407/0.5218, allocations: 252.9 kB / 1.056 GB, free: 82.25 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001339/0.5232, allocations: 1.077 MB / 1.057 GB, free: 81.67 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.815e-05/0.5232, allocations: 140.6 kB / 1.057 GB, free: 81.59 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0002983/0.5235, allocations: 110.9 kB / 1.058 GB, free: 81.59 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004031/0.5239, allocations: 304.8 kB / 1.058 GB, free: 81.54 MB / 1.01 GB Notification: Performance of SimCode: time 1.222e-06/0.5239, allocations: 0 / 1.058 GB, free: 81.54 MB / 1.01 GB Notification: Performance of Templates: time 0.04435/0.5683, allocations: 39.43 MB / 1.096 GB, free: 80.3 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.915063884109259]