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.001803/0.001803, allocations: 77.7 kB / 19.76 MB, free: 2.031 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.002263/0.002263, allocations: 158.8 kB / 23.01 MB, free: 4.941 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.439/1.439, allocations: 177.2 MB / 203.4 MB, free: 8.961 MB / 190.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 2.889/2.889, allocations: 394.2 MB / 0.6387 GB, free: 11.93 MB / 0.6075 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.002246/0.002246, allocations: 67.89 kB / 1.009 GB, free: 14.51 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7601/0.7624, allocations: 181.8 MB / 1.187 GB, free: 16.21 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation): time 0.181/0.9433, allocations: 143.9 MB / 1.327 GB, free: 6.02 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.01214/0.9555, allocations: 8.176 MB / 1.335 GB, free: 13.82 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004938/0.956, allocations: 19.81 kB / 1.335 GB, free: 13.8 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0009624/0.9569, allocations: 325.9 kB / 1.335 GB, free: 13.48 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.00267/0.9596, allocations: 1.143 MB / 1.337 GB, free: 12.33 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.005017/0.9646, allocations: 2.157 MB / 1.339 GB, free: 10.18 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.001747/0.9664, allocations: 1.388 MB / 1.34 GB, free: 8.789 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005732/0.9669, allocations: 362.2 kB / 1.34 GB, free: 8.43 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005123/0.972, allocations: 2.194 MB / 1.342 GB, free: 6.227 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003046/0.9751, allocations: 1.254 MB / 1.344 GB, free: 4.973 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0001034/0.9752, allocations: 56 kB / 1.344 GB, free: 4.918 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005568/0.9808, allocations: 2.797 MB / 1.346 GB, free: 2.117 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0002001/0.981, allocations: 143.5 kB / 1.347 GB, free: 1.977 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0003748/0.9813, allocations: 298.8 kB / 1.347 GB, free: 1.684 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.003032/0.9844, allocations: 2.221 MB / 1.349 GB, free: 15.45 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 6.072e-06/0.9844, allocations: 4 kB / 1.349 GB, free: 15.45 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.192e-06/0.9844, allocations: 0 / 1.349 GB, free: 15.45 MB / 1.201 GB Notification: Performance of Transformations before backend: time 8.606e-06/0.9844, allocations: 4 kB / 1.349 GB, free: 15.45 MB / 1.201 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.001854/0.9862, allocations: 0.9485 MB / 1.35 GB, free: 14.46 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 3.554e-05/0.9863, allocations: 12.02 kB / 1.35 GB, free: 14.45 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001166/0.9874, allocations: 147.6 kB / 1.35 GB, free: 14.31 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007136/0.9882, allocations: 375.2 kB / 1.351 GB, free: 13.91 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.19e-05/0.9882, allocations: 41.31 kB / 1.351 GB, free: 13.87 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.498e-05/0.9883, allocations: 52 kB / 1.351 GB, free: 13.82 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001478/0.9898, allocations: 0.9906 MB / 1.352 GB, free: 12.7 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.127e-05/0.9898, allocations: 0 / 1.352 GB, free: 12.7 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.207e-05/0.9898, allocations: 24 kB / 1.352 GB, free: 12.68 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.635e-05/0.9899, allocations: 19.88 kB / 1.352 GB, free: 12.66 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001161/0.991, allocations: 495.6 kB / 1.352 GB, free: 12.18 MB / 1.201 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.003331/0.9944, allocations: 2.2 MB / 1.354 GB, free: 9.898 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006397/0.995, allocations: 257 kB / 1.354 GB, free: 9.641 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003673/0.9954, allocations: 158.3 kB / 1.355 GB, free: 9.484 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01947/1.015, allocations: 4.928 MB / 1.359 GB, free: 4.551 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.71e-05/1.015, allocations: 42.42 kB / 1.359 GB, free: 4.5 MB / 1.201 GB Notification: Performance of pre-optimization done (n=36): time 2.254e-06/1.015, allocations: 0 / 1.359 GB, free: 4.5 MB / 1.201 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.1001/1.115, allocations: 31.65 MB / 1.39 GB, free: 4.852 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.86e-05/1.115, allocations: 133 kB / 1.391 GB, free: 4.691 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004553/1.115, allocations: 345.5 kB / 1.391 GB, free: 4.355 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 5.701e-05/1.116, allocations: 37.64 kB / 1.391 GB, free: 4.312 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002251/1.116, allocations: 300.7 kB / 1.391 GB, free: 4.012 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001692/1.116, allocations: 186.4 kB / 1.391 GB, free: 3.828 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002035/1.116, allocations: 118.3 kB / 1.391 GB, free: 3.707 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001806/1.116, allocations: 350.8 kB / 1.392 GB, free: 3.355 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006107/1.117, allocations: 237.2 kB / 1.392 GB, free: 3.121 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007933/1.118, allocations: 458.5 kB / 1.392 GB, free: 2.602 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001303/1.119, allocations: 0.5954 MB / 1.393 GB, free: 1.965 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/1.119, allocations: 0 / 1.393 GB, free: 1.965 MB / 1.232 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002132/1.121, allocations: 0.7836 MB / 1.394 GB, free: 1.172 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/1.121, allocations: 8 kB / 1.394 GB, free: 1.164 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.119e-05/1.121, allocations: 8 kB / 1.394 GB, free: 1.156 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005408/1.122, allocations: 129.8 kB / 1.394 GB, free: 1.023 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006245/1.122, allocations: 131.8 kB / 1.394 GB, free: 0.8945 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003558/1.126, allocations: 3.161 MB / 1.397 GB, free: 13.53 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005645/1.126, allocations: 31.97 kB / 1.397 GB, free: 13.5 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.102e-05/1.127, allocations: 32.27 kB / 1.397 GB, free: 13.47 MB / 1.248 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.0002957/1.127, allocations: 197.6 kB / 1.397 GB, free: 13.27 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000195/1.127, allocations: 51.72 kB / 1.397 GB, free: 13.21 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00204/1.129, allocations: 0.79 MB / 1.398 GB, free: 12.41 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/1.129, allocations: 4 kB / 1.398 GB, free: 12.41 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/1.129, allocations: 0 / 1.398 GB, free: 12.41 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.155e-06/1.129, allocations: 3.984 kB / 1.398 GB, free: 12.41 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003322/1.132, allocations: 1.401 MB / 1.4 GB, free: 10.92 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.402e-06/1.132, allocations: 4 kB / 1.4 GB, free: 10.92 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005519/1.133, allocations: 103.8 kB / 1.4 GB, free: 10.82 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002603/1.133, allocations: 77.2 kB / 1.4 GB, free: 10.74 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.828e-05/1.133, allocations: 15.92 kB / 1.4 GB, free: 10.72 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001861/1.135, allocations: 1.637 MB / 1.401 GB, free: 8.984 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.282e-06/1.135, allocations: 7.938 kB / 1.401 GB, free: 8.977 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00228/1.137, allocations: 1.011 MB / 1.402 GB, free: 7.906 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 6.501e-05/1.137, allocations: 35.75 kB / 1.402 GB, free: 7.871 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.49e-05/1.138, allocations: 16 kB / 1.402 GB, free: 7.855 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000492/1.138, allocations: 36.03 kB / 1.402 GB, free: 7.82 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001046/1.138, allocations: 43.81 kB / 1.403 GB, free: 7.777 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.09e-05/1.138, allocations: 23.98 kB / 1.403 GB, free: 7.754 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.00034/1.139, allocations: 251.2 kB / 1.403 GB, free: 7.508 MB / 1.248 GB Notification: Performance of sort global known variables: time 1e-07/1.139, allocations: 0 / 1.403 GB, free: 7.508 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.003945/1.142, allocations: 1.394 MB / 1.404 GB, free: 6.113 MB / 1.248 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.005964/1.148, allocations: 0.7364 MB / 1.405 GB, free: 5.363 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.001953/1.15, allocations: 0.7895 MB / 1.406 GB, free: 4.551 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/1.15, allocations: 0 / 1.406 GB, free: 4.551 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.0008039/1.151, allocations: 379.5 kB / 1.406 GB, free: 4.168 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001237/1.152, allocations: 230.6 kB / 1.406 GB, free: 3.953 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00209/1.155, allocations: 1.189 MB / 1.407 GB, free: 2.699 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003088/1.155, allocations: 286.8 kB / 1.408 GB, free: 2.391 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.0004686/1.155, allocations: 121.4 kB / 1.408 GB, free: 2.281 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001732/1.155, allocations: 56.48 kB / 1.408 GB, free: 2.227 MB / 1.248 GB Notification: Performance of SimCode: time 4.61e-07/1.155, allocations: 0 / 1.408 GB, free: 2.227 MB / 1.248 GB Notification: Performance of Templates: time 0.09155/1.247, allocations: 61.11 MB / 1.467 GB, free: 5.742 MB / 1.311 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=800 -s ida -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: 14.970252732979134]