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.00164/0.00164, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001828/0.001828, allocations: 214.4 kB / 22.24 MB, free: 5.262 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.551/1.551, allocations: 230.6 MB / 256 MB, free: 7.785 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.281/3.281, allocations: 0.4892 GB / 0.7943 GB, free: 35.53 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.002114/0.002114, allocations: 67.44 kB / 1.154 GB, free: 25.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3333/0.3354, allocations: 176.1 MB / 1.326 GB, free: 1.879 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation): time 0.188/0.5235, allocations: 143.9 MB / 1.466 GB, free: 1.488 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.01266/0.5361, allocations: 8.172 MB / 1.474 GB, free: 9.285 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007326/0.5369, allocations: 23.81 kB / 1.474 GB, free: 9.262 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.001115/0.538, allocations: 329.8 kB / 1.474 GB, free: 8.938 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.003291/0.5413, allocations: 1.136 MB / 1.475 GB, free: 7.801 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.005668/0.5469, allocations: 2.15 MB / 1.478 GB, free: 5.656 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.002206/0.5491, allocations: 1.395 MB / 1.479 GB, free: 4.258 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006868/0.5498, allocations: 357.9 kB / 1.479 GB, free: 3.898 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006058/0.5559, allocations: 2.198 MB / 1.481 GB, free: 1.691 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002902/0.5588, allocations: 1.266 MB / 1.483 GB, free: 436 kB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0001381/0.5589, allocations: 52 kB / 1.483 GB, free: 384 kB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005581/0.5645, allocations: 2.793 MB / 1.485 GB, free: 13.58 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0002163/0.5647, allocations: 155.5 kB / 1.486 GB, free: 13.43 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0004326/0.5651, allocations: 298.8 kB / 1.486 GB, free: 13.13 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.003203/0.5684, allocations: 2.217 MB / 1.488 GB, free: 10.91 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.5684, allocations: 0 / 1.488 GB, free: 10.91 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.633e-06/0.5684, allocations: 0 / 1.488 GB, free: 10.91 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.086e-05/0.5684, allocations: 0 / 1.488 GB, free: 10.91 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.001975/0.5703, allocations: 0.9525 MB / 1.489 GB, free: 9.926 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/0.5704, allocations: 8.031 kB / 1.489 GB, free: 9.918 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001101/0.5715, allocations: 143.6 kB / 1.489 GB, free: 9.777 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007596/0.5722, allocations: 379.2 kB / 1.489 GB, free: 9.375 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.088e-05/0.5723, allocations: 41.25 kB / 1.489 GB, free: 9.332 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.57e-05/0.5724, allocations: 55.95 kB / 1.49 GB, free: 9.277 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001416/0.5738, allocations: 0.9906 MB / 1.49 GB, free: 8.156 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.173e-05/0.5738, allocations: 0 / 1.49 GB, free: 8.156 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.334e-05/0.5739, allocations: 31.94 kB / 1.491 GB, free: 8.125 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.583e-05/0.5739, allocations: 19.88 kB / 1.491 GB, free: 8.105 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001108/0.575, allocations: 487.6 kB / 1.491 GB, free: 7.629 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.003294/0.5783, allocations: 2.189 MB / 1.493 GB, free: 5.363 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006512/0.5789, allocations: 260.2 kB / 1.493 GB, free: 5.102 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003619/0.5793, allocations: 157.4 kB / 1.494 GB, free: 4.945 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01907/0.5984, allocations: 4.932 MB / 1.498 GB, free: 8 kB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.108e-05/0.5985, allocations: 42.42 kB / 1.498 GB, free: 15.96 MB / 1.201 GB Notification: Performance of pre-optimization done (n=36): time 3.056e-06/0.5985, allocations: 0 / 1.498 GB, free: 15.96 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.09717/0.6956, allocations: 31.65 MB / 1.529 GB, free: 308 kB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.511e-05/0.6957, allocations: 137 kB / 1.529 GB, free: 140 kB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005126/0.6962, allocations: 341.5 kB / 1.53 GB, free: 15.8 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 6.843e-05/0.6963, allocations: 37.7 kB / 1.53 GB, free: 15.75 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002269/0.6965, allocations: 300.7 kB / 1.53 GB, free: 15.45 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001682/0.6967, allocations: 186.4 kB / 1.53 GB, free: 15.27 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002055/0.6969, allocations: 110.3 kB / 1.53 GB, free: 15.16 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.000172/0.6971, allocations: 358.8 kB / 1.531 GB, free: 14.8 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000587/0.6977, allocations: 233.2 kB / 1.531 GB, free: 14.57 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007528/0.6984, allocations: 454.5 kB / 1.531 GB, free: 14.05 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001229/0.6997, allocations: 0.5903 MB / 1.532 GB, free: 13.42 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.6997, allocations: 0 / 1.532 GB, free: 13.42 MB / 1.232 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002108/0.7018, allocations: 0.7901 MB / 1.533 GB, free: 12.62 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.258e-05/0.7018, allocations: 4 kB / 1.533 GB, free: 12.61 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/0.7018, allocations: 4 kB / 1.533 GB, free: 12.61 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005427/0.7023, allocations: 129.5 kB / 1.533 GB, free: 12.48 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006014/0.7029, allocations: 127.8 kB / 1.533 GB, free: 12.35 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003514/0.7065, allocations: 3.174 MB / 1.536 GB, free: 8.98 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006029/0.7071, allocations: 31.97 kB / 1.536 GB, free: 8.949 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.622e-05/0.7071, allocations: 24 kB / 1.536 GB, free: 8.926 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.0003471/0.7075, allocations: 203.6 kB / 1.536 GB, free: 8.719 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001965/0.7077, allocations: 51.7 kB / 1.536 GB, free: 8.668 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001927/0.7096, allocations: 0.7773 MB / 1.537 GB, free: 7.879 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.564e-06/0.7096, allocations: 8 kB / 1.537 GB, free: 7.871 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.7096, allocations: 0 / 1.537 GB, free: 7.871 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.7096, allocations: 0 / 1.537 GB, free: 7.871 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003289/0.7129, allocations: 1.415 MB / 1.539 GB, free: 6.375 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.756e-06/0.7129, allocations: 0 / 1.539 GB, free: 6.375 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005555/0.7135, allocations: 111.8 kB / 1.539 GB, free: 6.266 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002927/0.7137, allocations: 68.75 kB / 1.539 GB, free: 6.195 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.83e-05/0.7138, allocations: 19.98 kB / 1.539 GB, free: 6.176 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00188/0.7157, allocations: 1.641 MB / 1.54 GB, free: 4.438 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.193e-06/0.7157, allocations: 7.938 kB / 1.54 GB, free: 4.43 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002308/0.718, allocations: 1.001 MB / 1.541 GB, free: 3.367 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001398/0.7181, allocations: 43.73 kB / 1.541 GB, free: 3.324 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001108/0.7182, allocations: 20 kB / 1.541 GB, free: 3.305 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005054/0.7187, allocations: 23.98 kB / 1.541 GB, free: 3.281 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001253/0.7189, allocations: 51.8 kB / 1.541 GB, free: 3.23 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.319e-05/0.7189, allocations: 23.98 kB / 1.541 GB, free: 3.207 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0003648/0.7193, allocations: 247.2 kB / 1.542 GB, free: 2.969 MB / 1.232 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7193, allocations: 4.062 kB / 1.542 GB, free: 2.965 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.004634/0.7239, allocations: 1.39 MB / 1.543 GB, free: 1.574 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.008901/0.7328, allocations: 0.75 MB / 1.544 GB, free: 0.8164 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.002334/0.7352, allocations: 0.7801 MB / 1.545 GB, free: 8 kB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 8.646e-06/0.7352, allocations: 0 / 1.545 GB, free: 8 kB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0009026/0.7361, allocations: 371.1 kB / 1.545 GB, free: 15.63 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00149/0.7376, allocations: 221.2 kB / 1.545 GB, free: 15.42 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002437/0.74, allocations: 1.192 MB / 1.546 GB, free: 14.16 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003689/0.7404, allocations: 282.9 kB / 1.547 GB, free: 13.86 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.000597/0.741, allocations: 133.9 kB / 1.547 GB, free: 13.73 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002049/0.7412, allocations: 55.42 kB / 1.547 GB, free: 13.68 MB / 1.248 GB Notification: Performance of SimCode: time 1.052e-06/0.7412, allocations: 0 / 1.547 GB, free: 13.68 MB / 1.248 GB Notification: Performance of Templates: time 0.1055/0.8466, allocations: 62.03 MB / 1.607 GB, free: 300 kB / 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 -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/jenkins/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: 16.607797227799892]