Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.FixedResistances.Examples.PressureDrop.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.002219/0.002219, 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.003248/0.003248, allocations: 217.2 kB / 22.25 MB, free: 4.852 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.608/1.608, allocations: 230.6 MB / 256 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.937/2.937, allocations: 476 MB / 0.7699 GB, free: 4.801 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.PressureDrop,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|res.m_flow_nominal|res.m_flow",fileNamePrefix="Buildings_11_Buildings.Fluid.FixedResistances.Examples.PressureDrop") translateModel(Buildings.Fluid.FixedResistances.Examples.PressureDrop,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|res.m_flow_nominal|res.m_flow",fileNamePrefix="Buildings_11_Buildings.Fluid.FixedResistances.Examples.PressureDrop") [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.002172/0.002172, allocations: 67.69 kB / 1.117 GB, free: 41.12 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4486/0.4507, allocations: 170 MB / 1.283 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PressureDrop): time 0.2257/0.6764, allocations: 142.3 MB / 1.422 GB, free: 13.19 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.003994/0.6804, allocations: 1.594 MB / 1.424 GB, free: 11.59 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005799/0.681, allocations: 11.88 kB / 1.424 GB, free: 11.58 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0008587/0.6819, allocations: 170.8 kB / 1.424 GB, free: 11.41 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.002004/0.6839, allocations: 0.5173 MB / 1.424 GB, free: 10.89 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.001701/0.6856, allocations: 423.2 kB / 1.425 GB, free: 10.48 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.001251/0.6868, allocations: 0.5771 MB / 1.425 GB, free: 9.902 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004806/0.6873, allocations: 140.7 kB / 1.425 GB, free: 9.762 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001038/0.6883, allocations: 330.7 kB / 1.426 GB, free: 9.438 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004297/0.6888, allocations: 167.2 kB / 1.426 GB, free: 9.273 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 5.854e-05/0.6888, allocations: 16 kB / 1.426 GB, free: 9.258 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001613/0.6904, allocations: 0.565 MB / 1.426 GB, free: 8.691 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.000245/0.6907, allocations: 87.7 kB / 1.426 GB, free: 8.605 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0002488/0.6909, allocations: 95.55 kB / 1.427 GB, free: 8.512 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.001677/0.6926, allocations: 494.2 kB / 1.427 GB, free: 8.027 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 1.099e-05/0.6926, allocations: 0 / 1.427 GB, free: 8.027 MB / 1.123 GB Notification: Performance of FrontEnd: time 3.607e-06/0.6926, allocations: 0 / 1.427 GB, free: 8.027 MB / 1.123 GB Notification: Performance of Transformations before backend: time 1.833e-05/0.6926, allocations: 0 / 1.427 GB, free: 8.027 MB / 1.123 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0016/0.6942, allocations: 0.5235 MB / 1.428 GB, free: 7.473 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 6.09e-05/0.6943, allocations: 8.031 kB / 1.428 GB, free: 7.465 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005792/0.6949, allocations: 51.83 kB / 1.428 GB, free: 7.414 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008496/0.6957, allocations: 243.6 kB / 1.428 GB, free: 7.152 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.885e-05/0.6958, allocations: 12 kB / 1.428 GB, free: 7.141 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.286e-05/0.6958, allocations: 12 kB / 1.428 GB, free: 7.129 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005563/0.6964, allocations: 222.8 kB / 1.428 GB, free: 6.891 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.635e-05/0.6964, allocations: 4 kB / 1.428 GB, free: 6.887 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.518e-05/0.6964, allocations: 8 kB / 1.428 GB, free: 6.879 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.331e-05/0.6964, allocations: 4 kB / 1.428 GB, free: 6.875 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003615/0.6968, allocations: 131.8 kB / 1.428 GB, free: 6.746 MB / 1.123 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001373/0.6982, allocations: 0.6212 MB / 1.429 GB, free: 6.086 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002988/0.6985, allocations: 82.47 kB / 1.429 GB, free: 5.996 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000198/0.6987, allocations: 76.86 kB / 1.429 GB, free: 5.918 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002521/0.6989, allocations: 31.98 kB / 1.429 GB, free: 5.887 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.787e-05/0.699, allocations: 34.55 kB / 1.429 GB, free: 5.844 MB / 1.123 GB Notification: Performance of pre-optimization done (n=10): time 1.833e-06/0.699, allocations: 0 / 1.429 GB, free: 5.844 MB / 1.123 GB Notification: Performance of matching and sorting (n=10): time 0.000811/0.6998, allocations: 213.4 kB / 1.429 GB, free: 5.629 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.791e-05/0.6999, allocations: 59.34 kB / 1.429 GB, free: 5.559 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003168/0.7002, allocations: 221.1 kB / 1.43 GB, free: 5.336 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 3.854e-05/0.7002, allocations: 29.7 kB / 1.43 GB, free: 5.301 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.000165/0.7004, allocations: 148.7 kB / 1.43 GB, free: 5.152 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 5.672e-05/0.7004, allocations: 43.61 kB / 1.43 GB, free: 5.109 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.28e-05/0.7005, allocations: 29.7 kB / 1.43 GB, free: 5.074 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001859/0.7007, allocations: 330.8 kB / 1.43 GB, free: 4.742 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001403/0.7008, allocations: 60.69 kB / 1.43 GB, free: 4.68 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002595/0.7011, allocations: 217.6 kB / 1.43 GB, free: 4.418 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002859/0.7014, allocations: 123.3 kB / 1.43 GB, free: 4.285 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.796e-06/0.7014, allocations: 0 / 1.43 GB, free: 4.285 MB / 1.123 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003809/0.7018, allocations: 153.4 kB / 1.431 GB, free: 4.129 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.301e-05/0.7018, allocations: 15.95 kB / 1.431 GB, free: 4.113 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.828e-06/0.7018, allocations: 4 kB / 1.431 GB, free: 4.109 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.399e-05/0.7018, allocations: 0 / 1.431 GB, free: 4.109 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001433/0.702, allocations: 27.86 kB / 1.431 GB, free: 4.082 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.227e-06/0.702, allocations: 0 / 1.431 GB, free: 4.082 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001799/0.7021, allocations: 11.98 kB / 1.431 GB, free: 4.07 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.732e-05/0.7022, allocations: 12 kB / 1.431 GB, free: 4.059 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002242/0.7024, allocations: 140.1 kB / 1.431 GB, free: 3.918 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002546/0.7027, allocations: 233.6 kB / 1.431 GB, free: 3.641 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002848/0.7029, allocations: 115.4 kB / 1.431 GB, free: 3.516 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.568e-06/0.703, allocations: 4 kB / 1.431 GB, free: 3.512 MB / 1.123 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0003787/0.7033, allocations: 153.4 kB / 1.431 GB, free: 3.355 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.101e-05/0.7033, allocations: 4 kB / 1.431 GB, free: 3.352 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/0.7033, allocations: 4.031 kB / 1.431 GB, free: 3.348 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.657e-06/0.7034, allocations: 4 kB / 1.431 GB, free: 3.344 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001283/0.7035, allocations: 23.92 kB / 1.431 GB, free: 3.32 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.168e-06/0.7035, allocations: 7.938 kB / 1.431 GB, free: 3.312 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001656/0.7037, allocations: 15.97 kB / 1.431 GB, free: 3.297 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.623e-05/0.7037, allocations: 8.125 kB / 1.431 GB, free: 3.289 MB / 1.123 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 (10): * Single equations (assignments): 10 * 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.0001606/0.7038, allocations: 184.8 kB / 1.432 GB, free: 3.102 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.114e-05/0.7039, allocations: 23.86 kB / 1.432 GB, free: 3.078 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004195/0.7043, allocations: 159.6 kB / 1.432 GB, free: 2.914 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.101e-06/0.7043, allocations: 3.938 kB / 1.432 GB, free: 2.91 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.7043, allocations: 4.094 kB / 1.432 GB, free: 2.906 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.798e-06/0.7043, allocations: 3.938 kB / 1.432 GB, free: 2.902 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001054/0.7054, allocations: 0.5154 MB / 1.432 GB, free: 2.328 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.7054, allocations: 0 / 1.432 GB, free: 2.328 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001172/0.7055, allocations: 27.97 kB / 1.432 GB, free: 2.301 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.7055, allocations: 0 / 1.432 GB, free: 2.301 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.696e-05/0.7055, allocations: 8 kB / 1.432 GB, free: 2.293 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.972e-06/0.7055, allocations: 4 kB / 1.432 GB, free: 2.289 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.618e-06/0.7055, allocations: 3.938 kB / 1.432 GB, free: 2.285 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004757/0.706, allocations: 293.4 kB / 1.433 GB, free: 1.961 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001025/0.7061, allocations: 31.84 kB / 1.433 GB, free: 1.93 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.723e-05/0.7062, allocations: 7.984 kB / 1.433 GB, free: 1.922 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001901/0.7063, allocations: 19.92 kB / 1.433 GB, free: 1.902 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.272e-05/0.7064, allocations: 8.172 kB / 1.433 GB, free: 1.895 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.744e-05/0.7064, allocations: 11.94 kB / 1.433 GB, free: 1.883 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0001917/0.7066, allocations: 164.5 kB / 1.433 GB, free: 1.723 MB / 1.123 GB Notification: Performance of sort global known variables: time 1e-07/0.7066, allocations: 0 / 1.433 GB, free: 1.723 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.00057/0.7072, allocations: 103.7 kB / 1.433 GB, free: 1.621 MB / 1.123 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (10): * Single equations (assignments): 10 * 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 Backend phase and start with SimCode phase: time 0.0003761/0.7076, allocations: 159 kB / 1.433 GB, free: 1.453 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0005567/0.7081, allocations: 163.8 kB / 1.433 GB, free: 1.293 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 7.364e-06/0.7081, allocations: 4 kB / 1.433 GB, free: 1.289 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0001669/0.7083, allocations: 63.83 kB / 1.433 GB, free: 1.227 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006985/0.709, allocations: 89 kB / 1.433 GB, free: 1.141 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009712/0.71, allocations: 437.2 kB / 1.434 GB, free: 0.6641 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001969/0.7102, allocations: 146.2 kB / 1.434 GB, free: 0.5039 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0002184/0.7104, allocations: 62.55 kB / 1.434 GB, free: 452 kB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.937e-05/0.7104, allocations: 19.44 kB / 1.434 GB, free: 432 kB / 1.123 GB Notification: Performance of SimCode: time 4.61e-07/0.7104, allocations: 0 / 1.434 GB, free: 432 kB / 1.123 GB Notification: Performance of Templates: time 0.0113/0.7217, allocations: 4.249 MB / 1.438 GB, free: 12.28 MB / 1.139 GB " [Timeout remaining time 298] make -j1 -f Buildings_11_Buildings.Fluid.FixedResistances.Examples.PressureDrop.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; mkfifo Buildings_11_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe >> ../files/Buildings_11_Buildings.Fluid.FixedResistances.Examples.PressureDrop.sim & ./Buildings_11_Buildings.Fluid.FixedResistances.Examples.PressureDrop -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.FixedResistances.Examples.PressureDrop_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_FixedResistances_Examples_PressureDrop.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.FixedResistances.Examples.PressureDrop.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: 10.47541406750679]