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.001541/0.001541, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001992/0.001992, allocations: 220.5 kB / 23.01 MB, free: 4.609 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.669/1.669, allocations: 230.6 MB / 256.8 MB, free: 8.047 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.769/2.769, allocations: 476.7 MB / 0.7714 GB, free: 4.297 MB / 0.6231 GB " [Timeout remaining time 177] 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.002049/0.002049, allocations: 63.58 kB / 1.119 GB, free: 40.42 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3693/0.3714, allocations: 170 MB / 1.285 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PressureDrop): time 0.2094/0.5807, allocations: 165.1 MB / 1.446 GB, free: 5.566 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.003359/0.5841, allocations: 1.718 MB / 1.447 GB, free: 3.844 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003631/0.5845, allocations: 19.75 kB / 1.447 GB, free: 3.824 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0006298/0.5851, allocations: 163 kB / 1.448 GB, free: 3.664 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.00149/0.5866, allocations: 0.5382 MB / 1.448 GB, free: 3.125 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.001234/0.5878, allocations: 449.1 kB / 1.449 GB, free: 2.691 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.0009348/0.5888, allocations: 0.5771 MB / 1.449 GB, free: 2.109 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003046/0.5891, allocations: 132.7 kB / 1.449 GB, free: 1.977 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007112/0.5898, allocations: 342.7 kB / 1.45 GB, free: 1.641 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002732/0.59, allocations: 167.2 kB / 1.45 GB, free: 1.477 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 3.197e-05/0.5901, allocations: 12 kB / 1.45 GB, free: 1.465 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001283/0.5914, allocations: 0.7249 MB / 1.45 GB, free: 0.7383 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0001216/0.5915, allocations: 87.66 kB / 1.451 GB, free: 0.6523 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0001434/0.5916, allocations: 115.4 kB / 1.451 GB, free: 0.5391 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.0008069/0.5924, allocations: 0.5021 MB / 1.451 GB, free: 36 kB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.5924, allocations: 0 / 1.451 GB, free: 36 kB / 1.139 GB Notification: Performance of FrontEnd: time 1.323e-06/0.5924, allocations: 0 / 1.451 GB, free: 36 kB / 1.139 GB Notification: Performance of Transformations before backend: time 7.033e-06/0.5924, allocations: 0 / 1.451 GB, free: 36 kB / 1.139 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.0009152/0.5934, allocations: 0.5198 MB / 1.452 GB, free: 15.48 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 3.611e-05/0.5934, allocations: 12.03 kB / 1.452 GB, free: 15.47 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003518/0.5937, allocations: 55.81 kB / 1.452 GB, free: 15.41 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005258/0.5943, allocations: 247.6 kB / 1.452 GB, free: 15.15 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.554e-05/0.5943, allocations: 12 kB / 1.452 GB, free: 15.14 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.905e-05/0.5943, allocations: 12 kB / 1.452 GB, free: 15.12 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000402/0.5947, allocations: 197.1 kB / 1.452 GB, free: 14.92 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.5947, allocations: 3.938 kB / 1.452 GB, free: 14.91 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.118e-05/0.5948, allocations: 8 kB / 1.452 GB, free: 14.91 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.117e-06/0.5948, allocations: 4 kB / 1.452 GB, free: 14.9 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003185/0.5951, allocations: 127.9 kB / 1.452 GB, free: 14.78 MB / 1.154 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.001153/0.5962, allocations: 0.7488 MB / 1.453 GB, free: 13.96 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002562/0.5965, allocations: 78.53 kB / 1.453 GB, free: 13.88 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001663/0.5967, allocations: 72.86 kB / 1.453 GB, free: 13.8 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002199/0.5969, allocations: 39.91 kB / 1.453 GB, free: 13.77 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.024e-05/0.5969, allocations: 38.56 kB / 1.453 GB, free: 13.72 MB / 1.154 GB Notification: Performance of pre-optimization done (n=10): time 1.203e-06/0.5969, allocations: 0 / 1.453 GB, free: 13.72 MB / 1.154 GB Notification: Performance of matching and sorting (n=10): time 0.0007542/0.5977, allocations: 217.3 kB / 1.453 GB, free: 13.5 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.889e-05/0.5977, allocations: 51.41 kB / 1.454 GB, free: 13.44 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003053/0.598, allocations: 276.2 kB / 1.454 GB, free: 13.16 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 2.852e-05/0.598, allocations: 29.7 kB / 1.454 GB, free: 13.12 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001181/0.5982, allocations: 144 kB / 1.454 GB, free: 12.98 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 4.271e-05/0.5982, allocations: 35.69 kB / 1.454 GB, free: 12.95 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.999e-05/0.5983, allocations: 29.72 kB / 1.454 GB, free: 12.91 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001616/0.5984, allocations: 334.8 kB / 1.454 GB, free: 12.57 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001375/0.5986, allocations: 44.81 kB / 1.454 GB, free: 12.53 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001873/0.5987, allocations: 105.4 kB / 1.454 GB, free: 12.41 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002671/0.599, allocations: 119.3 kB / 1.455 GB, free: 12.28 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.599, allocations: 0 / 1.455 GB, free: 12.28 MB / 1.154 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003554/0.5994, allocations: 161.4 kB / 1.455 GB, free: 12.11 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.5994, allocations: 4 kB / 1.455 GB, free: 12.11 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.5994, allocations: 0 / 1.455 GB, free: 12.11 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.178e-05/0.5994, allocations: 7.938 kB / 1.455 GB, free: 12.1 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001272/0.5995, allocations: 19.98 kB / 1.455 GB, free: 12.08 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.888e-06/0.5995, allocations: 3.984 kB / 1.455 GB, free: 12.08 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001792/0.5997, allocations: 27.91 kB / 1.455 GB, free: 12.05 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.405e-05/0.5998, allocations: 8 kB / 1.455 GB, free: 12.04 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000208/0.6, allocations: 144.1 kB / 1.455 GB, free: 11.9 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001586/0.6001, allocations: 89.05 kB / 1.455 GB, free: 11.79 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002458/0.6004, allocations: 123.3 kB / 1.455 GB, free: 11.66 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.12e-07/0.6004, allocations: 0 / 1.455 GB, free: 11.66 MB / 1.154 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0003408/0.6007, allocations: 165.6 kB / 1.455 GB, free: 11.49 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 7.604e-06/0.6007, allocations: 4 kB / 1.455 GB, free: 11.49 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.527e-06/0.6007, allocations: 4 kB / 1.455 GB, free: 11.48 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.174e-06/0.6007, allocations: 0 / 1.455 GB, free: 11.48 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001179/0.6008, allocations: 31.89 kB / 1.455 GB, free: 11.45 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.144e-06/0.6008, allocations: 0 / 1.455 GB, free: 11.45 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001627/0.601, allocations: 19.94 kB / 1.455 GB, free: 11.43 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.544e-05/0.601, allocations: 8 kB / 1.455 GB, free: 11.43 MB / 1.154 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.0001224/0.6011, allocations: 184.3 kB / 1.456 GB, free: 11.24 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.079e-05/0.6012, allocations: 23.84 kB / 1.456 GB, free: 11.21 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004016/0.6016, allocations: 171.2 kB / 1.456 GB, free: 11.04 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.6016, allocations: 0 / 1.456 GB, free: 11.04 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.6016, allocations: 0 / 1.456 GB, free: 11.04 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.6016, allocations: 3.938 kB / 1.456 GB, free: 11.04 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009682/0.6026, allocations: 0.5583 MB / 1.456 GB, free: 10.41 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.502e-06/0.6026, allocations: 8 kB / 1.456 GB, free: 10.4 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000116/0.6027, allocations: 27.92 kB / 1.456 GB, free: 10.37 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.22e-06/0.6027, allocations: 4 kB / 1.456 GB, free: 10.37 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.789e-06/0.6027, allocations: 0 / 1.456 GB, free: 10.37 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.6027, allocations: 7.938 kB / 1.456 GB, free: 10.36 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.6027, allocations: 4.219 kB / 1.456 GB, free: 10.36 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004236/0.6031, allocations: 309.1 kB / 1.457 GB, free: 10.02 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 9.05e-05/0.6032, allocations: 35.84 kB / 1.457 GB, free: 9.98 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.507e-05/0.6033, allocations: 4 kB / 1.457 GB, free: 9.977 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001879/0.6035, allocations: 11.98 kB / 1.457 GB, free: 9.965 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.724e-05/0.6035, allocations: 15.92 kB / 1.457 GB, free: 9.949 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.059e-05/0.6035, allocations: 8 kB / 1.457 GB, free: 9.941 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0002121/0.6037, allocations: 199.1 kB / 1.457 GB, free: 9.746 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.01e-07/0.6037, allocations: 4 kB / 1.457 GB, free: 9.742 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0004783/0.6042, allocations: 91.83 kB / 1.457 GB, free: 9.652 MB / 1.154 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.0002795/0.6045, allocations: 151.1 kB / 1.457 GB, free: 9.496 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0004854/0.605, allocations: 160.4 kB / 1.457 GB, free: 9.34 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.605, allocations: 0 / 1.457 GB, free: 9.34 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0001533/0.6051, allocations: 68.03 kB / 1.457 GB, free: 9.273 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000739/0.6059, allocations: 119.8 kB / 1.457 GB, free: 9.16 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007898/0.6067, allocations: 474.8 kB / 1.458 GB, free: 8.645 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004047/0.6071, allocations: 0.7519 MB / 1.459 GB, free: 7.867 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.879e-05/0.6071, allocations: 19.44 kB / 1.459 GB, free: 7.848 MB / 1.154 GB Notification: Performance of SimCode: time 2.91e-07/0.6071, allocations: 0 / 1.459 GB, free: 7.848 MB / 1.154 GB Notification: Performance of Templates: time 0.006827/0.6139, allocations: 3.725 MB / 1.462 GB, free: 4.156 MB / 1.154 GB " [Timeout remaining time 299] 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/jenkins1/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: 13.04623099899618]