Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.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.002142/0.002142, allocations: 113.9 kB / 18.94 MB, free: 2.777 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.002494/0.002494, allocations: 188 kB / 22.23 MB, free: 5.184 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.497/1.497, allocations: 225.6 MB / 251 MB, free: 13.04 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.977/2.977, allocations: 476.7 MB / 0.7646 GB, free: 9.871 MB / 0.6231 GB
"
[Timeout remaining time 176]
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.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_comp",fileNamePrefix="Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck")
translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_comp",fileNamePrefix="Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002053/0.002053, allocations: 59.89 kB / 1.11 GB, free: 6.336 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.9342/0.9362, allocations: 168.8 MB / 1.274 GB, free: 4.215 MB / 0.9669 GB
Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.003188/0.9394, allocations: 1.288 MB / 1.276 GB, free: 2.922 MB / 0.9669 GB
Notification: Performance of NFInst.instExpressions: time 0.001415/0.9408, allocations: 0.6266 MB / 1.276 GB, free: 2.293 MB / 0.9669 GB
Notification: Performance of NFInst.updateImplicitVariability: time 3.382e-05/0.9409, allocations: 0 / 1.276 GB, free: 2.293 MB / 0.9669 GB
Notification: Performance of NFTyping.typeComponents: time 2.86e-05/0.9409, allocations: 0 / 1.276 GB, free: 2.293 MB / 0.9669 GB
Notification: Performance of NFTyping.typeBindings: time 6.279e-05/0.941, allocations: 3.938 kB / 1.276 GB, free: 2.289 MB / 0.9669 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0007381/0.9417, allocations: 143.4 kB / 1.276 GB, free: 2.148 MB / 0.9669 GB
Notification: Performance of NFFlatten.flatten: time 0.0001086/0.9418, allocations: 19.92 kB / 1.276 GB, free: 2.129 MB / 0.9669 GB
Notification: Performance of NFFlatten.resolveConnections: time 7.324e-05/0.9419, allocations: 7.984 kB / 1.276 GB, free: 2.121 MB / 0.9669 GB
Notification: Performance of NFEvalConstants.evaluate: time 6.062e-05/0.9419, allocations: 7.938 kB / 1.276 GB, free: 2.113 MB / 0.9669 GB
Notification: Performance of NFSimplifyModel.simplify: time 8.617e-05/0.942, allocations: 11.98 kB / 1.276 GB, free: 2.102 MB / 0.9669 GB
Notification: Performance of NFPackage.collectConstants: time 2.208e-05/0.9421, allocations: 4 kB / 1.276 GB, free: 2.098 MB / 0.9669 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0006223/0.9427, allocations: 339.3 kB / 1.277 GB, free: 1.766 MB / 0.9669 GB
Notification: Performance of NFScalarize.scalarize: time 2.486e-05/0.9427, allocations: 7.938 kB / 1.277 GB, free: 1.758 MB / 0.9669 GB
Notification: Performance of NFVerifyModel.verify: time 4.044e-05/0.9427, allocations: 7.984 kB / 1.277 GB, free: 1.75 MB / 0.9669 GB
Notification: Performance of NFConvertDAE.convert: time 0.0003421/0.9431, allocations: 150 kB / 1.277 GB, free: 1.609 MB / 0.9669 GB
Notification: Performance of FrontEnd - DAE generated: time 8.556e-06/0.9431, allocations: 3.938 kB / 1.277 GB, free: 1.605 MB / 0.9669 GB
Notification: Performance of FrontEnd: time 2.795e-06/0.9431, allocations: 0 / 1.277 GB, free: 1.605 MB / 0.9669 GB
Notification: Performance of Transformations before backend: time 9.508e-06/0.9431, allocations: 0 / 1.277 GB, free: 1.605 MB / 0.9669 GB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 4
 * Number of variables: 4
