Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.conf.json
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001669/0.001669, allocations: 113.9 kB / 18.94 MB, free: 2.93 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001861/0.001861, allocations: 191.7 kB / 22.23 MB, free: 5.105 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.481/1.481, allocations: 225.6 MB / 251 MB, free: 13.02 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.83/2.83, allocations: 476.7 MB / 0.7646 GB, free: 9.895 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo)
Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo)
Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo)
Running command: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_nominal|dp",fileNamePrefix="Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp")
translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_nominal|dp",fileNamePrefix="Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002118/0.002118, allocations: 70.81 kB / 1.11 GB, free: 11.89 MB / 0.8419 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3954/0.3975, allocations: 168.8 MB / 1.274 GB, free: 11 MB / 0.9825 GB
Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002544/0.4001, allocations: 1.263 MB / 1.276 GB, free: 9.719 MB / 0.9825 GB
Notification: Performance of NFInst.instExpressions: time 0.001162/0.4013, allocations: 0.588 MB / 1.276 GB, free: 9.129 MB / 0.9825 GB
Notification: Performance of NFInst.updateImplicitVariability: time 3.119e-05/0.4013, allocations: 4 kB / 1.276 GB, free: 9.125 MB / 0.9825 GB
Notification: Performance of NFTyping.typeComponents: time 1.773e-05/0.4013, allocations: 0 / 1.276 GB, free: 9.125 MB / 0.9825 GB
Notification: Performance of NFTyping.typeBindings: time 5.145e-05/0.4014, allocations: 7.938 kB / 1.276 GB, free: 9.117 MB / 0.9825 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0005735/0.4019, allocations: 139.4 kB / 1.276 GB, free: 8.98 MB / 0.9825 GB
Notification: Performance of NFFlatten.flatten: time 6.385e-05/0.402, allocations: 11.92 kB / 1.276 GB, free: 8.969 MB / 0.9825 GB
Notification: Performance of NFFlatten.resolveConnections: time 4.685e-05/0.402, allocations: 3.984 kB / 1.276 GB, free: 8.965 MB / 0.9825 GB
Notification: Performance of NFEvalConstants.evaluate: time 2.093e-05/0.4021, allocations: 8 kB / 1.276 GB, free: 8.957 MB / 0.9825 GB
Notification: Performance of NFSimplifyModel.simplify: time 5.067e-05/0.4021, allocations: 3.938 kB / 1.276 GB, free: 8.953 MB / 0.9825 GB
Notification: Performance of NFPackage.collectConstants: time 1.096e-05/0.4021, allocations: 0 / 1.276 GB, free: 8.953 MB / 0.9825 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0005387/0.4027, allocations: 343.4 kB / 1.277 GB, free: 8.617 MB / 0.9825 GB
Notification: Performance of NFScalarize.scalarize: time 1.353e-05/0.4027, allocations: 7.922 kB / 1.277 GB, free: 8.609 MB / 0.9825 GB
Notification: Performance of NFVerifyModel.verify: time 2.485e-05/0.4027, allocations: 8 kB / 1.277 GB, free: 8.602 MB / 0.9825 GB
Notification: Performance of NFConvertDAE.convert: time 0.0002721/0.403, allocations: 131.6 kB / 1.277 GB, free: 8.473 MB / 0.9825 GB
Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.403, allocations: 0 / 1.277 GB, free: 8.473 MB / 0.9825 GB
Notification: Performance of FrontEnd: time 1.453e-06/0.403, allocations: 4 kB / 1.277 GB, free: 8.469 MB / 0.9825 GB
Notification: Performance of Transformations before backend: time 6.111e-06/0.403, allocations: 0 / 1.277 GB, free: 8.469 MB / 0.9825 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.0004397/0.4034, allocations: 284.3 kB / 1.277 GB, free: 8.16 MB / 0.9825 GB
Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/0.4035, allocations: 8.031 kB / 1.277 GB, free: 8.152 MB / 0.9825 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 3.432e-05/0.4035, allocations: 4.938 kB / 1.277 GB, free: 8.148 MB / 0.9825 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001182/0.4036, allocations: 114.5 kB / 1.277 GB, free: 8.012 MB / 0.9825 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.249e-05/0.4036, allocations: 384 / 1.277 GB, free: 8.012 MB / 0.9825 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 9.889e-06/0.4036, allocations: 4.375 kB / 1.277 GB, free: 8.008 MB / 0.9825 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001028/0.4037, allocations: 34.25 kB / 1.277 GB, free: 7.969 MB / 0.9825 GB
Notification: Performance of preOpt findStateOrder (simulation): time 9.288e-06/0.4037, allocations: 192 / 1.277 GB, free: 7.969 MB / 0.9825 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.938e-06/0.4038, allocations: 3.938 kB / 1.277 GB, free: 7.965 MB / 0.9825 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-06/0.4038, allocations: 0 / 1.277 GB, free: 7.965 MB / 0.9825 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 2.844e-05/0.4038, allocations: 4 kB / 1.277 GB, free: 7.961 MB / 0.9825 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001705/0.404, allocations: 124.8 kB / 1.277 GB, free: 7.797 MB / 0.9825 GB
Notification: Performance of preOpt comSubExp (simulation): time 6.098e-05/0.404, allocations: 26.53 kB / 1.277 GB, free: 7.762 MB / 0.9825 GB
Notification: Performance of preOpt resolveLoops (simulation): time 2.291e-05/0.404, allocations: 12.92 kB / 1.277 GB, free: 7.746 MB / 0.9825 GB
Notification: Performance of preOpt evalFunc (simulation): time 1.683e-05/0.4041, allocations: 0 / 1.277 GB, free: 7.746 MB / 0.9825 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.561e-05/0.4041, allocations: 30.56 kB / 1.277 GB, free: 7.707 MB / 0.9825 GB
Notification: Performance of pre-optimization done (n=2): time 7.51e-07/0.4041, allocations: 0 / 1.277 GB, free: 7.707 MB / 0.9825 GB
Notification: Performance of matching and sorting (n=2): time 0.0001608/0.4042, allocations: 53.58 kB / 1.277 GB, free: 7.648 MB / 0.9825 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.372e-05/0.4043, allocations: 59.34 kB / 1.278 GB, free: 7.578 MB / 0.9825 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.217e-05/0.4044, allocations: 93.8 kB / 1.278 GB, free: 7.477 MB / 0.9825 GB
Notification: Performance of collectPreVariables (initialization): time 1.512e-05/0.4044, allocations: 25.7 kB / 1.278 GB, free: 7.445 MB / 0.9825 GB
Notification: Performance of collectInitialEqns (initialization): time 4.086e-05/0.4044, allocations: 84.14 kB / 1.278 GB, free: 7.359 MB / 0.9825 GB
Notification: Performance of collectInitialBindings (initialization): time 3.503e-05/0.4045, allocations: 0 / 1.278 GB, free: 7.359 MB / 0.9825 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.4e-05/0.4045, allocations: 13.72 kB / 1.278 GB, free: 7.34 MB / 0.9825 GB
Notification: Performance of setup shared object (initialization): time 0.0001391/0.4046, allocations: 319.1 kB / 1.278 GB, free: 7.02 MB / 0.9825 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 1.294e-05/0.4046, allocations: 4 kB / 1.278 GB, free: 7.016 MB / 0.9825 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 1.018e-05/0.4047, allocations: 4 kB / 1.278 GB, free: 7.012 MB / 0.9825 GB
Notification: Performance of analyzeInitialSystem (initialization): time 3.118e-05/0.4047, allocations: 12.86 kB / 1.278 GB, free: 6.996 MB / 0.9825 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.4047, allocations: 0 / 1.278 GB, free: 6.996 MB / 0.9825 GB
Notification: Performance of matching and sorting (n=2) (initialization): time 6.618e-05/0.4048, allocations: 37.66 kB / 1.278 GB, free: 6.953 MB / 0.9825 GB
Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/0.4048, allocations: 6.031 kB / 1.278 GB, free: 6.949 MB / 0.9825 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.79e-06/0.4048, allocations: 11.88 kB / 1.278 GB, free: 6.938 MB / 0.9825 GB
Notification: Performance of postOpt tearingSystem (initialization): time 2.095e-05/0.4048, allocations: 3.984 kB / 1.278 GB, free: 6.934 MB / 0.9825 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001538/0.405, allocations: 12.09 kB / 1.278 GB, free: 6.922 MB / 0.9825 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004205/0.4054, allocations: 0.5821 MB / 1.279 GB, free: 6.316 MB / 0.9825 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.861e-05/0.4054, allocations: 0 / 1.279 GB, free: 6.316 MB / 0.9825 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.821e-06/0.4054, allocations: 0 / 1.279 GB, free: 6.316 MB / 0.9825 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 8.716e-05/0.4055, allocations: 117.8 kB / 1.279 GB, free: 6.191 MB / 0.9825 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 7.704e-06/0.4055, allocations: 4.094 kB / 1.279 GB, free: 6.188 MB / 0.9825 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001246/0.4056, allocations: 52.88 kB / 1.279 GB, free: 6.133 MB / 0.9825 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.4056, allocations: 3.984 kB / 1.279 GB, free: 6.129 MB / 0.9825 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.4056, allocations: 0 / 1.279 GB, free: 6.129 MB / 0.9825 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.4056, allocations: 3.938 kB / 1.279 GB, free: 6.125 MB / 0.9825 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001073/0.4057, allocations: 128.7 kB / 1.279 GB, free: 5.957 MB / 0.9825 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.4057, allocations: 4 kB / 1.279 GB, free: 5.953 MB / 0.9825 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.871e-05/0.4058, allocations: 11.98 kB / 1.279 GB, free: 5.941 MB / 0.9825 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.4058, allocations: 0 / 1.279 GB, free: 5.941 MB / 0.9825 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.324e-06/0.4058, allocations: 0 / 1.279 GB, free: 5.941 MB / 0.9825 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003906/0.4062, allocations: 0.5872 MB / 1.28 GB, free: 5.332 MB / 0.9825 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.231e-06/0.4062, allocations: 7.969 kB / 1.28 GB, free: 5.324 MB / 0.9825 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 8.062e-05/0.4063, allocations: 65.06 kB / 1.28 GB, free: 5.242 MB / 0.9825 GB
Notification: Performance of postOpt removeConstants (simulation): time 4.859e-06/0.4063, allocations: 0 / 1.28 GB, free: 5.242 MB / 0.9825 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.071e-05/0.4063, allocations: 4.125 kB / 1.28 GB, free: 5.238 MB / 0.9825 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.653e-05/0.4063, allocations: 4 kB / 1.28 GB, free: 5.234 MB / 0.9825 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 1.752e-05/0.4064, allocations: 3.938 kB / 1.28 GB, free: 5.23 MB / 0.9825 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.375e-06/0.4064, allocations: 3.938 kB / 1.28 GB, free: 5.227 MB / 0.9825 GB
Notification: Performance of sorting global known variables: time 4.794e-05/0.4064, allocations: 83.27 kB / 1.28 GB, free: 5.145 MB / 0.9825 GB
Notification: Performance of sort global known variables: time 8.1e-08/0.4064, allocations: 0 / 1.28 GB, free: 5.145 MB / 0.9825 GB
Notification: Performance of remove unused functions: time 0.0001921/0.4066, allocations: 8 kB / 1.28 GB, free: 5.137 MB / 0.9825 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.0001779/0.4068, allocations: 115.3 kB / 1.28 GB, free: 5.012 MB / 0.9825 GB
Notification: Performance of simCode: created initialization part: time 0.0001857/0.407, allocations: 19.92 kB / 1.28 GB, free: 4.992 MB / 0.9825 GB
Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.407, allocations: 0 / 1.28 GB, free: 4.992 MB / 0.9825 GB
Notification: Performance of simCode: created simulation system equations: time 0.0001038/0.4071, allocations: 16 kB / 1.28 GB, free: 4.977 MB / 0.9825 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001506/0.4072, allocations: 2.25 kB / 1.28 GB, free: 4.977 MB / 0.9825 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003732/0.4076, allocations: 106.1 kB / 1.28 GB, free: 4.844 MB / 0.9825 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000294/0.4079, allocations: 0.6808 MB / 1.281 GB, free: 4.137 MB / 0.9825 GB
Notification: Performance of simCode: alias equations: time 1.463e-05/0.4079, allocations: 0 / 1.281 GB, free: 4.137 MB / 0.9825 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 1.663e-05/0.4079, allocations: 7.438 kB / 1.281 GB, free: 4.129 MB / 0.9825 GB
Notification: Performance of SimCode: time 3.31e-07/0.4079, allocations: 0 / 1.281 GB, free: 4.129 MB / 0.9825 GB
Notification: Performance of Templates: time 0.003047/0.411, allocations: 471.6 kB / 1.281 GB, free: 3.68 MB / 0.9825 GB
"
[Timeout remaining time 300]
make -j1 -f Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.makefile [Timeout 300]
(rm -f Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & ./Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.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.047577228397131]