Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv.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.001048/0.001048, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001455/0.002502, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0009575/0.0009575, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009153/0.001873, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.9998/0.9998, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.118/1.118, allocations: 53.66 MB / 243.2 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.535/2.535, allocations: 446.7 MB / 0.6745 GB, free: 6.215 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.275/2.81, allocations: 145.9 MB / 0.817 GB, free: 4.223 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_nominal|dp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_nominal|dp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 0.8183 GB, free: 2.855 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.676e-05/1.821e-05, allocations: 2.312 kB / 0.8183 GB, free: 2.852 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv): time 0.00234/0.002358, allocations: 1.392 MB / 0.8197 GB, free: 1.445 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0009409/0.003299, allocations: 0.5914 MB / 0.8203 GB, free: 0.8516 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.809e-05/0.003317, allocations: 4 kB / 0.8203 GB, free: 0.8477 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 7.794e-06/0.003325, allocations: 0 / 0.8203 GB, free: 0.8477 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 2.265e-05/0.003347, allocations: 0 / 0.8203 GB, free: 0.8477 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003813/0.003729, allocations: 143.2 kB / 0.8204 GB, free: 0.707 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 6.202e-05/0.003791, allocations: 15.94 kB / 0.8204 GB, free: 0.6914 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 4.183e-05/0.003832, allocations: 4 kB / 0.8204 GB, free: 0.6875 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 5.124e-05/0.003884, allocations: 7.984 kB / 0.8204 GB, free: 0.6797 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 5.764e-05/0.003941, allocations: 7.938 kB / 0.8205 GB, free: 0.6719 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.14e-05/0.003953, allocations: 0 / 0.8205 GB, free: 0.6719 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000506/0.004459, allocations: 327.2 kB / 0.8208 GB, free: 360 kB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 1.65e-05/0.004475, allocations: 4 kB / 0.8208 GB, free: 356 kB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 1.676e-05/0.004492, allocations: 0 / 0.8208 GB, free: 356 kB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.000272/0.004764, allocations: 131.6 kB / 0.8209 GB, free: 224 kB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.911e-05/0.004783, allocations: 0 / 0.8209 GB, free: 224 kB / 0.7917 GB Notification: Performance of FrontEnd: time 6.11e-07/0.004784, allocations: 0 / 0.8209 GB, free: 224 kB / 0.7917 GB Notification: Performance of Transformations before backend: time 2.24e-05/0.004806, allocations: 4 kB / 0.8209 GB, free: 220 kB / 0.7917 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004829/0.005289, allocations: 268.3 kB / 0.8212 GB, free: 15.93 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/0.00533, allocations: 12.62 kB / 0.8212 GB, free: 15.91 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.027e-05/0.00536, allocations: 0.9375 kB / 0.8212 GB, free: 15.91 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001149/0.005475, allocations: 117.8 kB / 0.8213 GB, free: 15.77 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.121e-05/0.005487, allocations: 384 / 0.8213 GB, free: 15.77 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.953e-06/0.005493, allocations: 384 / 0.8213 GB, free: 15.77 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.758e-05/0.005571, allocations: 30.27 kB / 0.8213 GB, free: 15.74 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.00558, allocations: 4.172 kB / 0.8213 GB, free: 15.73 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.443e-06/0.005587, allocations: 384 / 0.8213 GB, free: 15.73 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.191e-06/0.005593, allocations: 4.375 kB / 0.8213 GB, free: 15.73 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.875e-05/0.005612, allocations: 11.88 kB / 0.8213 GB, free: 15.72 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.502e-05/0.005707, allocations: 61.08 kB / 0.8214 GB, free: 15.64 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 4.622e-05/0.005753, allocations: 18.58 kB / 0.8214 GB, free: 15.62 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.181e-05/0.005765, allocations: 4.859 kB / 0.8214 GB, free: 15.61 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.204e-05/0.005787, allocations: 0 / 0.8214 GB, free: 15.61 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.685e-05/0.005813, allocations: 38.62 kB / 0.8214 GB, free: 15.56 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.005814, allocations: 0 / 0.8214 GB, free: 15.56 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2): time 9.727e-05/0.005912, allocations: 37.72 kB / 0.8215 GB, free: 15.52 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.744e-05/0.005949, allocations: 59.44 kB / 0.8215 GB, free: 15.45 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.907e-05/0.006008, allocations: 94.72 kB / 0.8216 GB, free: 15.34 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.181e-05/0.00602, allocations: 25.7 kB / 0.8217 GB, free: 15.31 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.528e-05/0.006045, allocations: 84.14 kB / 0.8217 GB, free: 15.23 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.819e-05/0.006073, allocations: 11.94 kB / 0.8217 GB, free: 15.21 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.868e-05/0.006102, allocations: 21.64 kB / 0.8218 GB, free: 15.19 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.82e-05/0.00619, allocations: 314.8 kB / 0.8221 GB, free: 14.87 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.083e-06/0.006197, allocations: 0 / 0.8221 GB, free: 14.87 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.476e-06/0.006206, allocations: 4 kB / 0.8221 GB, free: 14.87 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.477e-05/0.006231, allocations: 13.05 kB / 0.8221 GB, free: 14.85 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.006233, allocations: 3.938 kB / 0.8221 GB, free: 14.85 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.768e-05/0.006281, allocations: 33.69 kB / 0.8221 GB, free: 14.81 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.006296, allocations: 8 kB / 0.8221 GB, free: 14.8 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.94e-06/0.006301, allocations: 0 / 0.8221 GB, free: 14.8 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.085e-05/0.006312, allocations: 0 / 0.8221 GB, free: 14.8 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001433/0.006456, allocations: 11.98 kB / 0.8221 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003155/0.006771, allocations: 0.5859 MB / 0.8227 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.724e-05/0.006788, allocations: 4 kB / 0.8227 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.039e-06/0.006793, allocations: 4.094 kB / 0.8227 GB, free: 14.17 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 6.119e-05/0.006854, allocations: 105.8 kB / 0.8228 GB, free: 14.06 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.113e-06/0.006862, allocations: 4 kB / 0.8228 GB, free: 14.05 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.751e-05/0.006939, allocations: 41 kB / 0.8229 GB, free: 14.01 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.035e-06/0.006942, allocations: 3.938 kB / 0.8229 GB, free: 14.01 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.532e-06/0.006944, allocations: 0 / 0.8229 GB, free: 14.01 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.006947, allocations: 0 / 0.8229 GB, free: 14.01 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.527e-05/0.007012, allocations: 69.83 kB / 0.8229 GB, free: 13.92 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.007013, allocations: 0 / 0.8229 GB, free: 13.92 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.277e-05/0.007076, allocations: 12.03 kB / 0.8229 GB, free: 13.91 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 6.763e-06/0.007083, allocations: 3.953 kB / 0.823 GB, free: 13.91 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.007085, allocations: 0 / 0.823 GB, free: 13.91 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.489e-06/0.00709, allocations: 4 kB / 0.823 GB, free: 13.9 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002494/0.007339, allocations: 0.582 MB / 0.8235 GB, free: 13.3 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.00734, allocations: 0 / 0.8235 GB, free: 13.3 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.234e-05/0.007392, allocations: 69.06 kB / 0.8236 GB, free: 13.21 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.1e-05/0.007403, allocations: 3.984 kB / 0.8236 GB, free: 13.21 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.018e-05/0.007414, allocations: 96 / 0.8236 GB, free: 13.21 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.059e-05/0.007424, allocations: 4 kB / 0.8236 GB, free: 13.2 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.874e-06/0.007426, allocations: 0 / 0.8236 GB, free: 13.2 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.058e-05/0.007437, allocations: 12.8 kB / 0.8236 GB, free: 13.19 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.007437, allocations: 0 / 0.8236 GB, free: 13.19 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001751/0.007612, allocations: 19.94 kB / 0.8236 GB, free: 13.17 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001982/0.00781, allocations: 114.5 kB / 0.8237 GB, free: 13.05 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001044/0.007914, allocations: 12.86 kB / 0.8237 GB, free: 13.03 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.007919, allocations: 8.156 kB / 0.8238 GB, free: 13.02 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.758e-05/0.007947, allocations: 12.84 kB / 0.8238 GB, free: 13.01 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.773e-05/0.008035, allocations: 12 kB / 0.8238 GB, free: 13 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006045/0.008639, allocations: 108.7 kB / 0.8239 GB, free: 12.86 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.171e-05/0.008671, allocations: 51.36 kB / 0.8239 GB, free: 12.79 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.377e-05/0.008695, allocations: 4 kB / 0.8239 GB, free: 12.79 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.416e-05/0.008729, allocations: 51.44 kB / 0.824 GB, free: 12.74 MB / 0.8073 GB Notification: Performance of SimCode: time 8.12e-07/0.00873, allocations: 0 / 0.824 GB, free: 12.74 MB / 0.8073 GB Notification: Performance of Templates: time 0.002434/0.01116, allocations: 0.6059 MB / 0.8246 GB, free: 12.17 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.470529845915735]