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.0008212/0.0008212, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001134/0.001955, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0007096/0.0007096, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009492/0.001659, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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 0.9034/0.9034, allocations: 177.2 MB / 189.8 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08256/0.9859, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.743/1.743, allocations: 378.3 MB / 0.6079 GB, free: 7.691 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5662/2.309, allocations: 123.3 MB / 0.7283 GB, free: 5.719 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 0.7297 GB, free: 4.402 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.21e-05/2.39e-05, allocations: 2.312 kB / 0.7297 GB, free: 4.398 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing): time 0.009401/0.009424, allocations: 7.299 MB / 0.7368 GB, free: 13.12 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.005311/0.01474, allocations: 3.079 MB / 0.7398 GB, free: 10.06 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005019/0.01524, allocations: 23.75 kB / 0.7398 GB, free: 10.04 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.000648/0.01589, allocations: 127.7 kB / 0.7399 GB, free: 9.91 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.001011/0.0169, allocations: 398.3 kB / 0.7403 GB, free: 9.523 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.001927/0.01882, allocations: 0.7128 MB / 0.741 GB, free: 8.816 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.001266/0.02009, allocations: 0.9388 MB / 0.7419 GB, free: 7.875 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004463/0.02054, allocations: 261.8 kB / 0.7422 GB, free: 7.613 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008085/0.02134, allocations: 0.5273 MB / 0.7427 GB, free: 7.086 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003889/0.02173, allocations: 241.7 kB / 0.7429 GB, free: 6.852 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 4.954e-05/0.02178, allocations: 24 kB / 0.7429 GB, free: 6.828 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002991/0.02208, allocations: 111.8 kB / 0.7431 GB, free: 6.719 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 8.948e-05/0.02217, allocations: 67.67 kB / 0.7431 GB, free: 6.652 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0001311/0.0223, allocations: 103.8 kB / 0.7432 GB, free: 6.551 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0004854/0.02279, allocations: 322.7 kB / 0.7435 GB, free: 6.234 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.603e-05/0.0228, allocations: 7.922 kB / 0.7435 GB, free: 6.227 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.483e-06/0.0228, allocations: 3.125 kB / 0.7435 GB, free: 6.227 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.604e-05/0.02282, allocations: 0 / 0.7435 GB, free: 6.227 MB / 0.7136 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.0009866/0.02381, allocations: 0.7014 MB / 0.7442 GB, free: 5.496 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/0.02384, allocations: 12.03 kB / 0.7442 GB, free: 5.484 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.196e-05/0.02394, allocations: 54.48 kB / 0.7443 GB, free: 5.434 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004779/0.02441, allocations: 308.5 kB / 0.7446 GB, free: 5.109 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.416e-05/0.02444, allocations: 16.88 kB / 0.7446 GB, free: 5.094 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.016e-05/0.02448, allocations: 28.38 kB / 0.7446 GB, free: 5.066 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002134/0.02469, allocations: 147 kB / 0.7448 GB, free: 4.918 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.0247, allocations: 2.219 kB / 0.7448 GB, free: 4.918 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.379e-05/0.02472, allocations: 4 kB / 0.7448 GB, free: 4.914 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.05e-05/0.02473, allocations: 8 kB / 0.7448 GB, free: 4.906 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.192e-05/0.02483, allocations: 43.47 kB / 0.7448 GB, free: 4.867 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009113/0.02574, allocations: 472.6 kB / 0.7453 GB, free: 4.387 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000299/0.02604, allocations: 122.6 kB / 0.7454 GB, free: 4.258 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.868e-05/0.02608, allocations: 24.38 kB / 0.7454 GB, free: 4.23 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 8.474e-05/0.02616, allocations: 20.45 kB / 0.7454 GB, free: 4.211 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.27e-05/0.02618, allocations: 32.06 kB / 0.7455 GB, free: 4.172 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=12): time 2.013e-06/0.02619, allocations: 0 / 0.7455 GB, free: 4.172 MB / 0.7136 GB Notification: Performance of matching and sorting (n=12): time 0.0002077/0.02639, allocations: 101.8 kB / 0.7456 GB, free: 4.066 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.031e-05/0.02642, allocations: 51.41 kB / 0.7456 GB, free: 4.004 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003436/0.02677, allocations: 344.2 kB / 0.7459 GB, free: 3.656 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.966e-05/0.0268, allocations: 25.7 kB / 0.746 GB, free: 3.625 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 8.372e-05/0.02688, allocations: 182.1 kB / 0.7461 GB, free: 3.441 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.502e-05/0.02691, allocations: 47.56 kB / 0.7462 GB, free: 3.395 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.544e-05/0.02696, allocations: 54.23 kB / 0.7462 GB, free: 3.336 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.44e-05/0.02704, allocations: 346.7 kB / 0.7466 GB, free: 2.988 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.42e-05/0.02708, allocations: 19.41 kB / 0.7466 GB, free: 2.969 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001121/0.02719, allocations: 227.9 kB / 0.7468 GB, free: 2.691 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.976e-05/0.02728, allocations: 91.8 kB / 0.7469 GB, free: 2.586 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.02728, allocations: 0.625 kB / 0.7469 GB, free: 2.586 MB / 0.7136 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001517/0.02744, allocations: 132.3 kB / 0.747 GB, free: 2.449 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.02745, allocations: 4.781 kB / 0.747 GB, free: 2.445 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.02746, allocations: 0 / 0.747 GB, free: 2.445 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.213e-05/0.02747, allocations: 7.938 kB / 0.747 GB, free: 2.438 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002499/0.02772, allocations: 57.12 kB / 0.7471 GB, free: 2.383 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.246e-06/0.02772, allocations: 4.688 kB / 0.7471 GB, free: 2.379 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000123/0.02784, allocations: 21.3 kB / 0.7471 GB, free: 2.359 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.09e-05/0.02786, allocations: 11.98 kB / 0.7471 GB, free: 2.348 MB / 0.7136 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 8e-05/0.02794, allocations: 124.7 kB / 0.7472 GB, free: 2.215 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.862e-05/0.02797, allocations: 22.73 kB / 0.7472 GB, free: 2.195 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001713/0.02814, allocations: 130.8 kB / 0.7474 GB, free: 2.062 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.746e-06/0.02815, allocations: 4 kB / 0.7474 GB, free: 2.059 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.858e-06/0.02816, allocations: 3.984 kB / 0.7474 GB, free: 2.055 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.02816, allocations: 0 / 0.7474 GB, free: 2.055 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003779/0.02854, allocations: 484.7 kB / 0.7478 GB, free: 1.543 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.362e-05/0.02857, allocations: 0 / 0.7478 GB, free: 1.543 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001195/0.02869, allocations: 46.59 kB / 0.7479 GB, free: 1.5 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.977e-05/0.02875, allocations: 47.69 kB / 0.7479 GB, free: 1.453 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.02875, allocations: 0 / 0.7479 GB, free: 1.453 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.235e-06/0.02876, allocations: 8 kB / 0.7479 GB, free: 1.445 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.983e-06/0.02876, allocations: 0 / 0.7479 GB, free: 1.445 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.02877, allocations: 4 kB / 0.7479 GB, free: 1.441 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000154/0.02892, allocations: 277.5 kB / 0.7482 GB, free: 1.137 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.299e-05/0.02894, allocations: 5.969 kB / 0.7482 GB, free: 1.133 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.996e-05/0.02903, allocations: 15.92 kB / 0.7482 GB, free: 1.117 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.566e-05/0.02905, allocations: 7.984 kB / 0.7482 GB, free: 1.109 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.767e-06/0.02906, allocations: 4 kB / 0.7482 GB, free: 1.105 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 9.981e-05/0.02916, allocations: 141.9 kB / 0.7484 GB, free: 0.9727 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.02916, allocations: 0 / 0.7484 GB, free: 0.9727 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002263/0.02938, allocations: 95.75 kB / 0.7485 GB, free: 0.8789 MB / 0.7136 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.000191/0.02958, allocations: 134.9 kB / 0.7486 GB, free: 0.7422 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001167/0.02969, allocations: 85.78 kB / 0.7487 GB, free: 0.6562 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.47e-06/0.0297, allocations: 4.688 kB / 0.7487 GB, free: 0.6523 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 6.038e-05/0.02976, allocations: 57.66 kB / 0.7487 GB, free: 0.5938 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006659/0.03042, allocations: 1.087 MB / 0.7498 GB, free: 15.31 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002441/0.03287, allocations: 0.6565 MB / 0.7504 GB, free: 14.61 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.57e-05/0.03292, allocations: 104.5 kB / 0.7505 GB, free: 14.49 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001013/0.03302, allocations: 43.95 kB / 0.7506 GB, free: 14.46 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001945/0.03322, allocations: 147.9 kB / 0.7507 GB, free: 14.32 MB / 0.7292 GB Notification: Performance of SimCode: time 4.91e-07/0.03322, allocations: 0 / 0.7507 GB, free: 14.32 MB / 0.7292 GB Notification: Performance of Templates: time 0.008387/0.0416, allocations: 6.833 MB / 0.7574 GB, free: 7.773 MB / 0.7292 GB " [Timeout remaining time 300] 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing/Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.837449801154435]