Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001579/0.001579, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.002041/0.002041, allocations: 210.1 kB / 22.99 MB, free: 4.957 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.507/1.507, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.216/3.216, allocations: 0.49 GB / 0.7959 GB, free: 35.43 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_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.002031/0.002031, allocations: 60.22 kB / 1.155 GB, free: 25.21 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4024/0.4044, allocations: 176.1 MB / 1.327 GB, free: 0.9922 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation): time 0.2022/0.6066, allocations: 143.9 MB / 1.468 GB, free: 0.5977 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.01272/0.6193, allocations: 8.168 MB / 1.476 GB, free: 8.398 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008786/0.6202, allocations: 23.81 kB / 1.476 GB, free: 8.375 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.001037/0.6212, allocations: 329.9 kB / 1.476 GB, free: 8.051 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.003586/0.6248, allocations: 1.138 MB / 1.477 GB, free: 6.91 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.006857/0.6317, allocations: 2.157 MB / 1.479 GB, free: 4.762 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.00221/0.6339, allocations: 1.391 MB / 1.48 GB, free: 3.367 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006744/0.6346, allocations: 365.9 kB / 1.481 GB, free: 3.004 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00564/0.6402, allocations: 2.198 MB / 1.483 GB, free: 0.7969 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002921/0.6431, allocations: 1.285 MB / 1.484 GB, free: 15.51 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0001596/0.6433, allocations: 51.94 kB / 1.484 GB, free: 15.46 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005826/0.6491, allocations: 2.868 MB / 1.487 GB, free: 12.59 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0002774/0.6494, allocations: 159.4 kB / 1.487 GB, free: 12.43 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.00051/0.6499, allocations: 290.8 kB / 1.487 GB, free: 12.15 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.004233/0.6541, allocations: 2.213 MB / 1.49 GB, free: 9.93 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.6541, allocations: 4 kB / 1.49 GB, free: 9.926 MB / 1.186 GB Notification: Performance of FrontEnd: time 2.094e-06/0.6541, allocations: 0 / 1.49 GB, free: 9.926 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.394e-05/0.6542, allocations: 0 / 1.49 GB, free: 9.926 MB / 1.186 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.002303/0.6565, allocations: 0.9525 MB / 1.491 GB, free: 8.941 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/0.6565, allocations: 8.031 kB / 1.491 GB, free: 8.934 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001199/0.6577, allocations: 147.6 kB / 1.491 GB, free: 8.789 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007968/0.6585, allocations: 375.2 kB / 1.491 GB, free: 8.391 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.767e-05/0.6585, allocations: 41.31 kB / 1.491 GB, free: 8.348 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.952e-05/0.6586, allocations: 51.95 kB / 1.491 GB, free: 8.297 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001524/0.6602, allocations: 0.9946 MB / 1.492 GB, free: 7.172 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.654e-05/0.6602, allocations: 7.922 kB / 1.492 GB, free: 7.164 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.152e-05/0.6603, allocations: 24 kB / 1.492 GB, free: 7.141 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.695e-05/0.6603, allocations: 15.94 kB / 1.492 GB, free: 7.125 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001103/0.6614, allocations: 491.5 kB / 1.493 GB, free: 6.645 MB / 1.186 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.003352/0.6647, allocations: 2.185 MB / 1.495 GB, free: 4.383 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006359/0.6654, allocations: 255.1 kB / 1.495 GB, free: 4.125 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003563/0.6657, allocations: 165.4 kB / 1.495 GB, free: 3.961 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01793/0.6836, allocations: 4.928 MB / 1.5 GB, free: 15.03 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.568e-05/0.6837, allocations: 46.41 kB / 1.5 GB, free: 14.97 MB / 1.201 GB Notification: Performance of pre-optimization done (n=36): time 2.194e-06/0.6837, allocations: 3.938 kB / 1.5 GB, free: 14.97 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.09281/0.7765, allocations: 31.66 MB / 1.531 GB, free: 15.3 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.07e-05/0.7766, allocations: 133 kB / 1.531 GB, free: 15.14 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004938/0.7771, allocations: 337.6 kB / 1.531 GB, free: 14.81 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 5.919e-05/0.7772, allocations: 33.7 kB / 1.531 GB, free: 14.77 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.000236/0.7774, allocations: 304.7 kB / 1.532 GB, free: 14.46 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001748/0.7776, allocations: 186.3 kB / 1.532 GB, free: 14.29 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002141/0.7778, allocations: 122.2 kB / 1.532 GB, free: 14.16 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001731/0.778, allocations: 346.8 kB / 1.532 GB, free: 13.81 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005678/0.7785, allocations: 237.2 kB / 1.533 GB, free: 13.58 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007627/0.7793, allocations: 454.5 kB / 1.533 GB, free: 13.07 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001226/0.7805, allocations: 0.5942 MB / 1.534 GB, free: 12.43 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.7805, allocations: 0 / 1.534 GB, free: 12.43 MB / 1.232 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002132/0.7827, allocations: 0.7899 MB / 1.534 GB, free: 11.62 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.273e-05/0.7827, allocations: 8 kB / 1.534 GB, free: 11.62 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.285e-05/0.7827, allocations: 4 kB / 1.534 GB, free: 11.61 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005561/0.7832, allocations: 125.9 kB / 1.535 GB, free: 11.48 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006322/0.7839, allocations: 131.8 kB / 1.535 GB, free: 11.36 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003492/0.7874, allocations: 3.169 MB / 1.538 GB, free: 7.988 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006715/0.788, allocations: 31.97 kB / 1.538 GB, free: 7.957 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.048e-05/0.7881, allocations: 27.98 kB / 1.538 GB, free: 7.93 MB / 1.232 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.0003595/0.7885, allocations: 202.3 kB / 1.538 GB, free: 7.723 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002313/0.7887, allocations: 51.72 kB / 1.538 GB, free: 7.672 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001958/0.7907, allocations: 0.7776 MB / 1.539 GB, free: 6.883 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/0.7907, allocations: 4 kB / 1.539 GB, free: 6.879 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.7907, allocations: 4 kB / 1.539 GB, free: 6.875 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.7907, allocations: 128 / 1.539 GB, free: 6.875 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003243/0.7939, allocations: 1.411 MB / 1.54 GB, free: 5.383 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.128e-05/0.7939, allocations: 4 kB / 1.54 GB, free: 5.379 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005606/0.7945, allocations: 107.8 kB / 1.54 GB, free: 5.273 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002719/0.7948, allocations: 65.22 kB / 1.54 GB, free: 5.207 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.124e-05/0.7948, allocations: 19.98 kB / 1.54 GB, free: 5.188 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001801/0.7966, allocations: 1.637 MB / 1.542 GB, free: 3.453 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.734e-06/0.7966, allocations: 7.938 kB / 1.542 GB, free: 3.445 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002203/0.7988, allocations: 1.009 MB / 1.543 GB, free: 2.375 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001252/0.7989, allocations: 39.7 kB / 1.543 GB, free: 2.336 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.421e-05/0.799, allocations: 16 kB / 1.543 GB, free: 2.32 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004841/0.7995, allocations: 27.98 kB / 1.543 GB, free: 2.293 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001163/0.7996, allocations: 51.86 kB / 1.543 GB, free: 2.242 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.343e-05/0.7997, allocations: 23.98 kB / 1.543 GB, free: 2.219 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0003658/0.8001, allocations: 247.2 kB / 1.543 GB, free: 1.977 MB / 1.232 GB Notification: Performance of sort global known variables: time 9.1e-08/0.8001, allocations: 3.938 kB / 1.543 GB, free: 1.973 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.005238/0.8053, allocations: 1.394 MB / 1.545 GB, free: 0.5781 MB / 1.232 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.01213/0.8174, allocations: 0.7439 MB / 1.545 GB, free: 15.82 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.003171/0.8206, allocations: 0.7684 MB / 1.546 GB, free: 15.02 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 1.132e-05/0.8206, allocations: 4.125 kB / 1.546 GB, free: 15.02 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.001269/0.8219, allocations: 378.3 kB / 1.547 GB, free: 14.64 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002076/0.8239, allocations: 232.6 kB / 1.547 GB, free: 14.42 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003323/0.8273, allocations: 1.193 MB / 1.548 GB, free: 13.16 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004278/0.8277, allocations: 286.8 kB / 1.548 GB, free: 12.86 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.0008067/0.8285, allocations: 121 kB / 1.548 GB, free: 12.75 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002658/0.8288, allocations: 55.42 kB / 1.548 GB, free: 12.69 MB / 1.248 GB Notification: Performance of SimCode: time 1.203e-06/0.8288, allocations: 0 / 1.548 GB, free: 12.69 MB / 1.248 GB Notification: Performance of Templates: time 0.9854/1.814, allocations: 62.19 MB / 1.609 GB, free: 268.9 MB / 1.295 GB " [Timeout remaining time 298] make -j1 -f Buildings_12_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.makefile [Timeout 300] (rm -f Buildings_12_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe ; mkfifo Buildings_12_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe ; head -c 1048576 < Buildings_12_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe >> ../files/Buildings_12_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.sim & ./Buildings_12_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_DHC_Plants_Steam_BaseClasses_Examples_ControlVolumeEvaporation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 17.624915267995675]