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.001115/0.001115, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001531/0.002647, allocations: 449.7 kB / 10.37 MB, free: 328 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.001107/0.001107, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001391/0.002498, allocations: 459.6 kB / 11.71 MB, free: 2.457 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.8964/0.8964, allocations: 177.2 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09029/0.9867, allocations: 53.65 MB / 243.3 MB, free: 15.6 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.738/1.738, allocations: 378.2 MB / 0.6076 GB, free: 7.855 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4877/2.226, allocations: 123.3 MB / 0.728 GB, free: 5.852 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.613e-06/1.613e-06, allocations: 0 / 0.7293 GB, free: 4.57 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.399e-05/2.56e-05, allocations: 10.25 kB / 0.7293 GB, free: 4.559 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing): time 0.009857/0.009883, allocations: 7.294 MB / 0.7365 GB, free: 13.29 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.005544/0.01543, allocations: 3.082 MB / 0.7395 GB, free: 10.22 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000586/0.01601, allocations: 20.97 kB / 0.7395 GB, free: 10.2 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0004367/0.01645, allocations: 126.9 kB / 0.7396 GB, free: 10.07 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.001117/0.01757, allocations: 401.4 kB / 0.74 GB, free: 9.684 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.001971/0.01954, allocations: 0.7126 MB / 0.7407 GB, free: 8.98 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.001406/0.02094, allocations: 0.9349 MB / 0.7416 GB, free: 8.043 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004975/0.02144, allocations: 271.7 kB / 0.7419 GB, free: 7.773 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009174/0.02236, allocations: 0.5226 MB / 0.7424 GB, free: 7.25 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004576/0.02282, allocations: 247.2 kB / 0.7426 GB, free: 7.008 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 7.352e-05/0.02289, allocations: 20 kB / 0.7426 GB, free: 6.988 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003459/0.02324, allocations: 112.6 kB / 0.7427 GB, free: 6.879 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 9.546e-05/0.02333, allocations: 67.67 kB / 0.7428 GB, free: 6.812 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0001508/0.02348, allocations: 108.4 kB / 0.7429 GB, free: 6.707 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.000583/0.02407, allocations: 318.7 kB / 0.7432 GB, free: 6.395 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.435e-05/0.02409, allocations: 0.75 kB / 0.7432 GB, free: 6.395 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.503e-06/0.02409, allocations: 0 / 0.7432 GB, free: 6.395 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.335e-05/0.02411, allocations: 0.5 kB / 0.7432 GB, free: 6.395 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.001116/0.02523, allocations: 0.7153 MB / 0.7439 GB, free: 5.656 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/0.02527, allocations: 11.06 kB / 0.7439 GB, free: 5.648 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001034/0.02538, allocations: 48.89 kB / 0.744 GB, free: 5.602 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005333/0.02591, allocations: 310.6 kB / 0.7442 GB, free: 5.273 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.571e-05/0.02593, allocations: 21.91 kB / 0.7443 GB, free: 5.254 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.577e-05/0.02597, allocations: 24.38 kB / 0.7443 GB, free: 5.23 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002429/0.02621, allocations: 135 kB / 0.7444 GB, free: 5.094 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.813e-05/0.02623, allocations: 0.9375 kB / 0.7444 GB, free: 5.094 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.839e-05/0.02625, allocations: 8 kB / 0.7444 GB, free: 5.086 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.031e-05/0.02626, allocations: 10.08 kB / 0.7444 GB, free: 5.078 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.387e-05/0.02635, allocations: 47.41 kB / 0.7445 GB, free: 5.031 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009633/0.02732, allocations: 463.8 kB / 0.7449 GB, free: 4.562 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000319/0.02764, allocations: 123.1 kB / 0.745 GB, free: 4.434 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.978e-05/0.02768, allocations: 27.67 kB / 0.7451 GB, free: 4.402 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001055/0.02778, allocations: 16.58 kB / 0.7451 GB, free: 4.387 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.668e-05/0.02781, allocations: 40.06 kB / 0.7451 GB, free: 4.34 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=12): time 2.124e-06/0.02781, allocations: 0 / 0.7451 GB, free: 4.34 MB / 0.7136 GB Notification: Performance of matching and sorting (n=12): time 0.0002175/0.02803, allocations: 97.45 kB / 0.7452 GB, free: 4.238 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.774e-05/0.02807, allocations: 51.41 kB / 0.7453 GB, free: 4.176 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002988/0.02836, allocations: 340.4 kB / 0.7456 GB, free: 3.832 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.396e-05/0.02839, allocations: 29.7 kB / 0.7456 GB, free: 3.797 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001123/0.0285, allocations: 178.4 kB / 0.7458 GB, free: 3.617 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.842e-05/0.02853, allocations: 47.56 kB / 0.7458 GB, free: 3.57 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.66e-05/0.02861, allocations: 57.62 kB / 0.7459 GB, free: 3.508 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001132/0.02872, allocations: 347.4 kB / 0.7462 GB, free: 3.16 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.358e-05/0.02876, allocations: 23.56 kB / 0.7462 GB, free: 3.137 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001526/0.02891, allocations: 224.1 kB / 0.7465 GB, free: 2.863 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001248/0.02904, allocations: 89.31 kB / 0.7465 GB, free: 2.762 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.02904, allocations: 0 / 0.7465 GB, free: 2.762 MB / 0.7136 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002082/0.02925, allocations: 131.1 kB / 0.7467 GB, free: 2.625 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/0.02927, allocations: 11.94 kB / 0.7467 GB, free: 2.613 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.094e-06/0.02928, allocations: 2.562 kB / 0.7467 GB, free: 2.613 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/0.02929, allocations: 3.938 kB / 0.7467 GB, free: 2.609 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002459/0.02953, allocations: 60.03 kB / 0.7467 GB, free: 2.551 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.02954, allocations: 4 kB / 0.7467 GB, free: 2.547 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001653/0.0297, allocations: 19.88 kB / 0.7468 GB, free: 2.527 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.418e-05/0.02973, allocations: 11.94 kB / 0.7468 GB, free: 2.516 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 0.0001042/0.02983, allocations: 123 kB / 0.7469 GB, free: 2.387 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.2e-05/0.02988, allocations: 27.97 kB / 0.7469 GB, free: 2.359 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002275/0.03011, allocations: 128 kB / 0.747 GB, free: 2.227 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.407e-06/0.03012, allocations: 0 / 0.747 GB, free: 2.227 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.824e-06/0.03012, allocations: 1.219 kB / 0.747 GB, free: 2.227 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.389e-06/0.03013, allocations: 0 / 0.747 GB, free: 2.227 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005495/0.03068, allocations: 479.7 kB / 0.7475 GB, free: 1.719 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.472e-06/0.03068, allocations: 4 kB / 0.7475 GB, free: 1.715 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001274/0.03081, allocations: 34.42 kB / 0.7475 GB, free: 1.684 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.479e-05/0.03089, allocations: 43.67 kB / 0.7476 GB, free: 1.641 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.3e-06/0.03089, allocations: 4 kB / 0.7476 GB, free: 1.637 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.418e-06/0.0309, allocations: 4 kB / 0.7476 GB, free: 1.633 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.143e-06/0.03091, allocations: 14.67 kB / 0.7476 GB, free: 1.621 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.03091, allocations: 0 / 0.7476 GB, free: 1.621 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002114/0.03112, allocations: 273.4 kB / 0.7479 GB, free: 1.32 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.185e-05/0.03115, allocations: 0 / 0.7479 GB, free: 1.32 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001324/0.03129, allocations: 8 kB / 0.7479 GB, free: 1.312 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.399e-05/0.03131, allocations: 15.92 kB / 0.7479 GB, free: 1.297 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.231e-05/0.03132, allocations: 6.469 kB / 0.7479 GB, free: 1.293 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.000145/0.03147, allocations: 144.7 kB / 0.748 GB, free: 1.156 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.31e-07/0.03147, allocations: 0 / 0.748 GB, free: 1.156 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003554/0.03182, allocations: 95.77 kB / 0.7481 GB, free: 1.062 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.0002383/0.03206, allocations: 130.3 kB / 0.7482 GB, free: 0.9297 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001586/0.03222, allocations: 85.97 kB / 0.7483 GB, free: 0.8438 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 9.187e-06/0.03223, allocations: 4 kB / 0.7483 GB, free: 0.8398 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.463e-05/0.03228, allocations: 43.38 kB / 0.7484 GB, free: 0.7969 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005518/0.03284, allocations: 184.2 kB / 0.7485 GB, free: 0.6211 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003398/0.03623, allocations: 0.6587 MB / 0.7492 GB, free: 15.93 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.305e-05/0.0363, allocations: 110 kB / 0.7493 GB, free: 15.8 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001537/0.03645, allocations: 45.61 kB / 0.7493 GB, free: 15.77 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002254/0.03668, allocations: 163.1 kB / 0.7495 GB, free: 15.61 MB / 0.7292 GB Notification: Performance of SimCode: time 1.042e-06/0.03668, allocations: 0.7812 kB / 0.7495 GB, free: 15.61 MB / 0.7292 GB Notification: Performance of Templates: time 0.009156/0.04583, allocations: 6.734 MB / 0.7561 GB, free: 9.164 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,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.815189236775041]