Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.00155/0.00155, allocations: 102.1 kB / 19.7 MB, free: 2.254 MB / 14.72 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.001459/0.001459, allocations: 213.8 kB / 23.01 MB, free: 5.125 MB / 14.72 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 1.408/1.408, allocations: 230.6 MB / 256.8 MB, free: 7.965 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.725/2.725, allocations: 476.7 MB / 0.7714 GB, free: 4.227 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001967/0.001967, allocations: 65.91 kB / 1.119 GB, free: 40.35 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3139/0.3158, allocations: 170 MB / 1.285 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation): time 0.1966/0.5124, allocations: 166.4 MB / 1.447 GB, free: 4.137 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.01284/0.5253, allocations: 8.934 MB / 1.456 GB, free: 11.18 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008017/0.5261, allocations: 23.81 kB / 1.456 GB, free: 11.15 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.001152/0.5272, allocations: 357.8 kB / 1.456 GB, free: 10.8 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.002997/0.5302, allocations: 1.143 MB / 1.457 GB, free: 9.656 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.005477/0.5357, allocations: 2.165 MB / 1.459 GB, free: 7.496 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.002343/0.5381, allocations: 1.391 MB / 1.461 GB, free: 6.094 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007011/0.5388, allocations: 378.1 kB / 1.461 GB, free: 5.719 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005214/0.544, allocations: 2.21 MB / 1.463 GB, free: 3.5 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002805/0.5468, allocations: 1.281 MB / 1.465 GB, free: 2.215 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0001317/0.5469, allocations: 52 kB / 1.465 GB, free: 2.164 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005637/0.5525, allocations: 2.907 MB / 1.467 GB, free: 15.25 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0002525/0.5528, allocations: 163.4 kB / 1.468 GB, free: 15.09 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0004894/0.5533, allocations: 346.5 kB / 1.468 GB, free: 14.75 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.003327/0.5566, allocations: 2.217 MB / 1.47 GB, free: 12.53 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.5566, allocations: 4 kB / 1.47 GB, free: 12.53 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.503e-06/0.5566, allocations: 0 / 1.47 GB, free: 12.53 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.002e-05/0.5566, allocations: 0 / 1.47 GB, free: 12.53 MB / 1.17 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.001954/0.5586, allocations: 0.9486 MB / 1.471 GB, free: 11.55 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/0.5586, allocations: 8.031 kB / 1.471 GB, free: 11.54 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001099/0.5597, allocations: 147.6 kB / 1.471 GB, free: 11.39 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007349/0.5605, allocations: 375.2 kB / 1.472 GB, free: 11 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.208e-05/0.5605, allocations: 41.31 kB / 1.472 GB, free: 10.96 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.778e-05/0.5606, allocations: 55.94 kB / 1.472 GB, free: 10.9 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001179/0.5618, allocations: 0.6565 MB / 1.472 GB, free: 10.2 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.114e-05/0.5618, allocations: 3.938 kB / 1.472 GB, free: 10.2 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.16e-05/0.5619, allocations: 28 kB / 1.472 GB, free: 10.17 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.531e-05/0.5619, allocations: 19.94 kB / 1.472 GB, free: 10.15 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001102/0.563, allocations: 495.5 kB / 1.473 GB, free: 9.664 MB / 1.17 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.003665/0.5666, allocations: 2.935 MB / 1.476 GB, free: 6.5 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000613/0.5672, allocations: 260.8 kB / 1.476 GB, free: 6.238 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003419/0.5676, allocations: 156.8 kB / 1.476 GB, free: 6.082 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01757/0.5852, allocations: 4.932 MB / 1.481 GB, free: 1.145 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.351e-05/0.5852, allocations: 42.56 kB / 1.481 GB, free: 1.094 MB / 1.17 GB Notification: Performance of pre-optimization done (n=36): time 2.234e-06/0.5852, allocations: 3.938 kB / 1.481 GB, free: 1.09 MB / 1.17 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.08913/0.6743, allocations: 31.64 MB / 1.512 GB, free: 1.453 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.764e-05/0.6744, allocations: 140.9 kB / 1.512 GB, free: 1.285 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005085/0.675, allocations: 373.6 kB / 1.512 GB, free: 0.918 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 5.448e-05/0.675, allocations: 37.7 kB / 1.512 GB, free: 0.875 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002214/0.6752, allocations: 300.8 kB / 1.513 GB, free: 0.5742 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.000156/0.6754, allocations: 186.4 kB / 1.513 GB, free: 400 kB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001829/0.6756, allocations: 118.2 kB / 1.513 GB, free: 276 kB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001943/0.6758, allocations: 350.8 kB / 1.513 GB, free: 15.92 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005525/0.6763, allocations: 241.2 kB / 1.513 GB, free: 15.68 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00069/0.677, allocations: 373.4 kB / 1.514 GB, free: 15.27 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001167/0.6782, allocations: 0.5903 MB / 1.514 GB, free: 14.63 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/0.6782, allocations: 4 kB / 1.514 GB, free: 14.62 MB / 1.217 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001955/0.6801, allocations: 0.798 MB / 1.515 GB, free: 13.82 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.494e-05/0.6802, allocations: 11.94 kB / 1.515 GB, free: 13.8 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/0.6802, allocations: 0 / 1.515 GB, free: 13.8 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005046/0.6807, allocations: 121.6 kB / 1.515 GB, free: 13.68 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005891/0.6813, allocations: 127.8 kB / 1.515 GB, free: 13.55 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003436/0.6847, allocations: 3.22 MB / 1.519 GB, free: 10.11 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005965/0.6853, allocations: 35.91 kB / 1.519 GB, free: 10.08 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.601e-05/0.6853, allocations: 27.98 kB / 1.519 GB, free: 10.05 MB / 1.217 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.0003253/0.6857, allocations: 197.7 kB / 1.519 GB, free: 9.848 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001983/0.6859, allocations: 47.72 kB / 1.519 GB, free: 9.801 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001867/0.6877, allocations: 0.7879 MB / 1.52 GB, free: 9 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.411e-06/0.6877, allocations: 4 kB / 1.52 GB, free: 8.996 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.6877, allocations: 7.984 kB / 1.52 GB, free: 8.988 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.753e-06/0.6878, allocations: 0 / 1.52 GB, free: 8.988 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003275/0.691, allocations: 1.584 MB / 1.521 GB, free: 7.309 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.069e-06/0.691, allocations: 0 / 1.521 GB, free: 7.309 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005091/0.6915, allocations: 107.8 kB / 1.521 GB, free: 7.203 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000259/0.6918, allocations: 77.19 kB / 1.521 GB, free: 7.125 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.784e-05/0.6918, allocations: 16 kB / 1.521 GB, free: 7.109 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001813/0.6937, allocations: 1.668 MB / 1.523 GB, free: 5.328 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.52e-06/0.6937, allocations: 3.938 kB / 1.523 GB, free: 5.324 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00221/0.6959, allocations: 1.024 MB / 1.524 GB, free: 4.246 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001477/0.696, allocations: 59.64 kB / 1.524 GB, free: 4.188 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001016/0.6961, allocations: 15.94 kB / 1.524 GB, free: 4.172 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004805/0.6966, allocations: 36.03 kB / 1.524 GB, free: 4.137 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.538e-05/0.6967, allocations: 43.88 kB / 1.524 GB, free: 4.094 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.879e-05/0.6967, allocations: 27.92 kB / 1.524 GB, free: 4.066 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0004746/0.6972, allocations: 354.8 kB / 1.525 GB, free: 3.719 MB / 1.217 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6972, allocations: 11.94 kB / 1.525 GB, free: 3.707 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.004174/0.7014, allocations: 1.39 MB / 1.526 GB, free: 2.316 MB / 1.217 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.006819/0.7082, allocations: 0.7471 MB / 1.527 GB, free: 1.559 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.002009/0.7102, allocations: 0.7684 MB / 1.527 GB, free: 0.7617 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 7.714e-06/0.7102, allocations: 3.953 kB / 1.527 GB, free: 0.7578 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0007657/0.711, allocations: 378.5 kB / 1.528 GB, free: 384 kB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001677/0.7127, allocations: 345 kB / 1.528 GB, free: 44 kB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002187/0.7149, allocations: 1.234 MB / 1.529 GB, free: 14.73 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000523/0.7154, allocations: 0.879 MB / 1.53 GB, free: 13.83 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002205/0.7156, allocations: 75.41 kB / 1.53 GB, free: 13.76 MB / 1.232 GB Notification: Performance of SimCode: time 6.11e-07/0.7156, allocations: 0 / 1.53 GB, free: 13.76 MB / 1.232 GB Notification: Performance of Templates: time 0.06566/0.7813, allocations: 42.29 MB / 1.572 GB, free: 4.07 MB / 1.264 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.makefile [Timeout 300] (rm -f Buildings_11_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe ; mkfifo Buildings_11_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe ; head -c 1048576 < Buildings_11_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe >> ../files/Buildings_11_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.sim & ./Buildings_11_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_DHC_Plants_Steam_BaseClasses_Examples_ControlVolumeEvaporation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.583082419005223]