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.0017/0.0017, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002143/0.002143, allocations: 213.7 kB / 22.24 MB, free: 4.855 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.571/1.571, allocations: 230.6 MB / 256 MB, free: 8.059 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.443/3.443, allocations: 0.4892 GB / 0.7943 GB, free: 35.58 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.002403/0.002403, allocations: 68.95 kB / 1.154 GB, free: 25.6 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.444/0.4464, allocations: 176.1 MB / 1.326 GB, free: 1.906 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing): time 0.02003/0.4665, allocations: 14.35 MB / 1.34 GB, free: 3.504 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.007713/0.4742, allocations: 4.278 MB / 1.344 GB, free: 15.21 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006057/0.4748, allocations: 23.75 kB / 1.344 GB, free: 15.19 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0007334/0.4755, allocations: 186.6 kB / 1.344 GB, free: 15.01 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.001818/0.4773, allocations: 0.5996 MB / 1.345 GB, free: 14.41 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001706/0.4791, allocations: 0.568 MB / 1.345 GB, free: 13.84 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.001429/0.4805, allocations: 0.9469 MB / 1.346 GB, free: 12.89 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004692/0.4809, allocations: 256.4 kB / 1.346 GB, free: 12.63 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000948/0.4819, allocations: 482.1 kB / 1.347 GB, free: 12.16 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004786/0.4824, allocations: 298.6 kB / 1.347 GB, free: 11.86 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 6.146e-05/0.4824, allocations: 24 kB / 1.347 GB, free: 11.84 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005182/0.483, allocations: 187.6 kB / 1.347 GB, free: 11.66 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001225/0.4831, allocations: 83.61 kB / 1.347 GB, free: 11.57 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0002038/0.4833, allocations: 167.1 kB / 1.347 GB, free: 11.41 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.000756/0.484, allocations: 0.4979 MB / 1.348 GB, free: 10.91 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.484, allocations: 0 / 1.348 GB, free: 10.91 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.503e-06/0.484, allocations: 0 / 1.348 GB, free: 10.91 MB / 1.045 GB Notification: Performance of Transformations before backend: time 8.526e-06/0.4841, allocations: 0 / 1.348 GB, free: 10.91 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.001261/0.4853, allocations: 0.6616 MB / 1.349 GB, free: 10.22 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.31e-05/0.4854, allocations: 8.031 kB / 1.349 GB, free: 10.21 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001098/0.4855, allocations: 48.66 kB / 1.349 GB, free: 10.16 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007968/0.4863, allocations: 339.2 kB / 1.349 GB, free: 9.809 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.004e-05/0.4863, allocations: 24.56 kB / 1.349 GB, free: 9.785 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.534e-05/0.4863, allocations: 27.98 kB / 1.349 GB, free: 9.758 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004003/0.4867, allocations: 195.2 kB / 1.349 GB, free: 9.559 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.4868, allocations: 0 / 1.349 GB, free: 9.559 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.25e-05/0.4868, allocations: 8 kB / 1.349 GB, free: 9.551 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.267e-05/0.4868, allocations: 12 kB / 1.349 GB, free: 9.539 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003421/0.4871, allocations: 129.7 kB / 1.349 GB, free: 9.41 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001677/0.4888, allocations: 0.6278 MB / 1.35 GB, free: 8.754 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005019/0.4893, allocations: 114.5 kB / 1.35 GB, free: 8.633 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.668e-05/0.4894, allocations: 44.84 kB / 1.35 GB, free: 8.586 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001479/0.4895, allocations: 27.97 kB / 1.35 GB, free: 8.559 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.198e-05/0.4896, allocations: 42.5 kB / 1.35 GB, free: 8.508 MB / 1.045 GB Notification: Performance of pre-optimization done (n=12): time 1.533e-06/0.4896, allocations: 0 / 1.35 GB, free: 8.508 MB / 1.045 GB Notification: Performance of matching and sorting (n=12): time 0.0004093/0.49, allocations: 169.7 kB / 1.35 GB, free: 8.336 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.313e-05/0.4901, allocations: 51.41 kB / 1.35 GB, free: 8.273 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000492/0.4905, allocations: 385.6 kB / 1.351 GB, free: 7.887 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.029e-05/0.4906, allocations: 29.7 kB / 1.351 GB, free: 7.852 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001964/0.4908, allocations: 224.6 kB / 1.351 GB, free: 7.629 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 4.68e-05/0.4908, allocations: 47.56 kB / 1.351 GB, free: 7.582 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.792e-05/0.4909, allocations: 53.7 kB / 1.351 GB, free: 7.523 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001841/0.4911, allocations: 342.8 kB / 1.351 GB, free: 7.18 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001059/0.4912, allocations: 47.97 kB / 1.351 GB, free: 7.133 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002836/0.4915, allocations: 269.1 kB / 1.352 GB, free: 6.816 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000215/0.4917, allocations: 127.3 kB / 1.352 GB, free: 6.68 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.528e-06/0.4917, allocations: 4 kB / 1.352 GB, free: 6.676 MB / 1.045 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003859/0.4921, allocations: 225.1 kB / 1.352 GB, free: 6.449 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.019e-05/0.4921, allocations: 8 kB / 1.352 GB, free: 6.441 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.4921, allocations: 0 / 1.352 GB, free: 6.441 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.962e-05/0.4921, allocations: 4 kB / 1.352 GB, free: 6.438 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002271/0.4924, allocations: 47.91 kB / 1.352 GB, free: 6.391 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.177e-06/0.4924, allocations: 4 kB / 1.352 GB, free: 6.387 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002719/0.4927, allocations: 23.88 kB / 1.352 GB, free: 6.363 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.917e-05/0.4927, allocations: 12 kB / 1.352 GB, free: 6.352 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.0001882/0.4929, allocations: 161.7 kB / 1.352 GB, free: 6.184 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.608e-05/0.4929, allocations: 31.77 kB / 1.352 GB, free: 6.152 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000372/0.4933, allocations: 198.2 kB / 1.352 GB, free: 5.957 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.504e-06/0.4933, allocations: 0 / 1.352 GB, free: 5.957 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.4933, allocations: 0 / 1.352 GB, free: 5.957 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.4933, allocations: 0 / 1.352 GB, free: 5.957 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008383/0.4942, allocations: 0.5519 MB / 1.353 GB, free: 5.355 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.212e-06/0.4942, allocations: 4 kB / 1.353 GB, free: 5.352 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001073/0.4943, allocations: 16 kB / 1.353 GB, free: 5.336 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.612e-06/0.4943, allocations: 7.984 kB / 1.353 GB, free: 5.328 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.264e-05/0.4943, allocations: 4.062 kB / 1.353 GB, free: 5.324 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.128e-06/0.4943, allocations: 4 kB / 1.353 GB, free: 5.32 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.4943, allocations: 0 / 1.353 GB, free: 5.32 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003984/0.4947, allocations: 302.5 kB / 1.353 GB, free: 4.996 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001154/0.4948, allocations: 47.73 kB / 1.353 GB, free: 4.949 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.688e-05/0.4949, allocations: 8 kB / 1.353 GB, free: 4.941 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002076/0.4951, allocations: 12.08 kB / 1.353 GB, free: 4.93 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.987e-05/0.4951, allocations: 11.92 kB / 1.353 GB, free: 4.918 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.283e-05/0.4951, allocations: 11.98 kB / 1.353 GB, free: 4.906 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0003602/0.4955, allocations: 263.2 kB / 1.354 GB, free: 4.652 MB / 1.045 GB Notification: Performance of sort global known variables: time 1e-07/0.4955, allocations: 3.938 kB / 1.354 GB, free: 4.648 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0005269/0.496, allocations: 111.8 kB / 1.354 GB, free: 4.539 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.000368/0.4964, allocations: 196 kB / 1.354 GB, free: 4.336 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0003244/0.4967, allocations: 128.2 kB / 1.354 GB, free: 4.211 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.4967, allocations: 192 / 1.354 GB, free: 4.211 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001095/0.4968, allocations: 63.86 kB / 1.354 GB, free: 4.148 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008815/0.4977, allocations: 135.3 kB / 1.354 GB, free: 4.02 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001432/0.4991, allocations: 0.6635 MB / 1.355 GB, free: 3.316 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002261/0.4994, allocations: 207 kB / 1.355 GB, free: 3.09 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0002068/0.4996, allocations: 58.12 kB / 1.355 GB, free: 3.039 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.569e-05/0.4996, allocations: 31.42 kB / 1.355 GB, free: 3.008 MB / 1.045 GB Notification: Performance of SimCode: time 5.21e-07/0.4996, allocations: 0 / 1.355 GB, free: 3.008 MB / 1.045 GB Notification: Performance of Templates: time 0.01543/0.5151, allocations: 7.055 MB / 1.362 GB, free: 12.14 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: 9.981890985742211]