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.001599/0.001599, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001801/0.001801, allocations: 221 kB / 23.01 MB, free: 4.609 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.46/1.46, allocations: 230.6 MB / 256.8 MB, free: 8.055 MB / 206.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 3.252/3.252, allocations: 0.505 GB / 0.8108 GB, free: 22.11 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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: 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.002037/0.002037, allocations: 66.8 kB / 1.178 GB, free: 16.97 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3697/0.3718, allocations: 180.2 MB / 1.354 GB, free: 8.027 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation): time 0.1992/0.5709, allocations: 166.4 MB / 1.517 GB, free: 1.016 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.0134/0.5843, allocations: 8.942 MB / 1.525 GB, free: 8.043 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008435/0.5852, allocations: 23.81 kB / 1.525 GB, free: 8.02 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.001239/0.5864, allocations: 361.8 kB / 1.526 GB, free: 7.664 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.003367/0.5898, allocations: 1.142 MB / 1.527 GB, free: 6.52 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.005794/0.5956, allocations: 2.15 MB / 1.529 GB, free: 4.375 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.002392/0.598, allocations: 1.399 MB / 1.53 GB, free: 2.969 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007394/0.5987, allocations: 366.1 kB / 1.531 GB, free: 2.605 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005677/0.6044, allocations: 2.21 MB / 1.533 GB, free: 396 kB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002945/0.6073, allocations: 1.285 MB / 1.534 GB, free: 15.1 MB / 1.233 GB Notification: Performance of NFPackage.collectConstants: time 0.000174/0.6075, allocations: 52 kB / 1.534 GB, free: 15.05 MB / 1.233 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006077/0.6136, allocations: 2.911 MB / 1.537 GB, free: 12.14 MB / 1.233 GB Notification: Performance of NFScalarize.scalarize: time 0.0003166/0.6139, allocations: 159.4 kB / 1.537 GB, free: 11.98 MB / 1.233 GB Notification: Performance of NFVerifyModel.verify: time 0.0005934/0.6145, allocations: 342.5 kB / 1.537 GB, free: 11.64 MB / 1.233 GB Notification: Performance of NFConvertDAE.convert: time 0.00414/0.6186, allocations: 2.221 MB / 1.54 GB, free: 9.418 MB / 1.233 GB Notification: Performance of FrontEnd - DAE generated: time 7.083e-06/0.6186, allocations: 0 / 1.54 GB, free: 9.418 MB / 1.233 GB Notification: Performance of FrontEnd: time 4.709e-06/0.6186, allocations: 3.984 kB / 1.54 GB, free: 9.414 MB / 1.233 GB Notification: Performance of Transformations before backend: time 1.161e-05/0.6187, allocations: 0 / 1.54 GB, free: 9.414 MB / 1.233 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.002195/0.6208, allocations: 0.9486 MB / 1.54 GB, free: 8.434 MB / 1.233 GB Notification: Performance of prepare preOptimizeDAE: time 4.333e-05/0.6209, allocations: 12.03 kB / 1.54 GB, free: 8.422 MB / 1.233 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001116/0.622, allocations: 151.6 kB / 1.541 GB, free: 8.273 MB / 1.233 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007626/0.6228, allocations: 371.3 kB / 1.541 GB, free: 7.883 MB / 1.233 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.084e-05/0.6228, allocations: 37.31 kB / 1.541 GB, free: 7.844 MB / 1.233 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.482e-05/0.6229, allocations: 52 kB / 1.541 GB, free: 7.793 MB / 1.233 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001249/0.6241, allocations: 0.6682 MB / 1.542 GB, free: 7.078 MB / 1.233 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.146e-05/0.6242, allocations: 3.984 kB / 1.542 GB, free: 7.074 MB / 1.233 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.958e-05/0.6242, allocations: 24 kB / 1.542 GB, free: 7.051 MB / 1.233 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.951e-05/0.6242, allocations: 23.94 kB / 1.542 GB, free: 7.027 MB / 1.233 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001072/0.6253, allocations: 487.5 kB / 1.542 GB, free: 6.551 MB / 1.233 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.003807/0.6291, allocations: 2.955 MB / 1.545 GB, free: 3.367 MB / 1.233 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006339/0.6298, allocations: 254.5 kB / 1.545 GB, free: 3.109 MB / 1.233 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003406/0.6301, allocations: 153.4 kB / 1.546 GB, free: 2.957 MB / 1.233 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01777/0.6479, allocations: 4.912 MB / 1.55 GB, free: 14.04 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.684e-05/0.6479, allocations: 50.36 kB / 1.55 GB, free: 13.98 MB / 1.248 GB Notification: Performance of pre-optimization done (n=36): time 2.946e-06/0.6479, allocations: 4 kB / 1.55 GB, free: 13.98 MB / 1.248 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.09053/0.7385, allocations: 31.65 MB / 1.581 GB, free: 14.32 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.188e-05/0.7386, allocations: 136.9 kB / 1.581 GB, free: 14.16 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005254/0.7391, allocations: 381.6 kB / 1.582 GB, free: 13.78 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 5.037e-05/0.7391, allocations: 33.7 kB / 1.582 GB, free: 13.74 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002478/0.7394, allocations: 308.8 kB / 1.582 GB, free: 13.43 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001827/0.7396, allocations: 186.4 kB / 1.582 GB, free: 13.25 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002008/0.7398, allocations: 110.3 kB / 1.582 GB, free: 13.14 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 0.0001818/0.74, allocations: 354.8 kB / 1.583 GB, free: 12.78 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000577/0.7405, allocations: 241.1 kB / 1.583 GB, free: 12.55 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007046/0.7412, allocations: 373.4 kB / 1.583 GB, free: 12.13 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001208/0.7424, allocations: 0.5942 MB / 1.584 GB, free: 11.49 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.7424, allocations: 0 / 1.584 GB, free: 11.49 MB / 1.279 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002041/0.7445, allocations: 0.7941 MB / 1.585 GB, free: 10.68 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 2.467e-05/0.7445, allocations: 15.97 kB / 1.585 GB, free: 10.67 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/0.7445, allocations: 4 kB / 1.585 GB, free: 10.66 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005177/0.745, allocations: 121.6 kB / 1.585 GB, free: 10.54 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005989/0.7456, allocations: 131.8 kB / 1.585 GB, free: 10.41 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00358/0.7492, allocations: 3.214 MB / 1.588 GB, free: 6.973 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005795/0.7498, allocations: 35.91 kB / 1.588 GB, free: 6.938 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.415e-05/0.7499, allocations: 28 kB / 1.588 GB, free: 6.91 MB / 1.279 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.0003386/0.7502, allocations: 206.3 kB / 1.588 GB, free: 6.699 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000208/0.7504, allocations: 51.67 kB / 1.588 GB, free: 6.648 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001954/0.7524, allocations: 0.7924 MB / 1.589 GB, free: 5.848 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.085e-06/0.7524, allocations: 8 kB / 1.589 GB, free: 5.84 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.925e-06/0.7524, allocations: 0 / 1.589 GB, free: 5.84 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.7524, allocations: 0 / 1.589 GB, free: 5.84 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00337/0.7557, allocations: 1.586 MB / 1.591 GB, free: 4.156 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.017e-06/0.7557, allocations: 8 kB / 1.591 GB, free: 4.148 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005215/0.7563, allocations: 103.9 kB / 1.591 GB, free: 4.047 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002584/0.7565, allocations: 65.22 kB / 1.591 GB, free: 3.98 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.108e-05/0.7566, allocations: 19.98 kB / 1.591 GB, free: 3.961 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001877/0.7584, allocations: 1.668 MB / 1.593 GB, free: 2.18 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.12e-06/0.7585, allocations: 4.141 kB / 1.593 GB, free: 2.176 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002213/0.7607, allocations: 1.032 MB / 1.594 GB, free: 1.086 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001432/0.7608, allocations: 55.61 kB / 1.594 GB, free: 1.031 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001076/0.7609, allocations: 23.92 kB / 1.594 GB, free: 1.008 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004906/0.7614, allocations: 28.05 kB / 1.594 GB, free: 0.9805 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.746e-05/0.7615, allocations: 43.92 kB / 1.594 GB, free: 0.9375 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.931e-05/0.7616, allocations: 23.94 kB / 1.594 GB, free: 0.9141 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.0004966/0.7621, allocations: 354.8 kB / 1.594 GB, free: 0.5664 MB / 1.279 GB Notification: Performance of sort global known variables: time 7e-08/0.7621, allocations: 0 / 1.594 GB, free: 0.5664 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.004449/0.7665, allocations: 1.401 MB / 1.595 GB, free: 15.16 MB / 1.295 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.007692/0.7742, allocations: 0.7319 MB / 1.596 GB, free: 14.42 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.002172/0.7764, allocations: 0.7839 MB / 1.597 GB, free: 13.61 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 7.093e-06/0.7764, allocations: 0 / 1.597 GB, free: 13.61 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.0008161/0.7772, allocations: 374.8 kB / 1.597 GB, free: 13.23 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001788/0.779, allocations: 347.8 kB / 1.598 GB, free: 12.9 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002304/0.7813, allocations: 1.245 MB / 1.599 GB, free: 11.58 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005687/0.7818, allocations: 0.879 MB / 1.6 GB, free: 10.68 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002326/0.7821, allocations: 71.41 kB / 1.6 GB, free: 10.61 MB / 1.295 GB Notification: Performance of SimCode: time 1.112e-06/0.7821, allocations: 0 / 1.6 GB, free: 10.61 MB / 1.295 GB Notification: Performance of Templates: time 0.8606/1.643, allocations: 42.28 MB / 1.641 GB, free: 235.9 MB / 1.295 GB " [Timeout remaining time 298] 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/jenkins1/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: 17.00077476797742]