Notification: Performance of Generate backend data structure: time 0.0006463/0.9438, allocations: 286 kB / 1.277 GB, free: 1.293 MB / 0.9669 GB
Notification: Performance of prepare preOptimizeDAE: time 6.096e-05/0.9438, allocations: 8.031 kB / 1.277 GB, free: 1.285 MB / 0.9669 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 5.192e-05/0.9439, allocations: 8.922 kB / 1.277 GB, free: 1.277 MB / 0.9669 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001631/0.944, allocations: 114.5 kB / 1.277 GB, free: 1.141 MB / 0.9669 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.38e-05/0.944, allocations: 384 / 1.277 GB, free: 1.141 MB / 0.9669 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 3.243e-05/0.9441, allocations: 8.312 kB / 1.277 GB, free: 1.133 MB / 0.9669 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001587/0.9442, allocations: 42.25 kB / 1.277 GB, free: 1.086 MB / 0.9669 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.424e-05/0.9442, allocations: 192 / 1.277 GB, free: 1.086 MB / 0.9669 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.939e-05/0.9443, allocations: 3.938 kB / 1.277 GB, free: 1.082 MB / 0.9669 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.9443, allocations: 4 kB / 1.277 GB, free: 1.078 MB / 0.9669 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 5.381e-05/0.9443, allocations: 7.938 kB / 1.277 GB, free: 1.07 MB / 0.9669 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002416/0.9446, allocations: 132.8 kB / 1.277 GB, free: 0.8984 MB / 0.9669 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0002735/0.9448, allocations: 38.61 kB / 1.278 GB, free: 0.8516 MB / 0.9669 GB
Notification: Performance of preOpt resolveLoops (simulation): time 4.887e-05/0.9449, allocations: 20.94 kB / 1.278 GB, free: 0.8281 MB / 0.9669 GB
Notification: Performance of preOpt evalFunc (simulation): time 2.193e-05/0.9449, allocations: 0 / 1.278 GB, free: 0.8281 MB / 0.9669 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.341e-05/0.9449, allocations: 34.56 kB / 1.278 GB, free: 0.7852 MB / 0.9669 GB
Notification: Performance of pre-optimization done (n=4): time 8.61e-07/0.9449, allocations: 0 / 1.278 GB, free: 0.7852 MB / 0.9669 GB
Notification: Performance of matching and sorting (n=6): time 0.0008152/0.9458, allocations: 237.1 kB / 1.278 GB, free: 0.5195 MB / 0.9669 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.343e-05/0.9458, allocations: 55.34 kB / 1.278 GB, free: 464 kB / 0.9669 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.327e-05/0.9459, allocations: 101.8 kB / 1.278 GB, free: 352 kB / 0.9669 GB
Notification: Performance of collectPreVariables (initialization): time 2.182e-05/0.9459, allocations: 25.7 kB / 1.278 GB, free: 320 kB / 0.9669 GB
Notification: Performance of collectInitialEqns (initialization): time 5.117e-05/0.946, allocations: 84.08 kB / 1.278 GB, free: 232 kB / 0.9669 GB
Notification: Performance of collectInitialBindings (initialization): time 4.029e-05/0.946, allocations: 23.86 kB / 1.278 GB, free: 208 kB / 0.9669 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 4.059e-05/0.9461, allocations: 21.7 kB / 1.278 GB, free: 180 kB / 0.9669 GB
Notification: Performance of setup shared object (initialization): time 0.0001767/0.9462, allocations: 310.8 kB / 1.278 GB, free: 15.86 MB / 0.9825 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 3.203e-05/0.9463, allocations: 15.98 kB / 1.278 GB, free: 15.85 MB / 0.9825 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 2.876e-05/0.9463, allocations: 15.98 kB / 1.278 GB, free: 15.83 MB / 0.9825 GB
Notification: Performance of analyzeInitialSystem (initialization): time 6.61e-05/0.9464, allocations: 32.86 kB / 1.278 GB, free: 15.8 MB / 0.9825 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.9464, allocations: 0 / 1.278 GB, free: 15.8 MB / 0.9825 GB
Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001121/0.9465, allocations: 73.56 kB / 1.279 GB, free: 15.72 MB / 0.9825 GB
Notification: Performance of prepare postOptimizeDAE: time 2.135e-05/0.9465, allocations: 13.81 kB / 1.279 GB, free: 15.71 MB / 0.9825 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.9465, allocations: 4.516 kB / 1.279 GB, free: 15.7 MB / 0.9825 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.79e-05/0.9465, allocations: 0 / 1.279 GB, free: 15.7 MB / 0.9825 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.268e-05/0.9466, allocations: 11.98 kB / 1.279 GB, free: 15.69 MB / 0.9825 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.286e-06/0.9466, allocations: 4 kB / 1.279 GB, free: 15.69 MB / 0.9825 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.824e-05/0.9466, allocations: 0 / 1.279 GB, free: 15.69 MB / 0.9825 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.78e-06/0.9466, allocations: 0 / 1.279 GB, free: 15.69 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 (7):
 * Single equations (assignments): 7
 * 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.0001081/0.9467, allocations: 117.8 kB / 1.279 GB, free: 15.56 MB / 0.9825 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 1.366e-05/0.9467, allocations: 3.938 kB / 1.279 GB, free: 15.56 MB / 0.9825 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001674/0.9469, allocations: 81.66 kB / 1.279 GB, free: 15.47 MB / 0.9825 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.5e-06/0.9469, allocations: 4 kB / 1.279 GB, free: 15.47 MB / 0.9825 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.9469, allocations: 3.938 kB / 1.279 GB, free: 15.46 MB / 0.9825 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.9469, allocations: 0 / 1.279 GB, free: 15.46 MB / 0.9825 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004067/0.9473, allocations: 282.5 kB / 1.279 GB, free: 15.14 MB / 0.9825 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.9473, allocations: 3.938 kB / 1.279 GB, free: 15.13 MB / 0.9825 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.424e-05/0.9474, allocations: 12.19 kB / 1.279 GB, free: 15.12 MB / 0.9825 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.9474, allocations: 0 / 1.279 GB, free: 15.12 MB / 0.9825 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.195e-05/0.9474, allocations: 4 kB / 1.279 GB, free: 15.12 MB / 0.9825 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/0.9474, allocations: 8.016 kB / 1.279 GB, free: 15.11 MB / 0.9825 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.9474, allocations: 4 kB / 1.279 GB, free: 15.11 MB / 0.9825 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002435/0.9476, allocations: 177.9 kB / 1.279 GB, free: 14.91 MB / 0.9825 GB
