Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.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.002022/0.002022, allocations: 104.7 kB / 16.45 MB, free: 6.449 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.00265/0.00265, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.623/1.623, allocations: 230.6 MB / 252.8 MB, free: 9.137 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.402/3.402, allocations: 0.4899 GB / 0.7915 GB, free: 33.39 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.Combined.Subsystems.Validation.ValveOpeningFlowBalancing,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y1|y2",fileNamePrefix="Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing") translateModel(Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y1|y2",fileNamePrefix="Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing") [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.002719/0.002719, allocations: 69.58 kB / 1.149 GB, free: 26.16 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5153/0.5181, allocations: 176.1 MB / 1.321 GB, free: 2.848 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing): time 0.01958/0.5376, allocations: 15.56 MB / 1.336 GB, free: 3.223 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.007896/0.5455, allocations: 4.655 MB / 1.341 GB, free: 14.56 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006787/0.5462, allocations: 23.75 kB / 1.341 GB, free: 14.54 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0006866/0.5469, allocations: 194.6 kB / 1.341 GB, free: 14.34 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.001633/0.5485, allocations: 0.5924 MB / 1.342 GB, free: 13.75 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.002292/0.5508, allocations: 0.572 MB / 1.342 GB, free: 13.18 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.002021/0.5528, allocations: 0.947 MB / 1.343 GB, free: 12.23 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005818/0.5534, allocations: 267.8 kB / 1.344 GB, free: 11.96 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001138/0.5546, allocations: 478.1 kB / 1.344 GB, free: 11.49 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005457/0.5551, allocations: 294.7 kB / 1.344 GB, free: 11.2 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 5.355e-05/0.5552, allocations: 24 kB / 1.344 GB, free: 11.18 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007283/0.5559, allocations: 223.6 kB / 1.344 GB, free: 10.96 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001359/0.556, allocations: 87.55 kB / 1.345 GB, free: 10.87 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0002795/0.5563, allocations: 210.8 kB / 1.345 GB, free: 10.66 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.00103/0.5573, allocations: 0.4979 MB / 1.345 GB, free: 10.16 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 8.246e-06/0.5573, allocations: 0 / 1.345 GB, free: 10.16 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.845e-06/0.5573, allocations: 0 / 1.345 GB, free: 10.16 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.086e-05/0.5574, allocations: 0 / 1.345 GB, free: 10.16 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.001535/0.5589, allocations: 0.7354 MB / 1.346 GB, free: 9.379 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.407e-05/0.5589, allocations: 11.98 kB / 1.346 GB, free: 9.367 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001254/0.5591, allocations: 48.66 kB / 1.346 GB, free: 9.32 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008852/0.56, allocations: 414.3 kB / 1.346 GB, free: 8.879 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.838e-05/0.56, allocations: 24.56 kB / 1.346 GB, free: 8.855 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.637e-05/0.56, allocations: 24 kB / 1.346 GB, free: 8.832 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004086/0.5604, allocations: 195.3 kB / 1.347 GB, free: 8.633 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.5604, allocations: 0 / 1.347 GB, free: 8.633 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.567e-05/0.5605, allocations: 7.984 kB / 1.347 GB, free: 8.625 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.163e-05/0.5605, allocations: 8 kB / 1.347 GB, free: 8.617 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002573/0.5607, allocations: 125.7 kB / 1.347 GB, free: 8.492 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00169/0.5624, allocations: 0.8832 MB / 1.348 GB, free: 7.535 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005007/0.5629, allocations: 114.6 kB / 1.348 GB, free: 7.414 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.812e-05/0.563, allocations: 40.84 kB / 1.348 GB, free: 7.371 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003615/0.5634, allocations: 336.4 kB / 1.348 GB, free: 6.969 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.428e-05/0.5634, allocations: 30.56 kB / 1.348 GB, free: 6.93 MB / 1.045 GB Notification: Performance of pre-optimization done (n=12): time 1.703e-06/0.5634, allocations: 3.938 kB / 1.348 GB, free: 6.926 MB / 1.045 GB Notification: Performance of matching and sorting (n=12): time 0.0004368/0.5639, allocations: 181.2 kB / 1.348 GB, free: 6.742 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.238e-05/0.5639, allocations: 55.41 kB / 1.348 GB, free: 6.676 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006015/0.5645, allocations: 449.9 kB / 1.349 GB, free: 6.23 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.634e-05/0.5645, allocations: 25.7 kB / 1.349 GB, free: 6.199 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001984/0.5647, allocations: 220.4 kB / 1.349 GB, free: 5.98 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.87e-05/0.5648, allocations: 35.69 kB / 1.349 GB, free: 5.945 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001109/0.5649, allocations: 57.64 kB / 1.349 GB, free: 5.883 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0002041/0.5651, allocations: 354.8 kB / 1.349 GB, free: 5.527 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001019/0.5652, allocations: 47.97 kB / 1.35 GB, free: 5.48 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001832/0.5654, allocations: 113.1 kB / 1.35 GB, free: 5.352 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002103/0.5656, allocations: 127.3 kB / 1.35 GB, free: 5.215 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.5656, allocations: 3.938 kB / 1.35 GB, free: 5.211 MB / 1.045 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003969/0.566, allocations: 221.3 kB / 1.35 GB, free: 4.988 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.566, allocations: 4 kB / 1.35 GB, free: 4.984 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.566, allocations: 0 / 1.35 GB, free: 4.984 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.915e-05/0.566, allocations: 8 kB / 1.35 GB, free: 4.977 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000215/0.5662, allocations: 43.97 kB / 1.35 GB, free: 4.934 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.264e-06/0.5662, allocations: 7.938 kB / 1.35 GB, free: 4.926 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002972/0.5665, allocations: 35.72 kB / 1.35 GB, free: 4.891 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.981e-05/0.5666, allocations: 23.98 kB / 1.35 GB, free: 4.867 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (24): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002033/0.5668, allocations: 153.8 kB / 1.35 GB, free: 4.707 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.473e-05/0.5669, allocations: 35.77 kB / 1.35 GB, free: 4.672 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003927/0.5673, allocations: 200.7 kB / 1.35 GB, free: 4.469 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.765e-06/0.5673, allocations: 0 / 1.35 GB, free: 4.469 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.5673, allocations: 0 / 1.35 GB, free: 4.469 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.5673, allocations: 0 / 1.35 GB, free: 4.469 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009155/0.5682, allocations: 0.6186 MB / 1.351 GB, free: 3.781 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.5682, allocations: 4.125 kB / 1.351 GB, free: 3.777 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001145/0.5683, allocations: 27.92 kB / 1.351 GB, free: 3.75 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.5683, allocations: 0 / 1.351 GB, free: 3.75 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.365e-05/0.5683, allocations: 8.094 kB / 1.351 GB, free: 3.742 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.759e-06/0.5683, allocations: 4 kB / 1.351 GB, free: 3.738 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/0.5683, allocations: 3.938 kB / 1.351 GB, free: 3.734 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004012/0.5687, allocations: 298.6 kB / 1.351 GB, free: 3.414 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001701/0.5689, allocations: 132.8 kB / 1.352 GB, free: 3.266 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.243e-05/0.569, allocations: 4 kB / 1.352 GB, free: 3.262 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002256/0.5692, allocations: 11.98 kB / 1.352 GB, free: 3.25 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.95e-05/0.5692, allocations: 11.92 kB / 1.352 GB, free: 3.238 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.27e-05/0.5692, allocations: 8 kB / 1.352 GB, free: 3.23 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0004571/0.5697, allocations: 327 kB / 1.352 GB, free: 2.91 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.5697, allocations: 0 / 1.352 GB, free: 2.91 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0004858/0.5702, allocations: 107.8 kB / 1.352 GB, free: 2.805 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004349/0.5706, allocations: 196 kB / 1.352 GB, free: 2.609 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0003084/0.5709, allocations: 123.9 kB / 1.352 GB, free: 2.488 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.5709, allocations: 4.562 kB / 1.352 GB, free: 2.484 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001159/0.571, allocations: 63.84 kB / 1.352 GB, free: 2.422 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009669/0.572, allocations: 172.5 kB / 1.353 GB, free: 2.254 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001505/0.5735, allocations: 0.6573 MB / 1.353 GB, free: 1.555 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005289/0.574, allocations: 0.8035 MB / 1.354 GB, free: 0.7227 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0002408/0.5743, allocations: 66.88 kB / 1.354 GB, free: 0.6641 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.144e-05/0.5743, allocations: 31.44 kB / 1.354 GB, free: 0.6328 MB / 1.045 GB Notification: Performance of SimCode: time 4.01e-07/0.5743, allocations: 0 / 1.354 GB, free: 0.6328 MB / 1.045 GB Notification: Performance of Templates: time 0.01564/0.59, allocations: 7.142 MB / 1.361 GB, free: 9.621 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.makefile [Timeout 300] (rm -f Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe ; mkfifo Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe ; head -c 1048576 < Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe >> ../files/Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.sim & ./Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_DHC_Plants_Combined_Subsystems_Validation_ValveOpeningFlowBalancing.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.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: 10.166810126043856]