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.001424/0.001424, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001488/0.001488, allocations: 173 kB / 23.49 MB, free: 1.062 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.9155/0.9155, allocations: 177.1 MB / 203.8 MB, free: 5.617 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.009/2.009, allocations: 429.5 MB / 0.6736 GB, free: 4.043 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.372e-06/1.372e-06, allocations: 0 / 0.8782 GB, free: 6.691 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.11e-05/2.247e-05, allocations: 4.844 kB / 0.8782 GB, free: 6.688 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation): time 0.1371/0.1371, allocations: 159.2 MB / 1.034 GB, free: 6.898 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.007818/0.1449, allocations: 8.918 MB / 1.042 GB, free: 13.95 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002337/0.1452, allocations: 23.81 kB / 1.042 GB, free: 13.92 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.0006859/0.1459, allocations: 337.7 kB / 1.043 GB, free: 13.59 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.001412/0.1473, allocations: 1.158 MB / 1.044 GB, free: 12.43 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.002436/0.1497, allocations: 2.169 MB / 1.046 GB, free: 10.25 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.0008764/0.1506, allocations: 1.406 MB / 1.047 GB, free: 8.84 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003916/0.151, allocations: 370.3 kB / 1.048 GB, free: 8.477 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003325/0.1543, allocations: 2.42 MB / 1.05 GB, free: 6.047 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00149/0.1558, allocations: 1.223 MB / 1.051 GB, free: 4.82 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 5.73e-05/0.1558, allocations: 52 kB / 1.051 GB, free: 4.77 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00288/0.1587, allocations: 2.797 MB / 1.054 GB, free: 1.969 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0001235/0.1588, allocations: 171.4 kB / 1.054 GB, free: 1.801 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.000185/0.159, allocations: 255.4 kB / 1.054 GB, free: 1.551 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.445/0.6041, allocations: 2.39 MB / 1.057 GB, free: 56.62 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.6041, allocations: 3.812 kB / 1.057 GB, free: 56.62 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.583e-06/0.6041, allocations: 0 / 1.057 GB, free: 56.62 MB / 1.01 GB Notification: Performance of Transformations before backend: time 1.514e-05/0.6041, allocations: 0 / 1.057 GB, free: 56.62 MB / 1.01 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.001462/0.6056, allocations: 1.049 MB / 1.058 GB, free: 56.11 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.47e-05/0.6056, allocations: 8.062 kB / 1.058 GB, free: 56.11 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007382/0.6063, allocations: 236.6 kB / 1.058 GB, free: 56.03 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004156/0.6068, allocations: 394.1 kB / 1.058 GB, free: 55.85 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.174e-05/0.6068, allocations: 37.78 kB / 1.058 GB, free: 55.85 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.486e-05/0.6068, allocations: 60.5 kB / 1.059 GB, free: 55.85 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006579/0.6075, allocations: 0.9495 MB / 1.059 GB, free: 55.16 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.642e-05/0.6075, allocations: 0.9688 kB / 1.059 GB, free: 55.16 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.168e-05/0.6076, allocations: 26.91 kB / 1.059 GB, free: 55.16 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.308e-05/0.6076, allocations: 14.38 kB / 1.059 GB, free: 55.16 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003858/0.608, allocations: 280.2 kB / 1.06 GB, free: 55.16 MB / 1.01 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.001786/0.6097, allocations: 2.749 MB / 1.062 GB, free: 53.24 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002896/0.61, allocations: 197 kB / 1.063 GB, free: 53.2 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001121/0.6101, allocations: 94.8 kB / 1.063 GB, free: 53.19 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008611/0.6188, allocations: 4.966 MB / 1.068 GB, free: 53.14 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.591e-05/0.6188, allocations: 49.09 kB / 1.068 GB, free: 53.09 MB / 1.01 GB Notification: Performance of pre-optimization done (n=36): time 1.683e-06/0.6188, allocations: 0 / 1.068 GB, free: 53.09 MB / 1.01 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.03875/0.6575, allocations: 17.57 MB / 1.085 GB, free: 49.8 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.952e-05/0.6576, allocations: 135.4 kB / 1.085 GB, free: 49.65 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002707/0.6578, allocations: 373.7 kB / 1.085 GB, free: 49.47 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 3.383e-05/0.6579, allocations: 35.7 kB / 1.085 GB, free: 49.44 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001199/0.658, allocations: 352.5 kB / 1.086 GB, free: 49.2 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 8.204e-05/0.6581, allocations: 183.4 kB / 1.086 GB, free: 49.08 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001273/0.6582, allocations: 118.2 kB / 1.086 GB, free: 49.05 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 6.441e-05/0.6583, allocations: 0.5234 MB / 1.086 GB, free: 48.56 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001882/0.6585, allocations: 135.6 kB / 1.087 GB, free: 48.56 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002726/0.6587, allocations: 386.6 kB / 1.087 GB, free: 48.26 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004514/0.6592, allocations: 439.3 kB / 1.087 GB, free: 48.08 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.6592, allocations: 1.312 kB / 1.087 GB, free: 48.08 MB / 1.01 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0009219/0.6601, allocations: 0.6059 MB / 1.088 GB, free: 47.97 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/0.6601, allocations: 6.188 kB / 1.088 GB, free: 47.97 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.6601, allocations: 7.031 kB / 1.088 GB, free: 47.97 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003334/0.6605, allocations: 111.8 kB / 1.088 GB, free: 47.95 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003139/0.6608, allocations: 121.9 kB / 1.088 GB, free: 47.95 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00155/0.6623, allocations: 4.102 MB / 1.092 GB, free: 44.04 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003062/0.6626, allocations: 28.12 kB / 1.092 GB, free: 44.04 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.949e-05/0.6627, allocations: 23.56 kB / 1.092 GB, free: 44.04 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.0001624/0.6629, allocations: 193.8 kB / 1.092 GB, free: 43.88 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001444/0.663, allocations: 86.7 kB / 1.092 GB, free: 43.83 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008967/0.6639, allocations: 0.6059 MB / 1.093 GB, free: 43.71 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.6639, allocations: 9.938 kB / 1.093 GB, free: 43.7 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.836e-06/0.6639, allocations: 1.406 kB / 1.093 GB, free: 43.7 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.443e-06/0.6639, allocations: 2.25 kB / 1.093 GB, free: 43.7 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001563/0.6655, allocations: 1.244 MB / 1.094 GB, free: 43.22 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.458e-06/0.6655, allocations: 8.172 kB / 1.094 GB, free: 43.21 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002767/0.6658, allocations: 98.81 kB / 1.094 GB, free: 43.21 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001687/0.6659, allocations: 74.58 kB / 1.094 GB, free: 43.2 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.99e-05/0.666, allocations: 18.02 kB / 1.095 GB, free: 43.2 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007574/0.6667, allocations: 2.066 MB / 1.097 GB, free: 41.25 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.6667, allocations: 4.281 kB / 1.097 GB, free: 41.25 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009179/0.6676, allocations: 0.7962 MB / 1.097 GB, free: 40.84 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 4.055e-05/0.6677, allocations: 43.94 kB / 1.097 GB, free: 40.82 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.095e-05/0.6677, allocations: 13.91 kB / 1.097 GB, free: 40.82 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000202/0.6679, allocations: 21.12 kB / 1.097 GB, free: 40.82 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.987e-05/0.668, allocations: 48.23 kB / 1.097 GB, free: 40.81 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.124e-05/0.668, allocations: 28.69 kB / 1.097 GB, free: 40.81 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0001641/0.6682, allocations: 256 kB / 1.098 GB, free: 40.68 MB / 1.01 GB Notification: Performance of sort global known variables: time 8e-08/0.6682, allocations: 0 / 1.098 GB, free: 40.68 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.003132/0.6713, allocations: 1.396 MB / 1.099 GB, free: 40.62 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 (48): * Single equations (assignments): 47 * 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.004559/0.6759, allocations: 0.8313 MB / 1.1 GB, free: 40.46 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0008589/0.6768, allocations: 0.7327 MB / 1.101 GB, free: 40.09 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.6768, allocations: 2.188 kB / 1.101 GB, free: 40.09 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0003072/0.6771, allocations: 367 kB / 1.101 GB, free: 39.89 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007309/0.6778, allocations: 253.8 kB / 1.101 GB, free: 39.87 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001345/0.6791, allocations: 1.087 MB / 1.102 GB, free: 39.21 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.624e-05/0.6792, allocations: 135.8 kB / 1.102 GB, free: 39.14 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0003229/0.6796, allocations: 116.1 kB / 1.102 GB, free: 39.11 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001208/0.6797, allocations: 63.81 kB / 1.103 GB, free: 39.09 MB / 1.01 GB Notification: Performance of SimCode: time 9.02e-07/0.6797, allocations: 0 / 1.103 GB, free: 39.09 MB / 1.01 GB Notification: Performance of Templates: time 0.07147/0.7512, allocations: 64.51 MB / 1.166 GB, free: 21.82 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: 9.574577805120498]