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.001785/0.001785, allocations: 80.06 kB / 19.18 MB, free: 2.516 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.002179/0.002179, allocations: 163.8 kB / 22.46 MB, free: 5.375 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.43/1.43, allocations: 177.1 MB / 202.8 MB, free: 9.16 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.823/2.823, allocations: 389 MB / 0.633 GB, free: 0.9961 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/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 2.064e-06/2.064e-06, allocations: 0 / 1 GB, free: 7.297 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.757e-05/3.963e-05, allocations: 6.281 kB / 1 GB, free: 7.289 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation): time 0.8027/0.8028, allocations: 143.7 MB / 1.14 GB, free: 45.12 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.009309/0.8121, allocations: 8.179 MB / 1.148 GB, free: 45.04 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000639/0.8127, allocations: 24.94 kB / 1.149 GB, free: 45.04 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0009289/0.8137, allocations: 331.7 kB / 1.149 GB, free: 45.03 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.002708/0.8164, allocations: 1.166 MB / 1.15 GB, free: 45 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.005118/0.8215, allocations: 2.174 MB / 1.152 GB, free: 44.96 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.001872/0.8234, allocations: 1.414 MB / 1.153 GB, free: 44.88 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000507/0.8239, allocations: 351.9 kB / 1.154 GB, free: 44.86 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004622/0.8285, allocations: 2.417 MB / 1.156 GB, free: 44.52 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002705/0.8312, allocations: 1.214 MB / 1.157 GB, free: 44.14 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0001074/0.8313, allocations: 52.94 kB / 1.157 GB, free: 44.14 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004946/0.8362, allocations: 2.797 MB / 1.16 GB, free: 44.11 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001693/0.8364, allocations: 170.8 kB / 1.16 GB, free: 44.08 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0003587/0.8368, allocations: 247.9 kB / 1.161 GB, free: 44.05 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.003218/0.84, allocations: 2.654 MB / 1.163 GB, free: 43.94 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.84, allocations: 4.156 kB / 1.163 GB, free: 43.94 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.232e-06/0.84, allocations: 0 / 1.163 GB, free: 43.94 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.631e-05/0.84, allocations: 0 / 1.163 GB, free: 43.94 MB / 1.076 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.001547/0.8416, allocations: 0.9406 MB / 1.164 GB, free: 43.42 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.289e-05/0.8416, allocations: 12.36 kB / 1.164 GB, free: 43.42 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00111/0.8427, allocations: 148.7 kB / 1.164 GB, free: 43.38 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005756/0.8433, allocations: 377 kB / 1.165 GB, free: 43.19 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.611e-05/0.8433, allocations: 38.59 kB / 1.165 GB, free: 43.19 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.904e-05/0.8434, allocations: 53.19 kB / 1.165 GB, free: 43.19 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001079/0.8445, allocations: 0.9886 MB / 1.166 GB, free: 42.62 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.074e-05/0.8445, allocations: 11.08 kB / 1.166 GB, free: 42.61 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.945e-05/0.8445, allocations: 25.91 kB / 1.166 GB, free: 42.61 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.182e-05/0.8446, allocations: 17.38 kB / 1.166 GB, free: 42.61 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009432/0.8455, allocations: 490.3 kB / 1.166 GB, free: 42.61 MB / 1.076 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.002599/0.8481, allocations: 2.181 MB / 1.168 GB, free: 41.31 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005647/0.8487, allocations: 262.2 kB / 1.169 GB, free: 41.29 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003177/0.849, allocations: 159.3 kB / 1.169 GB, free: 41.28 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01894/0.8679, allocations: 4.932 MB / 1.173 GB, free: 41 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.628e-05/0.868, allocations: 45.86 kB / 1.174 GB, free: 40.95 MB / 1.076 GB Notification: Performance of pre-optimization done (n=36): time 2.004e-06/0.868, allocations: 0 / 1.174 GB, free: 40.95 MB / 1.076 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.09479/0.9628, allocations: 31.65 MB / 1.204 GB, free: 37.68 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.743e-05/0.9628, allocations: 142.2 kB / 1.205 GB, free: 37.52 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003641/0.9632, allocations: 346.6 kB / 1.205 GB, free: 37.39 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 4.653e-05/0.9632, allocations: 34.92 kB / 1.205 GB, free: 37.36 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.000116/0.9633, allocations: 299.4 kB / 1.205 GB, free: 37.18 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 9.718e-05/0.9634, allocations: 188.9 kB / 1.205 GB, free: 37.05 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001666/0.9636, allocations: 111.5 kB / 1.205 GB, free: 37.04 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 5.96e-05/0.9636, allocations: 354.2 kB / 1.206 GB, free: 36.72 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00055/0.9642, allocations: 235.5 kB / 1.206 GB, free: 36.71 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006418/0.9648, allocations: 451.1 kB / 1.206 GB, free: 36.48 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001054/0.9659, allocations: 0.595 MB / 1.207 GB, free: 36.36 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.9659, allocations: 4 kB / 1.207 GB, free: 36.36 MB / 1.076 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001853/0.9677, allocations: 0.7891 MB / 1.208 GB, free: 36.27 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/0.9678, allocations: 8.312 kB / 1.208 GB, free: 36.27 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.686e-06/0.9678, allocations: 3.281 kB / 1.208 GB, free: 36.27 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004761/0.9682, allocations: 121 kB / 1.208 GB, free: 36.25 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005606/0.9688, allocations: 135.9 kB / 1.208 GB, free: 36.25 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002308/0.9711, allocations: 3.162 MB / 1.211 GB, free: 33.58 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005814/0.9717, allocations: 35.11 kB / 1.211 GB, free: 33.58 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.327e-05/0.9718, allocations: 25.59 kB / 1.211 GB, free: 33.58 MB / 1.076 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.0002485/0.972, allocations: 193.5 kB / 1.211 GB, free: 33.47 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001868/0.9722, allocations: 56.41 kB / 1.211 GB, free: 33.44 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001757/0.9739, allocations: 0.7807 MB / 1.212 GB, free: 33.33 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.9739, allocations: 7.562 kB / 1.212 GB, free: 33.33 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.974, allocations: 6.312 kB / 1.212 GB, free: 33.33 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.163e-06/0.974, allocations: 2.953 kB / 1.212 GB, free: 33.33 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002777/0.9767, allocations: 1.397 MB / 1.214 GB, free: 32.94 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.651e-06/0.9767, allocations: 7.406 kB / 1.214 GB, free: 32.94 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004965/0.9772, allocations: 103 kB / 1.214 GB, free: 32.94 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002522/0.9775, allocations: 71.31 kB / 1.214 GB, free: 32.93 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.879e-05/0.9775, allocations: 15.72 kB / 1.214 GB, free: 32.93 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001261/0.9788, allocations: 1.644 MB / 1.215 GB, free: 31.6 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.9788, allocations: 2.875 kB / 1.215 GB, free: 31.6 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001933/0.9807, allocations: 1.001 MB / 1.216 GB, free: 31.31 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 8.029e-05/0.9808, allocations: 39.12 kB / 1.216 GB, free: 31.29 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.868e-05/0.9809, allocations: 20.3 kB / 1.216 GB, free: 31.28 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004717/0.9814, allocations: 27.8 kB / 1.216 GB, free: 31.28 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001027/0.9815, allocations: 46.34 kB / 1.217 GB, free: 31.28 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.814e-05/0.9815, allocations: 24.77 kB / 1.217 GB, free: 31.28 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0002702/0.9818, allocations: 254.6 kB / 1.217 GB, free: 31.19 MB / 1.076 GB Notification: Performance of sort global known variables: time 1e-07/0.9818, allocations: 1.969 kB / 1.217 GB, free: 31.19 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.004711/0.9865, allocations: 1.391 MB / 1.218 GB, free: 31.13 MB / 1.076 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.009866/0.9964, allocations: 0.837 MB / 1.219 GB, free: 30.96 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001932/0.9983, allocations: 0.77 MB / 1.22 GB, free: 30.72 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 7.764e-06/0.9983, allocations: 0 / 1.22 GB, free: 30.72 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0006903/0.999, allocations: 387.4 kB / 1.22 GB, free: 30.6 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001291/1, allocations: 223.2 kB / 1.22 GB, free: 30.57 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001671/1.002, allocations: 1.114 MB / 1.221 GB, free: 29.99 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000199/1.002, allocations: 285.5 kB / 1.222 GB, free: 29.88 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.000444/1.003, allocations: 120 kB / 1.222 GB, free: 29.85 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001724/1.003, allocations: 58.38 kB / 1.222 GB, free: 29.84 MB / 1.076 GB Notification: Performance of SimCode: time 4.21e-07/1.003, allocations: 0 / 1.222 GB, free: 29.84 MB / 1.076 GB Notification: Performance of Templates: time 0.07667/1.079, allocations: 61.08 MB / 1.281 GB, free: 5.797 MB / 1.092 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: 15.164362024515867]