Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.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.001963/0.001963, allocations: 105.8 kB / 18.84 MB, free: 3.043 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.001948/0.001948, allocations: 190 kB / 22.11 MB, free: 5.156 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.505/1.505, allocations: 225.6 MB / 250.8 MB, free: 13.05 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.286/3.286, allocations: 495.8 MB / 0.783 GB, free: 33.65 MB / 0.6231 GB
"
[Timeout remaining time 176]
Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_comp|m_flow_turbulent|der.m_flow.|der.m_flow_comp.",fileNamePrefix="Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2")
translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_comp|m_flow_turbulent|der.m_flow.|der.m_flow_comp.",fileNamePrefix="Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002065/0.002065, allocations: 65.89 kB / 1.137 GB, free: 33.78 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3759/0.378, allocations: 173.6 MB / 1.307 GB, free: 1.848 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.002632/0.3806, allocations: 1.297 MB / 1.308 GB, free: 0.5391 MB / 0.9981 GB
Notification: Performance of NFInst.instExpressions: time 0.00117/0.3818, allocations: 0.6149 MB / 1.309 GB, free: 15.92 MB / 1.014 GB
Notification: Performance of NFInst.updateImplicitVariability: time 3.02e-05/0.3818, allocations: 0 / 1.309 GB, free: 15.92 MB / 1.014 GB
Notification: Performance of NFTyping.typeComponents: time 1.626e-05/0.3819, allocations: 0 / 1.309 GB, free: 15.92 MB / 1.014 GB
Notification: Performance of NFTyping.typeBindings: time 4.681e-05/0.3819, allocations: 7.922 kB / 1.309 GB, free: 15.91 MB / 1.014 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0006654/0.3826, allocations: 151.4 kB / 1.309 GB, free: 15.77 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 0.0001125/0.3827, allocations: 27.92 kB / 1.309 GB, free: 15.74 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 7.981e-05/0.3828, allocations: 0 / 1.309 GB, free: 15.74 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 5.656e-05/0.3828, allocations: 23.91 kB / 1.309 GB, free: 15.71 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 8.306e-05/0.3829, allocations: 11.98 kB / 1.309 GB, free: 15.7 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 2.144e-05/0.3829, allocations: 4 kB / 1.309 GB, free: 15.7 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.000566/0.3835, allocations: 275.5 kB / 1.309 GB, free: 15.43 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 3.233e-05/0.3835, allocations: 11.92 kB / 1.309 GB, free: 15.42 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 4.127e-05/0.3836, allocations: 15.94 kB / 1.309 GB, free: 15.4 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.0003832/0.3839, allocations: 139.5 kB / 1.309 GB, free: 15.27 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.3839, allocations: 4 kB / 1.309 GB, free: 15.26 MB / 1.014 GB
Notification: Performance of FrontEnd: time 1.863e-06/0.384, allocations: 0 / 1.309 GB, free: 15.26 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 8.075e-06/0.384, allocations: 0 / 1.309 GB, free: 15.26 MB / 1.014 GB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 7
 * Number of variables: 7
