Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001877/0.001877, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.002301/0.002301, allocations: 161 kB / 23.01 MB, free: 4.602 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.438/1.438, allocations: 177.2 MB / 203.4 MB, free: 8.906 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.673/2.673, allocations: 359.1 MB / 0.6044 GB, free: 14.83 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_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.002199/0.002199, allocations: 71.88 kB / 0.9515 GB, free: 12.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2777/0.2799, allocations: 169.9 MB / 1.117 GB, free: 2.523 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation): time 0.6496/0.9295, allocations: 143.9 MB / 1.258 GB, free: 15.04 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.01215/0.9416, allocations: 8.17 MB / 1.266 GB, free: 9.961 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005656/0.9422, allocations: 22.47 kB / 1.266 GB, free: 9.949 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.001037/0.9432, allocations: 334.3 kB / 1.266 GB, free: 9.77 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.003022/0.9463, allocations: 1.132 MB / 1.267 GB, free: 9.227 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.005941/0.9522, allocations: 2.148 MB / 1.269 GB, free: 8.406 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.001798/0.954, allocations: 1.391 MB / 1.271 GB, free: 7.75 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005852/0.9546, allocations: 357.3 kB / 1.271 GB, free: 7.594 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005232/0.9598, allocations: 2.198 MB / 1.273 GB, free: 6.566 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003183/0.963, allocations: 1.266 MB / 1.275 GB, free: 5.945 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 9.379e-05/0.9631, allocations: 52.06 kB / 1.275 GB, free: 5.945 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005985/0.9691, allocations: 2.79 MB / 1.277 GB, free: 5.348 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0002141/0.9693, allocations: 161.3 kB / 1.277 GB, free: 5.25 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0003891/0.9697, allocations: 293.3 kB / 1.278 GB, free: 5.117 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.003283/0.973, allocations: 2.225 MB / 1.28 GB, free: 4.5 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.973, allocations: 0 / 1.28 GB, free: 4.5 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.633e-06/0.973, allocations: 0 / 1.28 GB, free: 4.5 MB / 1.123 GB Notification: Performance of Transformations before backend: time 9.218e-06/0.973, allocations: 0 / 1.28 GB, free: 4.5 MB / 1.123 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.002017/0.975, allocations: 0.951 MB / 1.281 GB, free: 3.871 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.292e-05/0.975, allocations: 9.125 kB / 1.281 GB, free: 3.871 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001171/0.9762, allocations: 154.3 kB / 1.281 GB, free: 3.82 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007157/0.9769, allocations: 374.9 kB / 1.281 GB, free: 3.555 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.387e-05/0.9769, allocations: 42.34 kB / 1.281 GB, free: 3.531 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.12e-05/0.977, allocations: 50.5 kB / 1.281 GB, free: 3.516 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00145/0.9785, allocations: 0.9877 MB / 1.282 GB, free: 2.766 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.479e-05/0.9785, allocations: 5.25 kB / 1.282 GB, free: 2.762 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.541e-05/0.9786, allocations: 22.69 kB / 1.282 GB, free: 2.746 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.645e-05/0.9786, allocations: 18.67 kB / 1.282 GB, free: 2.742 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001152/0.9797, allocations: 493.5 kB / 1.283 GB, free: 2.582 MB / 1.123 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.003235/0.983, allocations: 2.181 MB / 1.285 GB, free: 0.9336 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000634/0.9836, allocations: 259.2 kB / 1.285 GB, free: 0.8281 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003631/0.984, allocations: 163 kB / 1.285 GB, free: 0.7617 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01923/1.003, allocations: 4.936 MB / 1.29 GB, free: 15.37 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.805e-05/1.003, allocations: 42.62 kB / 1.29 GB, free: 15.32 MB / 1.139 GB Notification: Performance of pre-optimization done (n=36): time 1.973e-06/1.003, allocations: 0 / 1.29 GB, free: 15.32 MB / 1.139 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.09816/1.101, allocations: 31.65 MB / 1.321 GB, free: 7.172 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001019/1.102, allocations: 137 kB / 1.321 GB, free: 7.008 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004618/1.102, allocations: 341.5 kB / 1.322 GB, free: 6.668 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 5.135e-05/1.102, allocations: 37.7 kB / 1.322 GB, free: 6.625 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002369/1.102, allocations: 304.7 kB / 1.322 GB, free: 6.32 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001742/1.102, allocations: 190.4 kB / 1.322 GB, free: 6.133 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000193/1.103, allocations: 106.3 kB / 1.322 GB, free: 6.023 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001959/1.103, allocations: 358.8 kB / 1.323 GB, free: 5.664 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006018/1.103, allocations: 233.2 kB / 1.323 GB, free: 5.434 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007917/1.104, allocations: 458.5 kB / 1.323 GB, free: 4.918 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00129/1.106, allocations: 0.5915 MB / 1.324 GB, free: 4.285 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.479e-06/1.106, allocations: 4 kB / 1.324 GB, free: 4.281 MB / 1.154 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002132/1.108, allocations: 0.7839 MB / 1.325 GB, free: 3.48 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/1.108, allocations: 12.03 kB / 1.325 GB, free: 3.469 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/1.108, allocations: 4 kB / 1.325 GB, free: 3.465 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005176/1.108, allocations: 121.5 kB / 1.325 GB, free: 3.34 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006151/1.109, allocations: 128.9 kB / 1.325 GB, free: 3.215 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003555/1.112, allocations: 3.167 MB / 1.328 GB, free: 15.85 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005876/1.113, allocations: 44.03 kB / 1.328 GB, free: 15.81 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.038e-05/1.113, allocations: 23.98 kB / 1.328 GB, free: 15.79 MB / 1.17 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.0002904/1.113, allocations: 189.7 kB / 1.328 GB, free: 15.59 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001888/1.113, allocations: 51.66 kB / 1.328 GB, free: 15.54 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00206/1.116, allocations: 0.7859 MB / 1.329 GB, free: 14.74 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.182e-06/1.116, allocations: 4 kB / 1.329 GB, free: 14.73 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/1.116, allocations: 0.6875 kB / 1.329 GB, free: 14.73 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.029e-05/1.116, allocations: 7.984 kB / 1.329 GB, free: 14.73 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003357/1.119, allocations: 1.391 MB / 1.33 GB, free: 13.26 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.722e-06/1.119, allocations: 4.406 kB / 1.33 GB, free: 13.25 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005457/1.119, allocations: 103.9 kB / 1.331 GB, free: 13.15 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002646/1.12, allocations: 77.86 kB / 1.331 GB, free: 13.07 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.978e-05/1.12, allocations: 16 kB / 1.331 GB, free: 13.06 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001878/1.122, allocations: 1.65 MB / 1.332 GB, free: 11.31 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/1.122, allocations: 4.062 kB / 1.332 GB, free: 11.31 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002296/1.124, allocations: 1.011 MB / 1.333 GB, free: 10.25 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 8.227e-05/1.124, allocations: 43.72 kB / 1.333 GB, free: 10.2 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.77e-05/1.124, allocations: 15.92 kB / 1.333 GB, free: 10.19 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000485/1.125, allocations: 27.98 kB / 1.333 GB, free: 10.16 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.968e-05/1.125, allocations: 51.8 kB / 1.333 GB, free: 10.11 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.128e-05/1.125, allocations: 20 kB / 1.333 GB, free: 10.09 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0003428/1.125, allocations: 247.2 kB / 1.334 GB, free: 9.848 MB / 1.17 GB Notification: Performance of sort global known variables: time 1e-07/1.125, allocations: 0 / 1.334 GB, free: 9.848 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.005244/1.13, allocations: 1.401 MB / 1.335 GB, free: 8.445 MB / 1.17 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.008286/1.139, allocations: 0.7462 MB / 1.336 GB, free: 7.688 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.001975/1.141, allocations: 0.773 MB / 1.336 GB, free: 6.887 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 6.402e-06/1.141, allocations: 4 kB / 1.336 GB, free: 6.883 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0008154/1.141, allocations: 379 kB / 1.337 GB, free: 6.5 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001255/1.143, allocations: 219.5 kB / 1.337 GB, free: 6.293 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002132/1.145, allocations: 1.208 MB / 1.338 GB, free: 5.027 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003024/1.145, allocations: 278.8 kB / 1.338 GB, free: 4.727 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.000462/1.146, allocations: 124 kB / 1.339 GB, free: 4.613 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001882/1.146, allocations: 56.47 kB / 1.339 GB, free: 4.559 MB / 1.17 GB Notification: Performance of SimCode: time 4.61e-07/1.146, allocations: 0 / 1.339 GB, free: 4.559 MB / 1.17 GB Notification: Performance of Templates: time 0.09337/1.239, allocations: 61.1 MB / 1.398 GB, free: 8.109 MB / 1.232 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.makefile [Timeout 300] (rm -f Buildings_11_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe ; mkfifo Buildings_11_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe ; head -c 1048576 < Buildings_11_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe >> ../files/Buildings_11_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.sim & ./Buildings_11_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_DHC_Plants_Steam_BaseClasses_Examples_ControlVolumeEvaporation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.619411941966973]