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.001773/0.001773, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 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.00216/0.00216, allocations: 161.7 kB / 22.76 MB, free: 1.68 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 1.51/1.51, allocations: 177.1 MB / 203.1 MB, free: 5.602 MB / 186.7 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.129/3.129, allocations: 429.6 MB / 0.673 GB, free: 3.887 MB / 0.6355 GB " [Timeout remaining time 176] 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.333e-06/1.333e-06, allocations: 0.875 kB / 0.8776 GB, free: 6.504 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.755e-05/2.889e-05, allocations: 2.312 kB / 0.8776 GB, free: 6.5 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation): time 0.213/0.2131, allocations: 143.8 MB / 1.018 GB, free: 6.238 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.01501/0.2281, allocations: 8.189 MB / 1.026 GB, free: 14.02 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007999/0.2289, allocations: 23.81 kB / 1.026 GB, free: 14 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.001404/0.2303, allocations: 317.8 kB / 1.026 GB, free: 13.68 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.003701/0.234, allocations: 1.17 MB / 1.027 GB, free: 12.51 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.006464/0.2404, allocations: 2.157 MB / 1.03 GB, free: 10.34 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.002323/0.2428, allocations: 1.41 MB / 1.031 GB, free: 8.93 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009196/0.2437, allocations: 378.3 kB / 1.031 GB, free: 8.559 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006755/0.2504, allocations: 2.412 MB / 1.034 GB, free: 6.137 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003239/0.2537, allocations: 1.223 MB / 1.035 GB, free: 4.91 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001958/0.2539, allocations: 52 kB / 1.035 GB, free: 4.859 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006671/0.2605, allocations: 2.805 MB / 1.038 GB, free: 2.051 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0004085/0.261, allocations: 159.3 kB / 1.038 GB, free: 1.895 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0009268/0.2619, allocations: 255.5 kB / 1.038 GB, free: 1.645 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.006725/0.2686, allocations: 2.658 MB / 1.041 GB, free: 14.98 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 5.461e-06/0.2686, allocations: 0 / 1.041 GB, free: 14.98 MB / 1.01 GB Notification: Performance of FrontEnd: time 2.605e-06/0.2686, allocations: 0 / 1.041 GB, free: 14.98 MB / 1.01 GB Notification: Performance of Transformations before backend: time 3.929e-05/0.2687, allocations: 0 / 1.041 GB, free: 14.98 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.003039/0.2717, allocations: 0.9524 MB / 1.042 GB, free: 14 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 5.209e-05/0.2717, allocations: 8.031 kB / 1.042 GB, free: 13.99 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001579/0.2733, allocations: 243 kB / 1.042 GB, free: 13.75 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001023/0.2743, allocations: 391.3 kB / 1.042 GB, free: 13.34 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.869e-05/0.2744, allocations: 45.25 kB / 1.042 GB, free: 13.3 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000145/0.2746, allocations: 56 kB / 1.042 GB, free: 13.25 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001866/0.2764, allocations: 0.9906 MB / 1.043 GB, free: 12.12 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.566e-05/0.2764, allocations: 0 / 1.043 GB, free: 12.12 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.606e-05/0.2765, allocations: 24 kB / 1.043 GB, free: 12.1 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.083e-05/0.2765, allocations: 23.94 kB / 1.043 GB, free: 12.07 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001283/0.2778, allocations: 483.5 kB / 1.044 GB, free: 11.61 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.004474/0.2823, allocations: 2.201 MB / 1.046 GB, free: 9.324 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007423/0.283, allocations: 258.3 kB / 1.046 GB, free: 9.062 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004239/0.2835, allocations: 157.4 kB / 1.046 GB, free: 8.906 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01821/0.3017, allocations: 4.922 MB / 1.051 GB, free: 3.977 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.533e-05/0.3017, allocations: 42.42 kB / 1.051 GB, free: 3.926 MB / 1.01 GB Notification: Performance of pre-optimization done (n=36): time 2.084e-06/0.3017, allocations: 0 / 1.051 GB, free: 3.926 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.523/0.8248, allocations: 31.67 MB / 1.082 GB, free: 217.8 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.163e-05/0.8248, allocations: 135.1 kB / 1.082 GB, free: 217.6 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004049/0.8252, allocations: 342.3 kB / 1.082 GB, free: 217.5 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 3.995e-05/0.8253, allocations: 36.42 kB / 1.083 GB, free: 217.4 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001413/0.8254, allocations: 310.7 kB / 1.083 GB, free: 217.2 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001116/0.8255, allocations: 184.8 kB / 1.083 GB, free: 217.1 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001722/0.8257, allocations: 105.8 kB / 1.083 GB, free: 217 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 7.975e-05/0.8258, allocations: 362.5 kB / 1.083 GB, free: 216.7 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005353/0.8263, allocations: 235.2 kB / 1.084 GB, free: 216.6 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000614/0.8269, allocations: 454.9 kB / 1.084 GB, free: 216.3 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001076/0.828, allocations: 0.5943 MB / 1.085 GB, free: 215.9 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.828, allocations: 1.25 kB / 1.085 GB, free: 215.9 MB / 1.01 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001929/0.8299, allocations: 0.8367 MB / 1.086 GB, free: 215.6 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.993e-05/0.8299, allocations: 6 kB / 1.086 GB, free: 215.6 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/0.83, allocations: 3.031 kB / 1.086 GB, free: 215.6 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005759/0.8305, allocations: 141.6 kB / 1.086 GB, free: 215.5 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000581/0.8311, allocations: 127.6 kB / 1.086 GB, free: 215.5 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002473/0.8336, allocations: 3.173 MB / 1.089 GB, free: 212.6 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005567/0.8341, allocations: 35.56 kB / 1.089 GB, free: 212.6 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.353e-05/0.8342, allocations: 37.62 kB / 1.089 GB, free: 212.6 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.0002458/0.8344, allocations: 191.2 kB / 1.089 GB, free: 212.4 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002317/0.8347, allocations: 78.11 kB / 1.089 GB, free: 212.4 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001779/0.8365, allocations: 0.7923 MB / 1.09 GB, free: 212 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.132e-06/0.8365, allocations: 7.844 kB / 1.09 GB, free: 212 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.896e-06/0.8365, allocations: 0 / 1.09 GB, free: 212 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.632e-06/0.8365, allocations: 3.328 kB / 1.09 GB, free: 212 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002843/0.8393, allocations: 1.39 MB / 1.091 GB, free: 211.3 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.071e-06/0.8393, allocations: 3.406 kB / 1.091 GB, free: 211.3 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004957/0.8398, allocations: 101.8 kB / 1.091 GB, free: 211.3 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00033/0.8401, allocations: 91.48 kB / 1.092 GB, free: 211.2 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.745e-05/0.8402, allocations: 15.55 kB / 1.092 GB, free: 211.2 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001358/0.8415, allocations: 1.655 MB / 1.093 GB, free: 209.7 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-06/0.8415, allocations: 7.375 kB / 1.093 GB, free: 209.7 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002182/0.8437, allocations: 1.025 MB / 1.094 GB, free: 209.1 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001211/0.8439, allocations: 41.11 kB / 1.094 GB, free: 209.1 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00012/0.844, allocations: 16.09 kB / 1.094 GB, free: 209.1 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004944/0.8445, allocations: 32.61 kB / 1.094 GB, free: 209.1 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001126/0.8446, allocations: 48.78 kB / 1.094 GB, free: 209.1 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.685e-05/0.8446, allocations: 20.38 kB / 1.094 GB, free: 209.1 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0003437/0.845, allocations: 252.4 kB / 1.095 GB, free: 209 MB / 1.01 GB Notification: Performance of sort global known variables: time 8e-08/0.845, allocations: 0 / 1.095 GB, free: 209 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.005551/0.8505, allocations: 1.396 MB / 1.096 GB, free: 208.9 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.009214/0.8597, allocations: 0.8314 MB / 1.097 GB, free: 208.7 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.002099/0.8618, allocations: 0.7805 MB / 1.097 GB, free: 208.3 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 9.248e-06/0.8619, allocations: 1.531 kB / 1.097 GB, free: 208.3 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0008305/0.8627, allocations: 381.9 kB / 1.098 GB, free: 208.1 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001499/0.8642, allocations: 246.8 kB / 1.098 GB, free: 208 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002186/0.8664, allocations: 1.124 MB / 1.099 GB, free: 207.3 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003846/0.8668, allocations: 279 kB / 1.099 GB, free: 207.2 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0006008/0.8674, allocations: 123.1 kB / 1.1 GB, free: 207.2 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002204/0.8676, allocations: 65.34 kB / 1.1 GB, free: 207.1 MB / 1.01 GB Notification: Performance of SimCode: time 9.72e-07/0.8676, allocations: 0 / 1.1 GB, free: 207.1 MB / 1.01 GB Notification: Performance of Templates: time 0.08177/0.9493, allocations: 61.76 MB / 1.16 GB, free: 158.5 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=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/jenkins/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.989072500029579]