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.001789/0.001789, allocations: 112.4 kB / 17.13 MB, free: 6.008 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.002389/0.002389, allocations: 211.2 kB / 20.1 MB, free: 3.055 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.535/1.535, allocations: 230.6 MB / 253.5 MB, free: 15.11 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 2.915/2.915, allocations: 0.49 GB / 0.7923 GB, free: 1.277 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.002133/0.002133, allocations: 63.91 kB / 1.15 GB, free: 14.87 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.297/1.299, allocations: 176.1 MB / 1.322 GB, free: 25.06 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing): time 0.01511/1.314, allocations: 15.56 MB / 1.337 GB, free: 13.94 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.007438/1.322, allocations: 4.653 MB / 1.342 GB, free: 10.65 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009571/1.323, allocations: 23.94 kB / 1.342 GB, free: 10.63 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.000762/1.323, allocations: 200 kB / 1.342 GB, free: 10.51 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.002003/1.325, allocations: 0.5915 MB / 1.342 GB, free: 10.16 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001967/1.327, allocations: 0.5743 MB / 1.343 GB, free: 9.879 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.001529/1.329, allocations: 0.9385 MB / 1.344 GB, free: 9.453 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000465/1.329, allocations: 277.4 kB / 1.344 GB, free: 9.324 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009717/1.33, allocations: 470.5 kB / 1.345 GB, free: 9.117 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004433/1.331, allocations: 302.3 kB / 1.345 GB, free: 8.992 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 5.172e-05/1.331, allocations: 23.5 kB / 1.345 GB, free: 8.992 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006576/1.331, allocations: 219.2 kB / 1.345 GB, free: 8.918 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001182/1.332, allocations: 86.12 kB / 1.345 GB, free: 8.867 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0002237/1.332, allocations: 204.5 kB / 1.345 GB, free: 8.746 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0008442/1.333, allocations: 0.5018 MB / 1.346 GB, free: 8.555 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/1.333, allocations: 1.562 kB / 1.346 GB, free: 8.555 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.903e-06/1.333, allocations: 0 / 1.346 GB, free: 8.555 MB / 1.061 GB Notification: Performance of Transformations before backend: time 9.528e-06/1.333, allocations: 4 kB / 1.346 GB, free: 8.551 MB / 1.061 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.001173/1.334, allocations: 0.7385 MB / 1.347 GB, free: 7.953 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.046e-05/1.334, allocations: 13.86 kB / 1.347 GB, free: 7.949 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001075/1.334, allocations: 47.56 kB / 1.347 GB, free: 7.926 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006948/1.335, allocations: 407.5 kB / 1.347 GB, free: 7.625 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.041e-05/1.335, allocations: 19.03 kB / 1.347 GB, free: 7.617 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.729e-05/1.335, allocations: 25.06 kB / 1.347 GB, free: 7.609 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003683/1.335, allocations: 195.6 kB / 1.347 GB, free: 7.52 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/1.335, allocations: 0 / 1.347 GB, free: 7.52 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.408e-05/1.335, allocations: 15.33 kB / 1.347 GB, free: 7.508 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.17e-05/1.335, allocations: 4.156 kB / 1.347 GB, free: 7.508 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002569/1.335, allocations: 131.3 kB / 1.348 GB, free: 7.465 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001526/1.337, allocations: 0.8791 MB / 1.348 GB, free: 6.859 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004743/1.337, allocations: 114.2 kB / 1.348 GB, free: 6.809 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.352e-05/1.338, allocations: 45.09 kB / 1.349 GB, free: 6.789 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002325/1.338, allocations: 334 kB / 1.349 GB, free: 6.41 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.984e-05/1.338, allocations: 36.41 kB / 1.349 GB, free: 6.367 MB / 1.061 GB Notification: Performance of pre-optimization done (n=12): time 2.074e-06/1.338, allocations: 0 / 1.349 GB, free: 6.367 MB / 1.061 GB Notification: Performance of matching and sorting (n=12): time 0.0004056/1.338, allocations: 177.5 kB / 1.349 GB, free: 6.277 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.929e-05/1.338, allocations: 53.86 kB / 1.349 GB, free: 6.215 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005741/1.339, allocations: 448.6 kB / 1.35 GB, free: 6.008 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.175e-05/1.339, allocations: 31.52 kB / 1.35 GB, free: 5.973 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001488/1.339, allocations: 213 kB / 1.35 GB, free: 5.797 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.27e-05/1.339, allocations: 40.06 kB / 1.35 GB, free: 5.766 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.939e-05/1.339, allocations: 57.08 kB / 1.35 GB, free: 5.73 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 9.954e-05/1.339, allocations: 349.1 kB / 1.35 GB, free: 5.402 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001079/1.339, allocations: 49.73 kB / 1.35 GB, free: 5.387 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001702/1.339, allocations: 111.3 kB / 1.35 GB, free: 5.312 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000239/1.34, allocations: 138.1 kB / 1.35 GB, free: 5.23 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/1.34, allocations: 1.188 kB / 1.35 GB, free: 5.23 MB / 1.061 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000399/1.34, allocations: 216.3 kB / 1.351 GB, free: 5.129 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/1.34, allocations: 5.594 kB / 1.351 GB, free: 5.129 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/1.34, allocations: 1.688 kB / 1.351 GB, free: 5.129 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.367e-05/1.34, allocations: 5.75 kB / 1.351 GB, free: 5.125 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002185/1.34, allocations: 47.64 kB / 1.351 GB, free: 5.117 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.907e-06/1.34, allocations: 2.891 kB / 1.351 GB, free: 5.117 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003293/1.341, allocations: 38.02 kB / 1.351 GB, free: 5.098 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.776e-05/1.341, allocations: 12.61 kB / 1.351 GB, free: 5.094 MB / 1.061 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.0001401/1.341, allocations: 159.6 kB / 1.351 GB, free: 4.949 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.318e-05/1.341, allocations: 37.83 kB / 1.351 GB, free: 4.93 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003749/1.341, allocations: 197.8 kB / 1.351 GB, free: 4.828 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.58e-05/1.341, allocations: 5.938 kB / 1.351 GB, free: 4.824 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/1.341, allocations: 1.094 kB / 1.351 GB, free: 4.824 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/1.341, allocations: 0.7969 kB / 1.351 GB, free: 4.824 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008625/1.342, allocations: 0.6266 MB / 1.352 GB, free: 4.363 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/1.342, allocations: 1.75 kB / 1.352 GB, free: 4.363 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001073/1.342, allocations: 21.58 kB / 1.352 GB, free: 4.363 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.961e-06/1.342, allocations: 2.984 kB / 1.352 GB, free: 4.363 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.287e-05/1.342, allocations: 2.531 kB / 1.352 GB, free: 4.363 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/1.342, allocations: 2.094 kB / 1.352 GB, free: 4.363 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.107e-06/1.342, allocations: 5.438 kB / 1.352 GB, free: 4.359 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003185/1.343, allocations: 303.4 kB / 1.352 GB, free: 4.125 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001193/1.343, allocations: 128.8 kB / 1.352 GB, free: 4.004 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.292e-05/1.343, allocations: 6.906 kB / 1.352 GB, free: 4 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002244/1.343, allocations: 10.05 kB / 1.352 GB, free: 4 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.915e-05/1.343, allocations: 16.83 kB / 1.352 GB, free: 3.992 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.548e-05/1.343, allocations: 9.094 kB / 1.352 GB, free: 3.988 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.000455/1.344, allocations: 315.9 kB / 1.353 GB, free: 3.844 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/1.344, allocations: 3.938 kB / 1.353 GB, free: 3.84 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0005409/1.344, allocations: 103.7 kB / 1.353 GB, free: 3.82 MB / 1.061 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.0003874/1.345, allocations: 203.5 kB / 1.353 GB, free: 3.695 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003167/1.345, allocations: 130 kB / 1.353 GB, free: 3.656 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/1.345, allocations: 0 / 1.353 GB, free: 3.656 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.000105/1.345, allocations: 55.14 kB / 1.353 GB, free: 3.641 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009674/1.346, allocations: 190.1 kB / 1.353 GB, free: 3.57 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001467/1.347, allocations: 0.6862 MB / 1.354 GB, free: 3.141 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002906/1.348, allocations: 0.8033 MB / 1.355 GB, free: 2.434 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.817e-05/1.348, allocations: 31.69 kB / 1.355 GB, free: 2.426 MB / 1.061 GB Notification: Performance of SimCode: time 4.81e-07/1.348, allocations: 0 / 1.355 GB, free: 2.426 MB / 1.061 GB Notification: Performance of Templates: time 0.01523/1.363, allocations: 6.266 MB / 1.361 GB, free: 1.691 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/jenkins1/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: 13.55931439899723]