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.001327/0.001327, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001496/0.001496, allocations: 214 kB / 22.25 MB, free: 4.859 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.49/1.49, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.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.813/2.813, allocations: 476 MB / 0.7699 GB, free: 4.754 MB / 0.6231 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.002027/0.002027, allocations: 68.66 kB / 1.117 GB, free: 41.14 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3203/0.3223, allocations: 170 MB / 1.283 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation): time 0.1875/0.5099, allocations: 143.9 MB / 1.423 GB, free: 11.57 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.01313/0.523, allocations: 8.175 MB / 1.431 GB, free: 3.371 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007323/0.5237, allocations: 27.75 kB / 1.432 GB, free: 3.344 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.001141/0.5249, allocations: 329.9 kB / 1.432 GB, free: 3.02 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.003116/0.528, allocations: 1.128 MB / 1.433 GB, free: 1.887 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.005551/0.5335, allocations: 2.161 MB / 1.435 GB, free: 15.73 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.00204/0.5356, allocations: 1.395 MB / 1.436 GB, free: 14.33 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007308/0.5363, allocations: 354.2 kB / 1.437 GB, free: 13.98 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005518/0.5418, allocations: 2.198 MB / 1.439 GB, free: 11.77 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002856/0.5447, allocations: 1.258 MB / 1.44 GB, free: 10.51 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0001321/0.5448, allocations: 48 kB / 1.44 GB, free: 10.46 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006071/0.5509, allocations: 2.797 MB / 1.443 GB, free: 7.66 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0002351/0.5511, allocations: 151.4 kB / 1.443 GB, free: 7.512 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.000516/0.5516, allocations: 302.8 kB / 1.443 GB, free: 7.215 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.00392/0.5556, allocations: 2.221 MB / 1.445 GB, free: 4.988 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.5556, allocations: 4 kB / 1.445 GB, free: 4.984 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.303e-06/0.5556, allocations: 0 / 1.445 GB, free: 4.984 MB / 1.139 GB Notification: Performance of Transformations before backend: time 3.258e-05/0.5556, allocations: 0 / 1.445 GB, free: 4.984 MB / 1.139 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.002296/0.5579, allocations: 0.9408 MB / 1.446 GB, free: 4.012 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 3.463e-05/0.5579, allocations: 8.031 kB / 1.446 GB, free: 4.004 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001154/0.5591, allocations: 151.6 kB / 1.447 GB, free: 3.855 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008982/0.56, allocations: 367.3 kB / 1.447 GB, free: 3.469 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.416e-05/0.56, allocations: 41.31 kB / 1.447 GB, free: 3.426 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001007/0.5601, allocations: 55.95 kB / 1.447 GB, free: 3.371 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001501/0.5616, allocations: 0.9945 MB / 1.448 GB, free: 2.25 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.122e-05/0.5617, allocations: 0 / 1.448 GB, free: 2.25 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.451e-05/0.5617, allocations: 24 kB / 1.448 GB, free: 2.227 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.431e-05/0.5617, allocations: 19.92 kB / 1.448 GB, free: 2.207 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00117/0.5629, allocations: 495.5 kB / 1.448 GB, free: 1.723 MB / 1.139 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.003496/0.5664, allocations: 2.189 MB / 1.451 GB, free: 15.45 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006383/0.567, allocations: 255.4 kB / 1.451 GB, free: 15.2 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003747/0.5674, allocations: 160.8 kB / 1.451 GB, free: 15.04 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01906/0.5865, allocations: 4.929 MB / 1.456 GB, free: 10.1 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.577e-05/0.5865, allocations: 38.56 kB / 1.456 GB, free: 10.05 MB / 1.154 GB Notification: Performance of pre-optimization done (n=36): time 2.374e-06/0.5865, allocations: 0 / 1.456 GB, free: 10.05 MB / 1.154 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.1034/0.6899, allocations: 31.66 MB / 1.487 GB, free: 10.41 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001007/0.69, allocations: 140.9 kB / 1.487 GB, free: 10.24 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005158/0.6905, allocations: 341.5 kB / 1.487 GB, free: 9.902 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 6.47e-05/0.6906, allocations: 37.7 kB / 1.487 GB, free: 9.859 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002536/0.6908, allocations: 296.7 kB / 1.488 GB, free: 9.562 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001989/0.691, allocations: 190.4 kB / 1.488 GB, free: 9.375 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002064/0.6912, allocations: 118.3 kB / 1.488 GB, free: 9.254 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0002029/0.6914, allocations: 350.8 kB / 1.488 GB, free: 8.902 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000622/0.6921, allocations: 241.2 kB / 1.488 GB, free: 8.668 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008012/0.6929, allocations: 454.4 kB / 1.489 GB, free: 8.152 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001376/0.6942, allocations: 0.5903 MB / 1.489 GB, free: 7.516 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.6942, allocations: 0 / 1.489 GB, free: 7.516 MB / 1.186 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002251/0.6965, allocations: 0.79 MB / 1.49 GB, free: 6.711 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.163e-05/0.6965, allocations: 8 kB / 1.49 GB, free: 6.703 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.073e-05/0.6965, allocations: 4 kB / 1.49 GB, free: 6.699 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00055/0.6971, allocations: 125.9 kB / 1.49 GB, free: 6.57 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006211/0.6977, allocations: 131.8 kB / 1.49 GB, free: 6.441 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003901/0.7016, allocations: 3.162 MB / 1.494 GB, free: 3.082 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005826/0.7022, allocations: 31.97 kB / 1.494 GB, free: 3.051 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.472e-05/0.7022, allocations: 32.08 kB / 1.494 GB, free: 3.02 MB / 1.186 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.0003233/0.7026, allocations: 209.7 kB / 1.494 GB, free: 2.805 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002097/0.7028, allocations: 47.72 kB / 1.494 GB, free: 2.758 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002013/0.7048, allocations: 0.7753 MB / 1.495 GB, free: 1.969 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.033e-06/0.7048, allocations: 4 kB / 1.495 GB, free: 1.965 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.357e-06/0.7048, allocations: 4 kB / 1.495 GB, free: 1.961 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.864e-06/0.7048, allocations: 3.984 kB / 1.495 GB, free: 1.957 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00343/0.7082, allocations: 1.401 MB / 1.496 GB, free: 484 kB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.345e-06/0.7082, allocations: 4 kB / 1.496 GB, free: 480 kB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005657/0.7088, allocations: 99.88 kB / 1.496 GB, free: 380 kB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002582/0.7091, allocations: 72.75 kB / 1.496 GB, free: 304 kB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.696e-05/0.7091, allocations: 16.39 kB / 1.496 GB, free: 288 kB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001947/0.7111, allocations: 1.641 MB / 1.498 GB, free: 14.54 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.713e-06/0.7111, allocations: 7.984 kB / 1.498 GB, free: 14.53 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002304/0.7134, allocations: 1.013 MB / 1.499 GB, free: 13.46 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 9.489e-05/0.7135, allocations: 39.7 kB / 1.499 GB, free: 13.43 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.21e-05/0.7136, allocations: 20 kB / 1.499 GB, free: 13.41 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004902/0.714, allocations: 31.97 kB / 1.499 GB, free: 13.38 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001074/0.7142, allocations: 43.81 kB / 1.499 GB, free: 13.33 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.685e-05/0.7142, allocations: 32.05 kB / 1.499 GB, free: 13.3 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0003607/0.7146, allocations: 247.2 kB / 1.499 GB, free: 13.06 MB / 1.201 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7146, allocations: 0 / 1.499 GB, free: 13.06 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.004215/0.7188, allocations: 1.397 MB / 1.501 GB, free: 11.66 MB / 1.201 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.007796/0.7266, allocations: 0.7315 MB / 1.501 GB, free: 10.92 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.002028/0.7286, allocations: 0.784 MB / 1.502 GB, free: 10.11 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/0.7286, allocations: 128 / 1.502 GB, free: 10.11 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.00085/0.7295, allocations: 386 kB / 1.502 GB, free: 9.719 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001304/0.7308, allocations: 226.5 kB / 1.503 GB, free: 9.504 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002359/0.7331, allocations: 1.193 MB / 1.504 GB, free: 8.242 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003332/0.7335, allocations: 278.9 kB / 1.504 GB, free: 7.941 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0005279/0.734, allocations: 115.3 kB / 1.504 GB, free: 7.836 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001812/0.7342, allocations: 59.42 kB / 1.504 GB, free: 7.781 MB / 1.201 GB Notification: Performance of SimCode: time 7.92e-07/0.7342, allocations: 0 / 1.504 GB, free: 7.781 MB / 1.201 GB Notification: Performance of Templates: time 0.1016/0.8358, allocations: 62.03 MB / 1.565 GB, free: 10.4 MB / 1.264 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 -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/jenkins/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: 15.36454464495182]