Notification: Performance of Generate backend data structure: time 0.0005649/0.3845, allocations: 293.9 kB / 1.31 GB, free: 14.94 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 5.301e-05/0.3846, allocations: 12.03 kB / 1.31 GB, free: 14.93 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 4.723e-05/0.3846, allocations: 8.828 kB / 1.31 GB, free: 14.92 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001598/0.3848, allocations: 114.5 kB / 1.31 GB, free: 14.79 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.731e-05/0.3848, allocations: 384 / 1.31 GB, free: 14.79 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 3.937e-05/0.3848, allocations: 8.312 kB / 1.31 GB, free: 14.78 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001539/0.385, allocations: 54.25 kB / 1.31 GB, free: 14.72 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.344e-05/0.385, allocations: 192 / 1.31 GB, free: 14.72 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.124e-05/0.385, allocations: 3.938 kB / 1.31 GB, free: 14.71 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.885e-06/0.385, allocations: 0 / 1.31 GB, free: 14.71 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 6.33e-05/0.3851, allocations: 19.98 kB / 1.31 GB, free: 14.7 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003035/0.3854, allocations: 140.7 kB / 1.31 GB, free: 14.52 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001783/0.3856, allocations: 66.47 kB / 1.31 GB, free: 14.44 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 6.295e-05/0.3856, allocations: 28.86 kB / 1.31 GB, free: 14.41 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 3.817e-05/0.3857, allocations: 240 / 1.31 GB, free: 14.41 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.049e-05/0.3857, allocations: 38.55 kB / 1.31 GB, free: 14.36 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=7): time 8.52e-07/0.3857, allocations: 0 / 1.31 GB, free: 14.36 MB / 1.014 GB
Notification: Performance of matching and sorting (n=11): time 0.001636/0.3874, allocations: 443.6 kB / 1.31 GB, free: 13.88 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.859e-05/0.3874, allocations: 51.41 kB / 1.31 GB, free: 13.81 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001542/0.3876, allocations: 97.84 kB / 1.311 GB, free: 13.71 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 2.947e-05/0.3876, allocations: 29.7 kB / 1.311 GB, free: 13.67 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 5.98e-05/0.3877, allocations: 80.14 kB / 1.311 GB, free: 13.59 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 6.412e-05/0.3878, allocations: 43.61 kB / 1.311 GB, free: 13.55 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 7.834e-05/0.3878, allocations: 33.72 kB / 1.311 GB, free: 13.51 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0002196/0.3881, allocations: 323 kB / 1.311 GB, free: 13.18 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 4.908e-05/0.3881, allocations: 16 kB / 1.311 GB, free: 13.17 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 5.871e-05/0.3882, allocations: 23.98 kB / 1.311 GB, free: 13.14 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001166/0.3883, allocations: 64.22 kB / 1.311 GB, free: 13.08 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.3883, allocations: 0 / 1.311 GB, free: 13.08 MB / 1.014 GB
Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001909/0.3885, allocations: 101.6 kB / 1.311 GB, free: 12.98 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 2.039e-05/0.3885, allocations: 4 kB / 1.311 GB, free: 12.97 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.3885, allocations: 0 / 1.311 GB, free: 12.97 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 2.188e-05/0.3885, allocations: 96 / 1.311 GB, free: 12.97 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001286/0.3886, allocations: 27.92 kB / 1.311 GB, free: 12.95 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.728e-06/0.3887, allocations: 7.938 kB / 1.311 GB, free: 12.94 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.862e-05/0.3887, allocations: 4 kB / 1.311 GB, free: 12.93 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.105e-05/0.3887, allocations: 4 kB / 1.311 GB, free: 12.93 MB / 1.014 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 (13):
 * Single equations (assignments): 13
 * 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.0001265/0.3888, allocations: 117.8 kB / 1.311 GB, free: 12.8 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 3.339e-05/0.3889, allocations: 7.891 kB / 1.311 GB, free: 12.8 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002775/0.3891, allocations: 109.9 kB / 1.312 GB, free: 12.68 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-06/0.3891, allocations: 0 / 1.312 GB, free: 12.68 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.3891, allocations: 3.938 kB / 1.312 GB, free: 12.68 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.3892, allocations: 4 kB / 1.312 GB, free: 12.67 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005907/0.3897, allocations: 325.6 kB / 1.312 GB, free: 12.3 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.3897, allocations: 0 / 1.312 GB, free: 12.3 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001184/0.3899, allocations: 19.98 kB / 1.312 GB, free: 12.29 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 8.847e-06/0.3899, allocations: 8 kB / 1.312 GB, free: 12.28 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.033e-05/0.3899, allocations: 0 / 1.312 GB, free: 12.28 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.789e-06/0.3899, allocations: 3.938 kB / 1.312 GB, free: 12.27 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.3899, allocations: 0 / 1.312 GB, free: 12.27 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003469/0.3902, allocations: 227.4 kB / 1.312 GB, free: 12.04 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 7.804e-06/0.3902, allocations: 0 / 1.312 GB, free: 12.04 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.36e-05/0.3903, allocations: 4.031 kB / 1.312 GB, free: 12.03 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001019/0.3904, allocations: 7.984 kB / 1.312 GB, free: 12.02 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 2.942e-05/0.3904, allocations: 7.984 kB / 1.312 GB, free: 12.02 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.025e-05/0.3904, allocations: 4 kB / 1.312 GB, free: 12.01 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 7.156e-05/0.3905, allocations: 79.28 kB / 1.312 GB, free: 11.93 MB / 1.014 GB
Notification: Performance of sort global known variables: time 7.1e-08/0.3905, allocations: 0 / 1.312 GB, free: 11.93 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0003874/0.3909, allocations: 35.88 kB / 1.312 GB, free: 11.9 MB / 1.014 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 1
 * Number of states: 2 (m_flow_comp,der_m_flow_comp)
 * 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 (11):
 * Single equations (assignments): 11
 * 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.0003324/0.3912, allocations: 141 kB / 1.312 GB, free: 11.75 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.0002001/0.3914, allocations: 59.86 kB / 1.312 GB, free: 11.7 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.3914, allocations: 0 / 1.312 GB, free: 11.7 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 5.866e-05/0.3915, allocations: 35.92 kB / 1.312 GB, free: 11.66 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002704/0.3917, allocations: 8.938 kB / 1.312 GB, free: 11.65 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008155/0.3925, allocations: 292.9 kB / 1.313 GB, free: 11.34 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005502/0.3931, allocations: 0.6885 MB / 1.313 GB, free: 10.62 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 5.645e-05/0.3932, allocations: 7.938 kB / 1.313 GB, free: 10.62 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 4.16e-05/0.3932, allocations: 15.44 kB / 1.313 GB, free: 10.6 MB / 1.014 GB
Notification: Performance of SimCode: time 7.42e-07/0.3932, allocations: 0 / 1.313 GB, free: 10.6 MB / 1.014 GB
Notification: Performance of Templates: time 0.005151/0.3983, allocations: 1.008 MB / 1.314 GB, free: 9.629 MB / 1.014 GB
"
[Timeout remaining time 300]
make -j1 -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & ./Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.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.316902859136462]