Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001717/0.001717, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.002055/0.002055, allocations: 157.7 kB / 23.01 MB, free: 4.602 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.427/1.427, allocations: 177.2 MB / 203.4 MB, free: 8.957 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.9/2.9, allocations: 394.2 MB / 0.6386 GB, free: 11.95 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.002189/0.002189, allocations: 68.17 kB / 1.009 GB, free: 14.52 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9481/0.9503, allocations: 181.8 MB / 1.187 GB, free: 16.22 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PressureDrop): time 0.2004/1.151, allocations: 142.4 MB / 1.326 GB, free: 7.508 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.003041/1.154, allocations: 1.603 MB / 1.327 GB, free: 5.902 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002196/1.154, allocations: 23.75 kB / 1.327 GB, free: 5.879 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0005758/1.155, allocations: 151 kB / 1.327 GB, free: 5.73 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.001335/1.156, allocations: 0.5173 MB / 1.328 GB, free: 5.211 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.001076/1.157, allocations: 436.8 kB / 1.328 GB, free: 4.789 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0007889/1.158, allocations: 0.5656 MB / 1.329 GB, free: 4.223 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000281/1.158, allocations: 144.7 kB / 1.329 GB, free: 4.082 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001006/1.159, allocations: 0.4904 MB / 1.329 GB, free: 3.59 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002215/1.159, allocations: 147.3 kB / 1.33 GB, free: 3.445 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 3.959e-05/1.159, allocations: 16 kB / 1.33 GB, free: 3.43 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009426/1.16, allocations: 0.565 MB / 1.33 GB, free: 2.863 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0001093/1.16, allocations: 79.73 kB / 1.33 GB, free: 2.785 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0001192/1.16, allocations: 95.55 kB / 1.33 GB, free: 2.691 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.0007161/1.161, allocations: 497.9 kB / 1.331 GB, free: 2.207 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/1.161, allocations: 0 / 1.331 GB, free: 2.207 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.512e-06/1.161, allocations: 0 / 1.331 GB, free: 2.207 MB / 1.17 GB Notification: Performance of Transformations before backend: time 6.432e-06/1.161, allocations: 0 / 1.331 GB, free: 2.207 MB / 1.17 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.0008692/1.162, allocations: 0.5158 MB / 1.331 GB, free: 1.66 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.542e-05/1.162, allocations: 8.031 kB / 1.331 GB, free: 1.652 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003482/1.162, allocations: 55.78 kB / 1.331 GB, free: 1.598 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004988/1.163, allocations: 248.1 kB / 1.332 GB, free: 1.328 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.176e-05/1.163, allocations: 8 kB / 1.332 GB, free: 1.32 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.833e-05/1.163, allocations: 16 kB / 1.332 GB, free: 1.305 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004169/1.163, allocations: 225.8 kB / 1.332 GB, free: 1.062 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/1.163, allocations: 7.938 kB / 1.332 GB, free: 1.055 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.83e-05/1.163, allocations: 4 kB / 1.332 GB, free: 1.051 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/1.163, allocations: 4 kB / 1.332 GB, free: 1.047 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003305/1.164, allocations: 131.8 kB / 1.332 GB, free: 0.918 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001005/1.165, allocations: 0.6212 MB / 1.333 GB, free: 264 kB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002704/1.165, allocations: 90.45 kB / 1.333 GB, free: 164 kB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001598/1.165, allocations: 68.88 kB / 1.333 GB, free: 92 kB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002117/1.165, allocations: 35.97 kB / 1.333 GB, free: 56 kB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.537e-05/1.165, allocations: 34.56 kB / 1.333 GB, free: 12 kB / 1.17 GB Notification: Performance of pre-optimization done (n=10): time 1.423e-06/1.165, allocations: 0 / 1.333 GB, free: 12 kB / 1.17 GB Notification: Performance of matching and sorting (n=10): time 0.000718/1.166, allocations: 213.8 kB / 1.333 GB, free: 15.79 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.327e-05/1.166, allocations: 55.44 kB / 1.333 GB, free: 15.73 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002352/1.166, allocations: 233.8 kB / 1.333 GB, free: 15.49 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 3.347e-05/1.166, allocations: 29.7 kB / 1.333 GB, free: 15.45 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001125/1.167, allocations: 144.4 kB / 1.333 GB, free: 15.31 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 4.759e-05/1.167, allocations: 43.62 kB / 1.333 GB, free: 15.27 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.1e-05/1.167, allocations: 25.72 kB / 1.333 GB, free: 15.23 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001681/1.167, allocations: 334.8 kB / 1.334 GB, free: 14.9 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001362/1.167, allocations: 48.83 kB / 1.334 GB, free: 14.85 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002414/1.167, allocations: 221.6 kB / 1.334 GB, free: 14.58 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002859/1.168, allocations: 123.3 kB / 1.334 GB, free: 14.45 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/1.168, allocations: 0 / 1.334 GB, free: 14.45 MB / 1.186 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003603/1.168, allocations: 161.4 kB / 1.334 GB, free: 14.29 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/1.168, allocations: 4 kB / 1.334 GB, free: 14.28 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/1.168, allocations: 0 / 1.334 GB, free: 14.28 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.71e-05/1.168, allocations: 4 kB / 1.334 GB, free: 14.28 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001321/1.168, allocations: 27.86 kB / 1.334 GB, free: 14.25 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/1.168, allocations: 0 / 1.334 GB, free: 14.25 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001618/1.168, allocations: 11.98 kB / 1.334 GB, free: 14.24 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.645e-05/1.168, allocations: 8 kB / 1.334 GB, free: 14.23 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002115/1.168, allocations: 152.1 kB / 1.335 GB, free: 14.08 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002493/1.169, allocations: 225.6 kB / 1.335 GB, free: 13.81 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002614/1.169, allocations: 119.4 kB / 1.335 GB, free: 13.68 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.142e-06/1.169, allocations: 0 / 1.335 GB, free: 13.68 MB / 1.186 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0003298/1.169, allocations: 153.4 kB / 1.335 GB, free: 13.52 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 8.947e-06/1.169, allocations: 12.02 kB / 1.335 GB, free: 13.51 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.436e-06/1.169, allocations: 7.938 kB / 1.335 GB, free: 13.5 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.793e-06/1.169, allocations: 0 / 1.335 GB, free: 13.5 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001153/1.169, allocations: 23.92 kB / 1.335 GB, free: 13.48 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/1.169, allocations: 3.938 kB / 1.335 GB, free: 13.48 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001562/1.17, allocations: 15.98 kB / 1.335 GB, free: 13.46 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.51e-05/1.17, allocations: 7.984 kB / 1.335 GB, free: 13.45 MB / 1.186 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.000138/1.17, allocations: 184.6 kB / 1.335 GB, free: 13.27 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.651e-05/1.17, allocations: 19.86 kB / 1.335 GB, free: 13.25 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003772/1.17, allocations: 167.2 kB / 1.335 GB, free: 13.08 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/1.17, allocations: 3.938 kB / 1.335 GB, free: 13.07 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/1.17, allocations: 4 kB / 1.335 GB, free: 13.07 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/1.17, allocations: 0 / 1.335 GB, free: 13.07 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008916/1.171, allocations: 0.5269 MB / 1.336 GB, free: 12.49 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/1.171, allocations: 0 / 1.336 GB, free: 12.49 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001132/1.171, allocations: 23.98 kB / 1.336 GB, free: 12.46 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/1.171, allocations: 0 / 1.336 GB, free: 12.46 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.211e-05/1.171, allocations: 8 kB / 1.336 GB, free: 12.46 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.937e-06/1.171, allocations: 4 kB / 1.336 GB, free: 12.45 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.616e-06/1.171, allocations: 3.938 kB / 1.336 GB, free: 12.45 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004184/1.172, allocations: 297.5 kB / 1.336 GB, free: 12.12 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 7.017e-05/1.172, allocations: 27.84 kB / 1.336 GB, free: 12.09 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.468e-05/1.172, allocations: 4 kB / 1.336 GB, free: 12.09 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000186/1.172, allocations: 15.98 kB / 1.336 GB, free: 12.07 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.671e-05/1.172, allocations: 7.984 kB / 1.336 GB, free: 12.07 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.487e-05/1.172, allocations: 11.94 kB / 1.336 GB, free: 12.05 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.000164/1.172, allocations: 169.2 kB / 1.337 GB, free: 11.89 MB / 1.186 GB Notification: Performance of sort global known variables: time 8e-08/1.172, allocations: 0 / 1.337 GB, free: 11.89 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0004724/1.173, allocations: 107.7 kB / 1.337 GB, free: 11.78 MB / 1.186 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.0003629/1.173, allocations: 151.2 kB / 1.337 GB, free: 11.62 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0005389/1.174, allocations: 163.8 kB / 1.337 GB, free: 11.46 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/1.174, allocations: 4 kB / 1.337 GB, free: 11.46 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0001609/1.174, allocations: 59.84 kB / 1.337 GB, free: 11.4 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006617/1.174, allocations: 99.02 kB / 1.337 GB, free: 11.31 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007092/1.175, allocations: 437.2 kB / 1.337 GB, free: 10.83 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001503/1.175, allocations: 150.1 kB / 1.338 GB, free: 10.67 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0001709/1.175, allocations: 66.53 kB / 1.338 GB, free: 10.61 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.159e-05/1.175, allocations: 24.5 kB / 1.338 GB, free: 10.58 MB / 1.186 GB Notification: Performance of SimCode: time 3e-07/1.175, allocations: 0 / 1.338 GB, free: 10.58 MB / 1.186 GB Notification: Performance of Templates: time 0.008685/1.184, allocations: 3.949 MB / 1.342 GB, free: 6.73 MB / 1.186 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.sim & ./Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FixedResistances_Examples_PressureDrop.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 9.069524465012364]