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.001955/0.001955, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.002597/0.002597, allocations: 218.8 kB / 22.99 MB, free: 4.914 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.482/1.482, allocations: 230.6 MB / 256.8 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] 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 3.235/3.235, allocations: 0.5107 GB / 0.8166 GB, free: 17.86 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.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: 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.002144/0.002144, allocations: 75 kB / 1.187 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3718/0.3739, allocations: 181.9 MB / 1.365 GB, free: 13.66 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation): time 0.1973/0.5712, allocations: 143.8 MB / 1.505 GB, free: 13.27 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.01507/0.5862, allocations: 8.183 MB / 1.513 GB, free: 5.055 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008408/0.5871, allocations: 23.81 kB / 1.513 GB, free: 5.031 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.001354/0.5884, allocations: 333.8 kB / 1.513 GB, free: 4.703 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.003583/0.592, allocations: 1.138 MB / 1.515 GB, free: 3.562 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.005921/0.5979, allocations: 2.144 MB / 1.517 GB, free: 1.43 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.002111/0.6, allocations: 1.395 MB / 1.518 GB, free: 32 kB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006373/0.6007, allocations: 354.2 kB / 1.518 GB, free: 15.68 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005549/0.6062, allocations: 2.194 MB / 1.52 GB, free: 13.48 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002746/0.609, allocations: 1.262 MB / 1.522 GB, free: 12.21 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0001608/0.6091, allocations: 52 kB / 1.522 GB, free: 12.16 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005846/0.615, allocations: 2.797 MB / 1.524 GB, free: 9.359 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.000279/0.6153, allocations: 155.4 kB / 1.525 GB, free: 9.207 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0004924/0.6158, allocations: 294.8 kB / 1.525 GB, free: 8.918 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.003535/0.6193, allocations: 2.217 MB / 1.527 GB, free: 6.695 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/0.6193, allocations: 4 kB / 1.527 GB, free: 6.691 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.112e-06/0.6193, allocations: 0 / 1.527 GB, free: 6.691 MB / 1.217 GB Notification: Performance of Transformations before backend: time 9.558e-06/0.6193, allocations: 0 / 1.527 GB, free: 6.691 MB / 1.217 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.001903/0.6212, allocations: 0.9525 MB / 1.528 GB, free: 5.707 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 3.489e-05/0.6212, allocations: 8.031 kB / 1.528 GB, free: 5.699 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001089/0.6223, allocations: 151.6 kB / 1.528 GB, free: 5.551 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007487/0.6231, allocations: 363.3 kB / 1.528 GB, free: 5.168 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.418e-05/0.6231, allocations: 41.31 kB / 1.529 GB, free: 5.125 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.996e-05/0.6232, allocations: 52 kB / 1.529 GB, free: 5.074 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001434/0.6247, allocations: 1.002 MB / 1.53 GB, free: 3.941 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.08e-05/0.6247, allocations: 0 / 1.53 GB, free: 3.941 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.541e-05/0.6247, allocations: 28 kB / 1.53 GB, free: 3.914 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.765e-05/0.6248, allocations: 15.94 kB / 1.53 GB, free: 3.898 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001102/0.6259, allocations: 495.5 kB / 1.53 GB, free: 3.414 MB / 1.217 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.003276/0.6291, allocations: 2.192 MB / 1.532 GB, free: 1.145 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006189/0.6298, allocations: 250.5 kB / 1.532 GB, free: 0.8906 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003764/0.6301, allocations: 169.3 kB / 1.533 GB, free: 0.7227 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01859/0.6487, allocations: 4.932 MB / 1.537 GB, free: 11.79 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.437e-05/0.6488, allocations: 42.42 kB / 1.537 GB, free: 11.73 MB / 1.232 GB Notification: Performance of pre-optimization done (n=36): time 1.883e-06/0.6488, allocations: 0 / 1.537 GB, free: 11.73 MB / 1.232 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.09592/0.7447, allocations: 31.65 MB / 1.568 GB, free: 12.09 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001085/0.7448, allocations: 133 kB / 1.569 GB, free: 11.93 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004629/0.7453, allocations: 341.5 kB / 1.569 GB, free: 11.59 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 5.743e-05/0.7453, allocations: 37.7 kB / 1.569 GB, free: 11.55 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002291/0.7456, allocations: 300.7 kB / 1.569 GB, free: 11.25 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001659/0.7457, allocations: 190.4 kB / 1.569 GB, free: 11.06 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002007/0.7459, allocations: 110.3 kB / 1.569 GB, free: 10.95 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 0.0001759/0.7461, allocations: 354.8 kB / 1.57 GB, free: 10.59 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005756/0.7467, allocations: 237.2 kB / 1.57 GB, free: 10.36 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000748/0.7474, allocations: 452.9 kB / 1.57 GB, free: 9.848 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001208/0.7486, allocations: 0.5942 MB / 1.571 GB, free: 9.211 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.7486, allocations: 3.938 kB / 1.571 GB, free: 9.207 MB / 1.264 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.00206/0.7507, allocations: 0.7899 MB / 1.572 GB, free: 8.406 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 2.432e-05/0.7507, allocations: 8 kB / 1.572 GB, free: 8.398 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.076e-05/0.7507, allocations: 4 kB / 1.572 GB, free: 8.395 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005335/0.7513, allocations: 129.9 kB / 1.572 GB, free: 8.262 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005856/0.7519, allocations: 123.8 kB / 1.572 GB, free: 8.141 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003459/0.7553, allocations: 3.172 MB / 1.575 GB, free: 4.77 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006173/0.7559, allocations: 35.91 kB / 1.575 GB, free: 4.734 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.107e-05/0.756, allocations: 31.98 kB / 1.575 GB, free: 4.703 MB / 1.264 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.0003356/0.7563, allocations: 198.5 kB / 1.575 GB, free: 4.5 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002018/0.7565, allocations: 47.72 kB / 1.575 GB, free: 4.453 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001923/0.7584, allocations: 0.7813 MB / 1.576 GB, free: 3.652 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.173e-06/0.7585, allocations: 8 kB / 1.576 GB, free: 3.645 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.876e-06/0.7585, allocations: 0 / 1.576 GB, free: 3.645 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.356e-06/0.7585, allocations: 3.984 kB / 1.576 GB, free: 3.641 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00328/0.7617, allocations: 1.396 MB / 1.578 GB, free: 2.164 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.196e-06/0.7618, allocations: 4.125 kB / 1.578 GB, free: 2.16 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005186/0.7623, allocations: 103.9 kB / 1.578 GB, free: 2.059 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002714/0.7625, allocations: 73.2 kB / 1.578 GB, free: 1.984 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.795e-05/0.7626, allocations: 16 kB / 1.578 GB, free: 1.969 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001809/0.7644, allocations: 1.641 MB / 1.579 GB, free: 236 kB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.578e-06/0.7644, allocations: 4 kB / 1.579 GB, free: 232 kB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002248/0.7666, allocations: 1.013 MB / 1.58 GB, free: 15.15 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001093/0.7668, allocations: 39.75 kB / 1.58 GB, free: 15.11 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.934e-05/0.7668, allocations: 15.98 kB / 1.58 GB, free: 15.1 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004547/0.7673, allocations: 27.98 kB / 1.58 GB, free: 15.07 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001056/0.7674, allocations: 51.92 kB / 1.581 GB, free: 15.02 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.681e-05/0.7675, allocations: 20 kB / 1.581 GB, free: 15 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.000355/0.7678, allocations: 251.1 kB / 1.581 GB, free: 14.75 MB / 1.279 GB Notification: Performance of sort global known variables: time 1e-07/0.7678, allocations: 0 / 1.581 GB, free: 14.75 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.004315/0.7721, allocations: 1.398 MB / 1.582 GB, free: 13.36 MB / 1.279 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.008019/0.7801, allocations: 0.7356 MB / 1.583 GB, free: 12.61 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.002087/0.7822, allocations: 0.784 MB / 1.584 GB, free: 11.8 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 8.607e-06/0.7822, allocations: 4.062 kB / 1.584 GB, free: 11.8 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.0007988/0.783, allocations: 370.6 kB / 1.584 GB, free: 11.42 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001321/0.7844, allocations: 231.9 kB / 1.584 GB, free: 11.2 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002259/0.7866, allocations: 1.223 MB / 1.585 GB, free: 9.91 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003035/0.7869, allocations: 282.9 kB / 1.586 GB, free: 9.605 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002291/0.7871, allocations: 67.41 kB / 1.586 GB, free: 9.539 MB / 1.279 GB Notification: Performance of SimCode: time 9.31e-07/0.7871, allocations: 0 / 1.586 GB, free: 9.539 MB / 1.279 GB Notification: Performance of Templates: time 0.7571/1.544, allocations: 41.09 MB / 1.626 GB, free: 214.2 MB / 1.295 GB " [Timeout remaining time 298] 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe 2>&1) [Timeout 800] 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 16.184356519952416]