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.001392/0.001392, allocations: 79.03 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.001463/0.001463, allocations: 159.3 kB / 23.01 MB, free: 4.945 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.426/1.426, allocations: 177.2 MB / 203.4 MB, free: 8.953 MB / 190.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 2.765/2.765, allocations: 377.9 MB / 0.6228 GB, free: 12.6 MB / 0.5919 GB " [Timeout remaining time 177] 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.002275/0.002275, allocations: 63.91 kB / 0.982 GB, free: 12.21 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7905/0.7927, allocations: 176.1 MB / 1.154 GB, free: 33.37 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation): time 0.1683/0.9611, allocations: 143.8 MB / 1.294 GB, free: 0.7227 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.01263/0.9737, allocations: 8.178 MB / 1.302 GB, free: 11.32 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006565/0.9744, allocations: 27.28 kB / 1.302 GB, free: 11.3 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.001032/0.9754, allocations: 327.3 kB / 1.303 GB, free: 11.04 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.003134/0.9785, allocations: 1.132 MB / 1.304 GB, free: 10.18 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.005926/0.9844, allocations: 2.15 MB / 1.306 GB, free: 8.637 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.001972/0.9864, allocations: 1.397 MB / 1.307 GB, free: 7.824 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006355/0.9871, allocations: 363.4 kB / 1.308 GB, free: 7.566 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00541/0.9925, allocations: 2.192 MB / 1.31 GB, free: 6.117 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003115/0.9956, allocations: 1.264 MB / 1.311 GB, free: 5.297 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 9.964e-05/0.9957, allocations: 51.66 kB / 1.311 GB, free: 5.297 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005777/1.001, allocations: 2.791 MB / 1.314 GB, free: 3.914 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0002292/1.002, allocations: 159.9 kB / 1.314 GB, free: 3.789 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0004458/1.002, allocations: 295.5 kB / 1.314 GB, free: 3.633 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.003284/1.005, allocations: 2.211 MB / 1.316 GB, free: 2.191 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 1.286e-05/1.005, allocations: 5.219 kB / 1.316 GB, free: 2.188 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.222e-06/1.005, allocations: 0 / 1.316 GB, free: 2.188 MB / 1.154 GB Notification: Performance of Transformations before backend: time 1.564e-05/1.005, allocations: 4 kB / 1.316 GB, free: 2.184 MB / 1.154 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.001983/1.007, allocations: 0.9501 MB / 1.317 GB, free: 1.387 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 3.544e-05/1.007, allocations: 12.03 kB / 1.317 GB, free: 1.375 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001208/1.009, allocations: 147.6 kB / 1.317 GB, free: 1.23 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007413/1.009, allocations: 371.3 kB / 1.318 GB, free: 0.8359 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.314e-05/1.009, allocations: 41.31 kB / 1.318 GB, free: 0.793 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.344e-05/1.01, allocations: 55.94 kB / 1.318 GB, free: 0.7383 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001473/1.011, allocations: 0.9868 MB / 1.319 GB, free: 15.62 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.382e-05/1.011, allocations: 3.938 kB / 1.319 GB, free: 15.62 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.217e-05/1.011, allocations: 24 kB / 1.319 GB, free: 15.59 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.059e-05/1.011, allocations: 23.92 kB / 1.319 GB, free: 15.57 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001167/1.012, allocations: 491.5 kB / 1.319 GB, free: 15.09 MB / 1.17 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.003347/1.016, allocations: 2.185 MB / 1.322 GB, free: 12.83 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000653/1.016, allocations: 262.6 kB / 1.322 GB, free: 12.57 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003921/1.017, allocations: 157.4 kB / 1.322 GB, free: 12.41 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01966/1.036, allocations: 4.934 MB / 1.327 GB, free: 7.473 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.648e-05/1.036, allocations: 42.42 kB / 1.327 GB, free: 7.422 MB / 1.17 GB Notification: Performance of pre-optimization done (n=36): time 1.923e-06/1.036, allocations: 3.938 kB / 1.327 GB, free: 7.418 MB / 1.17 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.136, allocations: 31.65 MB / 1.358 GB, free: 7.777 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001018/1.137, allocations: 137 kB / 1.358 GB, free: 7.613 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004822/1.137, allocations: 341.6 kB / 1.358 GB, free: 7.277 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 4.715e-05/1.137, allocations: 29.7 kB / 1.358 GB, free: 7.242 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002393/1.137, allocations: 308.7 kB / 1.358 GB, free: 6.934 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001646/1.138, allocations: 194.3 kB / 1.359 GB, free: 6.742 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002041/1.138, allocations: 114.3 kB / 1.359 GB, free: 6.625 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001786/1.138, allocations: 350.8 kB / 1.359 GB, free: 6.273 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006114/1.139, allocations: 237.2 kB / 1.359 GB, free: 6.039 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007875/1.139, allocations: 454.5 kB / 1.36 GB, free: 5.527 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001302/1.141, allocations: 0.5915 MB / 1.36 GB, free: 4.891 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/1.141, allocations: 0 / 1.36 GB, free: 4.891 MB / 1.201 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002196/1.143, allocations: 0.7913 MB / 1.361 GB, free: 4.086 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.369e-05/1.143, allocations: 8 kB / 1.361 GB, free: 4.078 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.273e-05/1.143, allocations: 4 kB / 1.361 GB, free: 4.074 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000572/1.143, allocations: 129.9 kB / 1.361 GB, free: 3.941 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006342/1.144, allocations: 127.8 kB / 1.361 GB, free: 3.816 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003546/1.148, allocations: 3.161 MB / 1.364 GB, free: 464 kB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005818/1.148, allocations: 44.11 kB / 1.365 GB, free: 420 kB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.744e-05/1.148, allocations: 20 kB / 1.365 GB, free: 400 kB / 1.201 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.0002934/1.149, allocations: 197.6 kB / 1.365 GB, free: 192 kB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001976/1.149, allocations: 47.72 kB / 1.365 GB, free: 144 kB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002045/1.151, allocations: 0.7816 MB / 1.366 GB, free: 15.35 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.082e-06/1.151, allocations: 4 kB / 1.366 GB, free: 15.34 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/1.151, allocations: 0 / 1.366 GB, free: 15.34 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.295e-06/1.151, allocations: 7.984 kB / 1.366 GB, free: 15.34 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003349/1.154, allocations: 1.404 MB / 1.367 GB, free: 13.85 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.306e-06/1.154, allocations: 7.938 kB / 1.367 GB, free: 13.84 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005481/1.155, allocations: 104.4 kB / 1.367 GB, free: 13.74 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002623/1.155, allocations: 76.8 kB / 1.367 GB, free: 13.66 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.573e-05/1.155, allocations: 12 kB / 1.367 GB, free: 13.65 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001845/1.157, allocations: 1.641 MB / 1.369 GB, free: 11.91 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/1.157, allocations: 3.938 kB / 1.369 GB, free: 11.91 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002292/1.159, allocations: 1.016 MB / 1.37 GB, free: 10.83 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000117/1.159, allocations: 39.72 kB / 1.37 GB, free: 10.79 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.041e-05/1.159, allocations: 15.98 kB / 1.37 GB, free: 10.77 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004832/1.16, allocations: 32.05 kB / 1.37 GB, free: 10.74 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001003/1.16, allocations: 47.8 kB / 1.37 GB, free: 10.7 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.12e-05/1.16, allocations: 20 kB / 1.37 GB, free: 10.68 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0003703/1.16, allocations: 251.2 kB / 1.37 GB, free: 10.43 MB / 1.217 GB Notification: Performance of sort global known variables: time 1.2e-07/1.16, allocations: 3.938 kB / 1.37 GB, free: 10.43 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.004626/1.165, allocations: 1.397 MB / 1.371 GB, free: 9.031 MB / 1.217 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.007357/1.172, allocations: 0.7445 MB / 1.372 GB, free: 8.277 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.0021/1.174, allocations: 0.7731 MB / 1.373 GB, free: 7.477 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 8.566e-06/1.174, allocations: 4 kB / 1.373 GB, free: 7.473 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0008376/1.175, allocations: 375.9 kB / 1.373 GB, free: 7.094 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001401/1.177, allocations: 224 kB / 1.374 GB, free: 6.879 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002283/1.179, allocations: 1.189 MB / 1.375 GB, free: 5.625 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003342/1.179, allocations: 282.8 kB / 1.375 GB, free: 5.32 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0005322/1.18, allocations: 127.8 kB / 1.375 GB, free: 5.203 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002024/1.18, allocations: 56.47 kB / 1.375 GB, free: 5.148 MB / 1.217 GB Notification: Performance of SimCode: time 1.232e-06/1.18, allocations: 0 / 1.375 GB, free: 5.148 MB / 1.217 GB Notification: Performance of Templates: time 0.09132/1.271, allocations: 61.12 MB / 1.435 GB, free: 8.684 MB / 1.279 GB " [Timeout remaining time 299] 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 ida -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: 14.789947678917088]