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.001156/0.001156, allocations: 76.55 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0013/0.0013, allocations: 181.9 kB / 23.22 MB, free: 1.348 MB / 18.57 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 0.8836/0.8836, allocations: 177.1 MB / 203.5 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] 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 1.826/1.826, allocations: 389 MB / 0.6338 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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: Performance of FrontEnd - loaded program: time 2.134e-06/2.134e-06, allocations: 0 / 1.001 GB, free: 13.03 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.001e-05/3.214e-05, allocations: 2.281 kB / 1.001 GB, free: 13.02 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PressureDrop): time 0.5835/0.5835, allocations: 142.3 MB / 1.14 GB, free: 11.39 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.00249/0.586, allocations: 1.596 MB / 1.141 GB, free: 10.33 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002534/0.5863, allocations: 14.03 kB / 1.141 GB, free: 10.32 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.000564/0.5868, allocations: 153.2 kB / 1.142 GB, free: 10.23 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.001164/0.588, allocations: 0.5269 MB / 1.142 GB, free: 9.953 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.00101/0.589, allocations: 449.1 kB / 1.142 GB, free: 9.75 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.0006857/0.5897, allocations: 0.5641 MB / 1.143 GB, free: 9.484 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002445/0.5899, allocations: 129.9 kB / 1.143 GB, free: 9.434 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009333/0.5909, allocations: 0.536 MB / 1.144 GB, free: 9.199 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001709/0.591, allocations: 141.4 kB / 1.144 GB, free: 9.148 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 2.911e-05/0.5911, allocations: 12.38 kB / 1.144 GB, free: 9.148 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009125/0.592, allocations: 0.562 MB / 1.144 GB, free: 8.977 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 9.901e-05/0.5921, allocations: 89.98 kB / 1.144 GB, free: 8.934 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 8.15e-05/0.5922, allocations: 76.11 kB / 1.145 GB, free: 8.906 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.0007138/0.5929, allocations: 0.5047 MB / 1.145 GB, free: 8.734 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.5929, allocations: 0 / 1.145 GB, free: 8.734 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.413e-06/0.5929, allocations: 1.281 kB / 1.145 GB, free: 8.734 MB / 1.01 GB Notification: Performance of Transformations before backend: time 5.761e-06/0.5929, allocations: 0 / 1.145 GB, free: 8.734 MB / 1.01 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.000687/0.5936, allocations: 0.5147 MB / 1.146 GB, free: 8.309 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/0.5936, allocations: 11.25 kB / 1.146 GB, free: 8.309 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002727/0.5939, allocations: 57.53 kB / 1.146 GB, free: 8.289 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000373/0.5943, allocations: 244.6 kB / 1.146 GB, free: 8.098 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.724e-05/0.5943, allocations: 14.66 kB / 1.146 GB, free: 8.09 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.266e-05/0.5943, allocations: 17.88 kB / 1.146 GB, free: 8.082 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000311/0.5946, allocations: 218 kB / 1.146 GB, free: 7.949 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.5946, allocations: 1.531 kB / 1.146 GB, free: 7.949 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.558e-05/0.5946, allocations: 5.594 kB / 1.146 GB, free: 7.945 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.762e-06/0.5946, allocations: 3.312 kB / 1.146 GB, free: 7.945 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002122/0.5949, allocations: 126.3 kB / 1.146 GB, free: 7.914 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007898/0.5956, allocations: 0.6206 MB / 1.147 GB, free: 7.438 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001981/0.5958, allocations: 85.41 kB / 1.147 GB, free: 7.395 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001079/0.5959, allocations: 78.3 kB / 1.147 GB, free: 7.367 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001422/0.5961, allocations: 31.3 kB / 1.147 GB, free: 7.367 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.103e-05/0.5961, allocations: 43.59 kB / 1.147 GB, free: 7.316 MB / 1.01 GB Notification: Performance of pre-optimization done (n=10): time 1.503e-06/0.5961, allocations: 1.5 kB / 1.147 GB, free: 7.316 MB / 1.01 GB Notification: Performance of matching and sorting (n=10): time 0.0004689/0.5966, allocations: 210.6 kB / 1.147 GB, free: 7.238 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.604e-05/0.5966, allocations: 53.56 kB / 1.147 GB, free: 7.176 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001874/0.5968, allocations: 227.2 kB / 1.148 GB, free: 7.043 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 1.678e-05/0.5968, allocations: 26.8 kB / 1.148 GB, free: 7.012 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 8.757e-05/0.5969, allocations: 158.6 kB / 1.148 GB, free: 6.875 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 3.093e-05/0.5969, allocations: 34.17 kB / 1.148 GB, free: 6.848 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.887e-05/0.597, allocations: 27.17 kB / 1.148 GB, free: 6.828 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 9.143e-05/0.5971, allocations: 334 kB / 1.148 GB, free: 6.504 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.659e-05/0.5972, allocations: 48.47 kB / 1.148 GB, free: 6.484 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001521/0.5973, allocations: 222 kB / 1.148 GB, free: 6.266 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001789/0.5975, allocations: 123 kB / 1.148 GB, free: 6.203 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.5975, allocations: 4 kB / 1.148 GB, free: 6.199 MB / 1.01 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002413/0.5977, allocations: 156 kB / 1.149 GB, free: 6.129 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/0.5978, allocations: 6 kB / 1.149 GB, free: 6.129 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.5978, allocations: 1.094 kB / 1.149 GB, free: 6.129 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.684e-05/0.5978, allocations: 2.891 kB / 1.149 GB, free: 6.129 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.721e-05/0.5979, allocations: 27.52 kB / 1.149 GB, free: 6.125 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/0.5979, allocations: 5.641 kB / 1.149 GB, free: 6.121 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.941e-05/0.598, allocations: 17.17 kB / 1.149 GB, free: 6.117 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.175e-05/0.598, allocations: 9.156 kB / 1.149 GB, free: 6.113 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001368/0.5981, allocations: 147.3 kB / 1.149 GB, free: 6.012 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001452/0.5983, allocations: 220.4 kB / 1.149 GB, free: 5.793 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001574/0.5984, allocations: 122.1 kB / 1.149 GB, free: 5.73 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.11e-07/0.5984, allocations: 0 / 1.149 GB, free: 5.73 MB / 1.01 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0002085/0.5986, allocations: 153.7 kB / 1.149 GB, free: 5.66 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 8.255e-06/0.5986, allocations: 6.375 kB / 1.149 GB, free: 5.66 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.124e-06/0.5986, allocations: 1.031 kB / 1.149 GB, free: 5.66 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.865e-06/0.5986, allocations: 2.156 kB / 1.149 GB, free: 5.66 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.031e-05/0.5987, allocations: 24.45 kB / 1.149 GB, free: 5.656 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.364e-06/0.5987, allocations: 0.6875 kB / 1.149 GB, free: 5.656 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.316e-05/0.5988, allocations: 18.55 kB / 1.149 GB, free: 5.652 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.118e-06/0.5988, allocations: 8.375 kB / 1.149 GB, free: 5.648 MB / 1.01 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 7.94e-05/0.5989, allocations: 193.1 kB / 1.15 GB, free: 5.457 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.854e-05/0.5989, allocations: 22.39 kB / 1.15 GB, free: 5.445 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000255/0.5992, allocations: 161.6 kB / 1.15 GB, free: 5.367 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.5992, allocations: 1.578 kB / 1.15 GB, free: 5.367 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.5992, allocations: 0 / 1.15 GB, free: 5.367 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.5992, allocations: 1.734 kB / 1.15 GB, free: 5.367 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000597/0.5998, allocations: 0.5136 MB / 1.15 GB, free: 4.992 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.5998, allocations: 2.062 kB / 1.15 GB, free: 4.992 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.79e-05/0.5998, allocations: 25.95 kB / 1.15 GB, free: 4.988 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.5998, allocations: 7.219 kB / 1.15 GB, free: 4.984 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.031e-05/0.5998, allocations: 2.688 kB / 1.15 GB, free: 4.984 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.476e-06/0.5998, allocations: 7.391 kB / 1.15 GB, free: 4.98 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.5999, allocations: 2.656 kB / 1.15 GB, free: 4.98 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002412/0.6001, allocations: 296.4 kB / 1.151 GB, free: 4.746 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 5.218e-05/0.6001, allocations: 30.64 kB / 1.151 GB, free: 4.73 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.233e-05/0.6002, allocations: 9.531 kB / 1.151 GB, free: 4.727 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.282e-05/0.6003, allocations: 15.83 kB / 1.151 GB, free: 4.723 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.227e-05/0.6003, allocations: 9.578 kB / 1.151 GB, free: 4.723 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.213e-06/0.6003, allocations: 7.562 kB / 1.151 GB, free: 4.719 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.000107/0.6004, allocations: 166.8 kB / 1.151 GB, free: 4.617 MB / 1.01 GB Notification: Performance of sort global known variables: time 5e-08/0.6004, allocations: 0 / 1.151 GB, free: 4.617 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0003529/0.6008, allocations: 103.8 kB / 1.151 GB, free: 4.594 MB / 1.01 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.0002529/0.601, allocations: 157.8 kB / 1.151 GB, free: 4.484 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.000306/0.6013, allocations: 159.6 kB / 1.151 GB, free: 4.445 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.6013, allocations: 0 / 1.151 GB, free: 4.445 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 9.297e-05/0.6014, allocations: 67.98 kB / 1.151 GB, free: 4.422 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003996/0.6018, allocations: 91.03 kB / 1.151 GB, free: 4.395 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005714/0.6024, allocations: 442.7 kB / 1.152 GB, free: 4.062 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001295/0.6025, allocations: 147.4 kB / 1.152 GB, free: 3.98 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.666e-05/0.6026, allocations: 20.91 kB / 1.152 GB, free: 3.973 MB / 1.01 GB Notification: Performance of SimCode: time 6.81e-07/0.6026, allocations: 0.9062 kB / 1.152 GB, free: 3.973 MB / 1.01 GB Notification: Performance of Templates: time 0.005106/0.6077, allocations: 3.426 MB / 1.155 GB, free: 3.641 MB / 1.01 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 -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/jenkins/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: 7.795029865577817]