Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.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.001761/0.001761, 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.002028/0.002028, 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.562/1.562, 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.988/2.988, allocations: 0.49 GB / 0.7923 GB, free: 1.262 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.Fluid.FixedResistances.Examples.HydraulicDiameter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|res.m_flow_nominal|res.m_flow|res.m_flow_turbulent|resLarPip.m_flow_nominal|resLarPip.m_flow|resLarPip.m_flow_turbulent|res.v|resLarPip.v|res.dh|resLarPip.dh",fileNamePrefix="Buildings_12_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter") translateModel(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|res.m_flow_nominal|res.m_flow|res.m_flow_turbulent|resLarPip.m_flow_nominal|resLarPip.m_flow|resLarPip.m_flow_turbulent|res.v|resLarPip.v|res.dh|resLarPip.dh",fileNamePrefix="Buildings_12_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter") [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.002099/0.002099, allocations: 67.91 kB / 1.15 GB, free: 14.88 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.098/1.101, allocations: 176.1 MB / 1.322 GB, free: 25.08 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.01491/1.115, allocations: 15.3 MB / 1.337 GB, free: 14.12 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.006117/1.122, allocations: 3.935 MB / 1.341 GB, free: 11.36 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007516/1.122, allocations: 30.66 kB / 1.341 GB, free: 11.34 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0008344/1.123, allocations: 193.1 kB / 1.341 GB, free: 11.23 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.003092/1.126, allocations: 0.71 MB / 1.342 GB, free: 10.83 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001895/1.128, allocations: 487.5 kB / 1.342 GB, free: 10.62 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.00199/1.13, allocations: 1.097 MB / 1.343 GB, free: 10.13 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005043/1.131, allocations: 259.4 kB / 1.343 GB, free: 10.01 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001006/1.132, allocations: 484.2 kB / 1.344 GB, free: 9.805 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003819/1.132, allocations: 266.6 kB / 1.344 GB, free: 9.691 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.935e-05/1.132, allocations: 21.03 kB / 1.344 GB, free: 9.691 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001697/1.134, allocations: 0.7367 MB / 1.345 GB, free: 9.449 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001149/1.134, allocations: 76.73 kB / 1.345 GB, free: 9.402 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0002048/1.134, allocations: 190.1 kB / 1.345 GB, free: 9.293 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001443/1.136, allocations: 0.7372 MB / 1.346 GB, free: 9.023 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/1.136, allocations: 0.7969 kB / 1.346 GB, free: 9.023 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.963e-06/1.136, allocations: 1.156 kB / 1.346 GB, free: 9.023 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.795e-06/1.136, allocations: 0 / 1.346 GB, free: 9.023 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.001223/1.137, allocations: 0.7701 MB / 1.347 GB, free: 8.395 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.515e-05/1.137, allocations: 12.64 kB / 1.347 GB, free: 8.391 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001119/1.137, allocations: 46.72 kB / 1.347 GB, free: 8.367 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001053/1.138, allocations: 0.5257 MB / 1.347 GB, free: 8.012 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.158e-05/1.138, allocations: 16.42 kB / 1.347 GB, free: 8.004 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.382e-05/1.138, allocations: 24.59 kB / 1.347 GB, free: 7.992 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004323/1.138, allocations: 182.3 kB / 1.347 GB, free: 7.91 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/1.138, allocations: 5.328 kB / 1.347 GB, free: 7.906 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.209e-05/1.138, allocations: 5.562 kB / 1.347 GB, free: 7.902 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-06/1.138, allocations: 3.438 kB / 1.347 GB, free: 7.902 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003595/1.139, allocations: 139.3 kB / 1.348 GB, free: 7.863 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001114/1.14, allocations: 0.8555 MB / 1.348 GB, free: 7.188 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002787/1.14, allocations: 117.7 kB / 1.348 GB, free: 7.133 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001619/1.14, allocations: 70.12 kB / 1.349 GB, free: 7.105 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002345/1.141, allocations: 334.4 kB / 1.349 GB, free: 6.727 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.717e-05/1.141, allocations: 36.36 kB / 1.349 GB, free: 6.684 MB / 1.061 GB Notification: Performance of pre-optimization done (n=12): time 1.322e-06/1.141, allocations: 3.938 kB / 1.349 GB, free: 6.68 MB / 1.061 GB Notification: Performance of matching and sorting (n=12): time 0.0006355/1.141, allocations: 222.9 kB / 1.349 GB, free: 6.586 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.71e-05/1.141, allocations: 53.3 kB / 1.349 GB, free: 6.523 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004078/1.142, allocations: 354.8 kB / 1.349 GB, free: 6.344 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.966e-05/1.142, allocations: 31.89 kB / 1.35 GB, free: 6.309 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001189/1.142, allocations: 200.5 kB / 1.35 GB, free: 6.141 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.858e-05/1.142, allocations: 45.12 kB / 1.35 GB, free: 6.105 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.276e-05/1.142, allocations: 33.17 kB / 1.35 GB, free: 6.082 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 8.524e-05/1.142, allocations: 341.1 kB / 1.35 GB, free: 5.758 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001719/1.142, allocations: 59.41 kB / 1.35 GB, free: 5.73 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001983/1.142, allocations: 87.62 kB / 1.35 GB, free: 5.676 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003025/1.143, allocations: 116.3 kB / 1.35 GB, free: 5.629 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/1.143, allocations: 64 / 1.35 GB, free: 5.629 MB / 1.061 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004151/1.143, allocations: 187 kB / 1.351 GB, free: 5.539 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/1.143, allocations: 9.5 kB / 1.351 GB, free: 5.535 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.032e-06/1.143, allocations: 1.719 kB / 1.351 GB, free: 5.535 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/1.143, allocations: 1.125 kB / 1.351 GB, free: 5.535 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001585/1.143, allocations: 23.58 kB / 1.351 GB, free: 5.535 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.714e-06/1.143, allocations: 2.391 kB / 1.351 GB, free: 5.535 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002043/1.144, allocations: 29.73 kB / 1.351 GB, free: 5.52 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.653e-05/1.144, allocations: 5.109 kB / 1.351 GB, free: 5.52 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002153/1.144, allocations: 159.5 kB / 1.351 GB, free: 5.41 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001693/1.144, allocations: 81.73 kB / 1.351 GB, free: 5.359 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002678/1.144, allocations: 122.6 kB / 1.351 GB, free: 5.305 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.91e-07/1.144, allocations: 0 / 1.351 GB, free: 5.305 MB / 1.061 GB Notification: Performance of matching and sorting (n=12) (initialization_lambda0): time 0.0003727/1.145, allocations: 175.7 kB / 1.351 GB, free: 5.223 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.01e-05/1.145, allocations: 5.734 kB / 1.351 GB, free: 5.223 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.253e-06/1.145, allocations: 1.125 kB / 1.351 GB, free: 5.223 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.026e-06/1.145, allocations: 5 kB / 1.351 GB, free: 5.219 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001239/1.145, allocations: 27.41 kB / 1.351 GB, free: 5.215 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/1.145, allocations: 5.547 kB / 1.351 GB, free: 5.211 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001882/1.145, allocations: 26.14 kB / 1.351 GB, free: 5.199 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.603e-05/1.145, allocations: 5 kB / 1.351 GB, free: 5.199 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (12): * Single equations (assignments): 12 * 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 7.892e-05/1.145, allocations: 184.2 kB / 1.351 GB, free: 5.016 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.986e-05/1.145, allocations: 41.14 kB / 1.351 GB, free: 4.992 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005597/1.146, allocations: 234 kB / 1.352 GB, free: 4.887 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.238e-05/1.146, allocations: 6.469 kB / 1.352 GB, free: 4.883 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/1.146, allocations: 0 / 1.352 GB, free: 4.883 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.576e-06/1.146, allocations: 2.266 kB / 1.352 GB, free: 4.883 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001015/1.147, allocations: 0.6288 MB / 1.352 GB, free: 4.441 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.027e-06/1.147, allocations: 1.156 kB / 1.352 GB, free: 4.441 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001173/1.147, allocations: 32.53 kB / 1.352 GB, free: 4.434 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.511e-06/1.147, allocations: 1.859 kB / 1.352 GB, free: 4.434 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.629e-05/1.147, allocations: 7.531 kB / 1.352 GB, free: 4.43 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.377e-06/1.147, allocations: 1.281 kB / 1.352 GB, free: 4.43 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/1.147, allocations: 5.312 kB / 1.352 GB, free: 4.426 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004559/1.147, allocations: 325.4 kB / 1.353 GB, free: 4.199 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001099/1.147, allocations: 131.9 kB / 1.353 GB, free: 4.074 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.671e-05/1.147, allocations: 3.016 kB / 1.353 GB, free: 4.074 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002117/1.148, allocations: 11.41 kB / 1.353 GB, free: 4.074 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.02e-05/1.148, allocations: 13.75 kB / 1.353 GB, free: 4.07 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.82e-05/1.148, allocations: 9.734 kB / 1.353 GB, free: 4.066 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0003045/1.148, allocations: 258.2 kB / 1.353 GB, free: 3.93 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/1.148, allocations: 96 / 1.353 GB, free: 3.93 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0007984/1.149, allocations: 199.4 kB / 1.353 GB, free: 3.879 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * 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 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.0005142/1.149, allocations: 240.2 kB / 1.353 GB, free: 3.742 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0006123/1.15, allocations: 181.2 kB / 1.354 GB, free: 3.699 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/1.15, allocations: 0 / 1.354 GB, free: 3.699 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001971/1.15, allocations: 78.33 kB / 1.354 GB, free: 3.676 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008862/1.151, allocations: 147.4 kB / 1.354 GB, free: 3.633 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009911/1.152, allocations: 0.6048 MB / 1.354 GB, free: 3.238 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002802/1.152, allocations: 0.7947 MB / 1.355 GB, free: 2.531 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.527e-05/1.152, allocations: 39.19 kB / 1.355 GB, free: 2.516 MB / 1.061 GB Notification: Performance of SimCode: time 4.8e-07/1.152, allocations: 0 / 1.355 GB, free: 2.516 MB / 1.061 GB Notification: Performance of Templates: time 0.01378/1.166, allocations: 5.975 MB / 1.361 GB, free: 1.805 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; mkfifo Buildings_12_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe >> ../files/Buildings_12_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.sim & ./Buildings_12_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_FixedResistances_Examples_HydraulicDiameter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.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.290368665009737]