Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001828/0.001828, allocations: 114.1 kB / 17.13 MB, free: 5.926 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.002051/0.002051, allocations: 205.5 kB / 20.09 MB, free: 2.977 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.532/1.532, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.009/3.009, allocations: 0.49 GB / 0.7923 GB, free: 1.523 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.PressureDrop,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|res.m_flow_nominal|res.m_flow",fileNamePrefix="Buildings_12_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_12_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.002689/0.002689, allocations: 75.84 kB / 1.15 GB, free: 14 MB / 0.8887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.128/1.131, allocations: 176.1 MB / 1.322 GB, free: 7.645 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PressureDrop): time 0.2236/1.354, allocations: 164.9 MB / 1.483 GB, free: 0.6523 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.003504/1.358, allocations: 1.708 MB / 1.485 GB, free: 14.94 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004288/1.358, allocations: 19.88 kB / 1.485 GB, free: 14.92 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0006506/1.359, allocations: 162.9 kB / 1.485 GB, free: 14.76 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.001529/1.36, allocations: 0.5383 MB / 1.485 GB, free: 14.22 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.001258/1.362, allocations: 411.5 kB / 1.486 GB, free: 13.82 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.000921/1.363, allocations: 0.5732 MB / 1.486 GB, free: 13.25 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003173/1.363, allocations: 153.1 kB / 1.486 GB, free: 13.1 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001221/1.364, allocations: 478.3 kB / 1.487 GB, free: 12.63 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002532/1.364, allocations: 163.2 kB / 1.487 GB, free: 12.47 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 3.328e-05/1.364, allocations: 12 kB / 1.487 GB, free: 12.46 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001329/1.366, allocations: 0.7093 MB / 1.488 GB, free: 11.75 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0001171/1.366, allocations: 79.73 kB / 1.488 GB, free: 11.67 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.000156/1.366, allocations: 123.3 kB / 1.488 GB, free: 11.55 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.000876/1.367, allocations: 0.497 MB / 1.488 GB, free: 11.05 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/1.367, allocations: 7.938 kB / 1.488 GB, free: 11.04 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.343e-06/1.367, allocations: 0 / 1.488 GB, free: 11.04 MB / 1.17 GB Notification: Performance of Transformations before backend: time 7.133e-06/1.367, allocations: 0 / 1.488 GB, free: 11.04 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.0009471/1.368, allocations: 0.5872 MB / 1.489 GB, free: 10.41 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.488e-05/1.368, allocations: 19.97 kB / 1.489 GB, free: 10.39 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003806/1.368, allocations: 55.78 kB / 1.489 GB, free: 10.33 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005098/1.369, allocations: 306.4 kB / 1.489 GB, free: 9.996 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.234e-05/1.369, allocations: 8 kB / 1.489 GB, free: 9.988 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.092e-05/1.369, allocations: 16 kB / 1.489 GB, free: 9.973 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004188/1.369, allocations: 200.6 kB / 1.49 GB, free: 9.762 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.365e-06/1.369, allocations: 0 / 1.49 GB, free: 9.762 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.069e-05/1.369, allocations: 4 kB / 1.49 GB, free: 9.758 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.997e-06/1.369, allocations: 4 kB / 1.49 GB, free: 9.754 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003372/1.37, allocations: 131.8 kB / 1.49 GB, free: 9.625 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001146/1.371, allocations: 0.7926 MB / 1.491 GB, free: 8.762 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002633/1.371, allocations: 78.53 kB / 1.491 GB, free: 8.676 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000184/1.371, allocations: 72.88 kB / 1.491 GB, free: 8.602 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003251/1.372, allocations: 190.2 kB / 1.491 GB, free: 8.379 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.723e-05/1.372, allocations: 34.5 kB / 1.491 GB, free: 8.336 MB / 1.17 GB Notification: Performance of pre-optimization done (n=10): time 1.392e-06/1.372, allocations: 0 / 1.491 GB, free: 8.336 MB / 1.17 GB Notification: Performance of matching and sorting (n=10): time 0.0007701/1.372, allocations: 229.2 kB / 1.491 GB, free: 8.105 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.268e-05/1.372, allocations: 55.41 kB / 1.491 GB, free: 8.039 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003036/1.373, allocations: 267 kB / 1.491 GB, free: 7.77 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 2.881e-05/1.373, allocations: 29.7 kB / 1.491 GB, free: 7.734 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001274/1.373, allocations: 148 kB / 1.492 GB, free: 7.586 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 4.151e-05/1.373, allocations: 35.69 kB / 1.492 GB, free: 7.551 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.657e-05/1.373, allocations: 29.72 kB / 1.492 GB, free: 7.516 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001796/1.373, allocations: 338.8 kB / 1.492 GB, free: 7.176 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001435/1.373, allocations: 44.83 kB / 1.492 GB, free: 7.129 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001854/1.373, allocations: 93.16 kB / 1.492 GB, free: 7.02 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002973/1.374, allocations: 123.3 kB / 1.492 GB, free: 6.887 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/1.374, allocations: 0 / 1.492 GB, free: 6.887 MB / 1.17 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003787/1.374, allocations: 161.3 kB / 1.492 GB, free: 6.723 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/1.374, allocations: 4 kB / 1.492 GB, free: 6.719 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.239e-06/1.374, allocations: 0 / 1.492 GB, free: 6.719 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.093e-05/1.374, allocations: 11.97 kB / 1.492 GB, free: 6.707 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001351/1.374, allocations: 24.12 kB / 1.492 GB, free: 6.684 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/1.374, allocations: 0 / 1.492 GB, free: 6.684 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001885/1.375, allocations: 27.86 kB / 1.492 GB, free: 6.656 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.765e-05/1.375, allocations: 7.984 kB / 1.492 GB, free: 6.648 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002109/1.375, allocations: 144.1 kB / 1.493 GB, free: 6.504 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001914/1.375, allocations: 97.03 kB / 1.493 GB, free: 6.391 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002752/1.375, allocations: 123.3 kB / 1.493 GB, free: 6.258 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.062e-06/1.375, allocations: 0 / 1.493 GB, free: 6.258 MB / 1.17 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.000353/1.376, allocations: 157.4 kB / 1.493 GB, free: 6.098 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.042e-05/1.376, allocations: 4 kB / 1.493 GB, free: 6.094 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.436e-06/1.376, allocations: 4.75 kB / 1.493 GB, free: 6.09 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.435e-06/1.376, allocations: 0 / 1.493 GB, free: 6.09 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001415/1.376, allocations: 23.92 kB / 1.493 GB, free: 6.066 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.094e-06/1.376, allocations: 3.938 kB / 1.493 GB, free: 6.062 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001836/1.376, allocations: 23.92 kB / 1.493 GB, free: 6.039 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.412e-05/1.376, allocations: 4 kB / 1.493 GB, free: 6.035 MB / 1.17 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.0001269/1.376, allocations: 192.3 kB / 1.493 GB, free: 5.84 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.414e-05/1.376, allocations: 23.86 kB / 1.493 GB, free: 5.816 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000421/1.377, allocations: 167.2 kB / 1.493 GB, free: 5.645 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/1.377, allocations: 0 / 1.493 GB, free: 5.645 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/1.377, allocations: 0 / 1.493 GB, free: 5.645 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/1.377, allocations: 3.984 kB / 1.493 GB, free: 5.641 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001022/1.378, allocations: 0.5898 MB / 1.494 GB, free: 4.973 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.671e-06/1.378, allocations: 4.219 kB / 1.494 GB, free: 4.969 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001175/1.378, allocations: 27.92 kB / 1.494 GB, free: 4.941 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/1.378, allocations: 4 kB / 1.494 GB, free: 4.938 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.357e-05/1.378, allocations: 4 kB / 1.494 GB, free: 4.934 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/1.378, allocations: 0 / 1.494 GB, free: 4.934 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.242e-06/1.378, allocations: 7.984 kB / 1.494 GB, free: 4.926 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004427/1.378, allocations: 293.4 kB / 1.494 GB, free: 4.602 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001144/1.378, allocations: 116.9 kB / 1.494 GB, free: 4.469 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.473e-05/1.378, allocations: 8.047 kB / 1.494 GB, free: 4.461 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001989/1.379, allocations: 19.98 kB / 1.494 GB, free: 4.441 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.499e-05/1.379, allocations: 11.88 kB / 1.494 GB, free: 4.43 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.61e-05/1.379, allocations: 11.98 kB / 1.494 GB, free: 4.418 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0002039/1.379, allocations: 194 kB / 1.495 GB, free: 4.23 MB / 1.17 GB Notification: Performance of sort global known variables: time 9e-08/1.379, allocations: 0 / 1.495 GB, free: 4.23 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.000504/1.379, allocations: 91.83 kB / 1.495 GB, free: 4.141 MB / 1.17 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.0003164/1.38, allocations: 161.4 kB / 1.495 GB, free: 3.977 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0005312/1.38, allocations: 167.7 kB / 1.495 GB, free: 3.812 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/1.38, allocations: 0 / 1.495 GB, free: 3.812 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0001639/1.38, allocations: 59.89 kB / 1.495 GB, free: 3.754 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007578/1.381, allocations: 117.4 kB / 1.495 GB, free: 3.641 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008363/1.382, allocations: 483 kB / 1.496 GB, free: 3.117 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004216/1.382, allocations: 0.7558 MB / 1.496 GB, free: 2.336 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.739e-05/1.382, allocations: 27.36 kB / 1.496 GB, free: 2.309 MB / 1.17 GB Notification: Performance of SimCode: time 3.01e-07/1.382, allocations: 0 / 1.496 GB, free: 2.309 MB / 1.17 GB Notification: Performance of Templates: time 0.00712/1.39, allocations: 3.742 MB / 1.5 GB, free: 14.6 MB / 1.186 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.FixedResistances.Examples.PressureDrop.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; mkfifo Buildings_12_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe >> ../files/Buildings_12_Buildings.Fluid.FixedResistances.Examples.PressureDrop.sim & ./Buildings_12_Buildings.Fluid.FixedResistances.Examples.PressureDrop -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.FixedResistances.Examples.PressureDrop_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_FixedResistances_Examples_PressureDrop.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.254052415999467]