Notification: Performance of postOpt removeConstants (simulation): time 2.329e-05/0.9477, allocations: 8.016 kB / 1.279 GB, free: 14.91 MB / 0.9825 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.589e-05/0.9477, allocations: 0 / 1.279 GB, free: 14.91 MB / 0.9825 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.61e-05/0.9478, allocations: 4 kB / 1.279 GB, free: 14.9 MB / 0.9825 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 2.566e-05/0.9478, allocations: 8 kB / 1.279 GB, free: 14.89 MB / 0.9825 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.264e-06/0.9478, allocations: 7.984 kB / 1.279 GB, free: 14.89 MB / 0.9825 GB
Notification: Performance of sorting global known variables: time 5.048e-05/0.9478, allocations: 79.28 kB / 1.279 GB, free: 14.81 MB / 0.9825 GB
Notification: Performance of sort global known variables: time 7e-08/0.9478, allocations: 0 / 1.279 GB, free: 14.81 MB / 0.9825 GB
Notification: Performance of remove unused functions: time 0.0002788/0.9481, allocations: 23.94 kB / 1.279 GB, free: 14.79 MB / 0.9825 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 2
 * Number of states: 1 (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 (6):
 * Single equations (assignments): 6
 * 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.0002204/0.9483, allocations: 119.2 kB / 1.279 GB, free: 14.66 MB / 0.9825 GB
Notification: Performance of simCode: created initialization part: time 0.0001462/0.9485, allocations: 31.98 kB / 1.279 GB, free: 14.63 MB / 0.9825 GB
Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.9485, allocations: 3.938 kB / 1.279 GB, free: 14.62 MB / 0.9825 GB
Notification: Performance of simCode: created simulation system equations: time 3.24e-05/0.9485, allocations: 15.98 kB / 1.279 GB, free: 14.61 MB / 0.9825 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000268/0.9488, allocations: 15.88 kB / 1.28 GB, free: 14.59 MB / 0.9825 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005907/0.9494, allocations: 192.6 kB / 1.28 GB, free: 14.38 MB / 0.9825 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003908/0.9498, allocations: 0.6807 MB / 1.28 GB, free: 13.67 MB / 0.9825 GB
Notification: Performance of simCode: alias equations: time 3.823e-05/0.9498, allocations: 8.375 kB / 1.28 GB, free: 13.66 MB / 0.9825 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 3.019e-05/0.9498, allocations: 11.44 kB / 1.28 GB, free: 13.65 MB / 0.9825 GB
Notification: Performance of SimCode: time 3.1e-07/0.9498, allocations: 0 / 1.28 GB, free: 13.65 MB / 0.9825 GB
Notification: Performance of Templates: time 0.004464/0.9543, allocations: 0.6632 MB / 1.281 GB, free: 13.02 MB / 0.9825 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.makefile [Timeout 300]
(rm -f Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & ./Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.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.244791333563626]