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.001636/0.001636, allocations: 110.2 kB / 19.69 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.001968/0.001968, allocations: 211.6 kB / 23.01 MB, free: 4.566 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.514/1.514, allocations: 230.6 MB / 256.8 MB, free: 8.008 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.208/3.208, allocations: 0.49 GB / 0.7958 GB, free: 33.35 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.002143/0.002143, allocations: 70.14 kB / 1.155 GB, free: 25.49 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3665/0.3687, allocations: 176.1 MB / 1.327 GB, free: 1.477 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation): time 0.1954/0.5641, allocations: 166.4 MB / 1.49 GB, free: 10.46 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.01295/0.577, allocations: 8.938 MB / 1.498 GB, free: 1.484 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008153/0.5778, allocations: 19.88 kB / 1.498 GB, free: 1.465 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.001176/0.579, allocations: 361.8 kB / 1.499 GB, free: 1.109 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.003224/0.5822, allocations: 1.151 MB / 1.5 GB, free: 15.96 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.005704/0.5879, allocations: 2.159 MB / 1.502 GB, free: 13.8 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.002214/0.5902, allocations: 1.395 MB / 1.503 GB, free: 12.41 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006595/0.5908, allocations: 365.9 kB / 1.504 GB, free: 12.04 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005574/0.5964, allocations: 2.214 MB / 1.506 GB, free: 9.82 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002846/0.5992, allocations: 1.281 MB / 1.507 GB, free: 8.539 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0001341/0.5994, allocations: 52 kB / 1.507 GB, free: 8.488 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005853/0.6052, allocations: 2.911 MB / 1.51 GB, free: 5.574 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.000269/0.6055, allocations: 167.3 kB / 1.51 GB, free: 5.41 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0005208/0.606, allocations: 342.5 kB / 1.51 GB, free: 5.074 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.003548/0.6096, allocations: 2.213 MB / 1.513 GB, free: 2.855 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.6096, allocations: 4 kB / 1.513 GB, free: 2.852 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.613e-06/0.6096, allocations: 0 / 1.513 GB, free: 2.852 MB / 1.201 GB Notification: Performance of Transformations before backend: time 9.437e-06/0.6096, allocations: 3.938 kB / 1.513 GB, free: 2.848 MB / 1.201 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.001988/0.6116, allocations: 0.9486 MB / 1.514 GB, free: 1.867 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/0.6116, allocations: 8.031 kB / 1.514 GB, free: 1.859 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001078/0.6127, allocations: 147.6 kB / 1.514 GB, free: 1.715 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007447/0.6134, allocations: 375.3 kB / 1.514 GB, free: 1.316 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.275e-05/0.6135, allocations: 41.31 kB / 1.514 GB, free: 1.273 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.981e-05/0.6136, allocations: 51.95 kB / 1.514 GB, free: 1.223 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001229/0.6148, allocations: 0.6644 MB / 1.515 GB, free: 0.5078 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.126e-05/0.6148, allocations: 3.938 kB / 1.515 GB, free: 0.5039 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.857e-05/0.6149, allocations: 31.98 kB / 1.515 GB, free: 484 kB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.586e-05/0.6149, allocations: 19.88 kB / 1.515 GB, free: 464 kB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001065/0.616, allocations: 491.6 kB / 1.515 GB, free: 15.97 MB / 1.217 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.003755/0.6197, allocations: 2.955 MB / 1.518 GB, free: 12.79 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006123/0.6203, allocations: 252.6 kB / 1.518 GB, free: 12.54 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003407/0.6207, allocations: 157.4 kB / 1.519 GB, free: 12.38 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01761/0.6383, allocations: 4.916 MB / 1.523 GB, free: 7.461 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.969e-05/0.6383, allocations: 42.42 kB / 1.523 GB, free: 7.41 MB / 1.217 GB Notification: Performance of pre-optimization done (n=36): time 2.865e-06/0.6384, allocations: 0 / 1.523 GB, free: 7.41 MB / 1.217 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.08813/0.7265, allocations: 31.66 MB / 1.554 GB, free: 7.746 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001017/0.7266, allocations: 133 kB / 1.554 GB, free: 7.586 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005476/0.7271, allocations: 373.6 kB / 1.555 GB, free: 7.215 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 5.511e-05/0.7272, allocations: 37.7 kB / 1.555 GB, free: 7.172 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002442/0.7274, allocations: 300.8 kB / 1.555 GB, free: 6.871 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001802/0.7276, allocations: 186.4 kB / 1.555 GB, free: 6.688 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002034/0.7278, allocations: 118.3 kB / 1.555 GB, free: 6.566 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001992/0.728, allocations: 358.7 kB / 1.556 GB, free: 6.207 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005651/0.7286, allocations: 233.2 kB / 1.556 GB, free: 5.977 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007002/0.7293, allocations: 381.3 kB / 1.556 GB, free: 5.555 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001212/0.7305, allocations: 0.5864 MB / 1.557 GB, free: 4.926 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.75e-06/0.7305, allocations: 8 kB / 1.557 GB, free: 4.918 MB / 1.248 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002068/0.7326, allocations: 0.7977 MB / 1.558 GB, free: 4.105 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 2.506e-05/0.7326, allocations: 15.88 kB / 1.558 GB, free: 4.09 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.7326, allocations: 0 / 1.558 GB, free: 4.09 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005322/0.7331, allocations: 121.9 kB / 1.558 GB, free: 3.965 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006126/0.7337, allocations: 127.8 kB / 1.558 GB, free: 3.84 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003668/0.7374, allocations: 3.219 MB / 1.561 GB, free: 408 kB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006272/0.738, allocations: 40.06 kB / 1.561 GB, free: 368 kB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.7e-05/0.7381, allocations: 24 kB / 1.561 GB, free: 344 kB / 1.248 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.0003527/0.7384, allocations: 198.2 kB / 1.561 GB, free: 136 kB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002209/0.7387, allocations: 51.7 kB / 1.561 GB, free: 84 kB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001935/0.7406, allocations: 0.7856 MB / 1.562 GB, free: 15.28 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.7406, allocations: 4 kB / 1.562 GB, free: 15.27 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.7406, allocations: 4 kB / 1.562 GB, free: 15.27 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.722e-06/0.7406, allocations: 0 / 1.562 GB, free: 15.27 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003422/0.744, allocations: 1.578 MB / 1.564 GB, free: 13.6 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.915e-06/0.7441, allocations: 4 kB / 1.564 GB, free: 13.6 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000531/0.7446, allocations: 112.2 kB / 1.564 GB, free: 13.49 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002701/0.7449, allocations: 72.78 kB / 1.564 GB, free: 13.41 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.819e-05/0.7449, allocations: 16 kB / 1.564 GB, free: 13.4 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001934/0.7468, allocations: 1.668 MB / 1.566 GB, free: 11.62 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.44e-06/0.7468, allocations: 3.938 kB / 1.566 GB, free: 11.62 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002232/0.7491, allocations: 1.024 MB / 1.567 GB, free: 10.53 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001599/0.7492, allocations: 59.64 kB / 1.567 GB, free: 10.47 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001145/0.7493, allocations: 19.92 kB / 1.567 GB, free: 10.45 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004802/0.7498, allocations: 23.98 kB / 1.567 GB, free: 10.43 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001065/0.7499, allocations: 55.92 kB / 1.567 GB, free: 10.38 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.091e-05/0.75, allocations: 23.94 kB / 1.567 GB, free: 10.35 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.0005265/0.7505, allocations: 354.8 kB / 1.567 GB, free: 10 MB / 1.264 GB Notification: Performance of sort global known variables: time 1.01e-07/0.7505, allocations: 4 kB / 1.567 GB, free: 10 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.00473/0.7552, allocations: 1.394 MB / 1.568 GB, free: 8.605 MB / 1.264 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.008092/0.7633, allocations: 0.7395 MB / 1.569 GB, free: 7.855 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.002193/0.7655, allocations: 0.7724 MB / 1.57 GB, free: 7.055 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 8.386e-06/0.7655, allocations: 3.953 kB / 1.57 GB, free: 7.051 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.0008122/0.7663, allocations: 375.2 kB / 1.57 GB, free: 6.672 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001812/0.7681, allocations: 343.3 kB / 1.571 GB, free: 6.344 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002335/0.7705, allocations: 1.237 MB / 1.572 GB, free: 5.035 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005795/0.7711, allocations: 0.8867 MB / 1.573 GB, free: 4.121 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002464/0.7713, allocations: 71.41 kB / 1.573 GB, free: 4.051 MB / 1.264 GB Notification: Performance of SimCode: time 9.82e-07/0.7713, allocations: 0 / 1.573 GB, free: 4.051 MB / 1.264 GB Notification: Performance of Templates: time 0.7528/1.524, allocations: 42.28 MB / 1.614 GB, free: 267.5 MB / 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/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: 17.23543401400093]