Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001512/0.001512, allocations: 110 kB / 18.93 MB, free: 2.945 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.001599/0.001599, allocations: 190 kB / 22.23 MB, free: 5.16 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.307/1.307, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB
"
[Timeout remaining time 179]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 2.902/2.902, allocations: 495.7 MB / 0.7831 GB, free: 33.37 MB / 0.6231 GB
"
[Timeout remaining time 177]
Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/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_latest_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_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.00179/0.00179, allocations: 73.3 kB / 1.137 GB, free: 33.89 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2865/0.2883, allocations: 173.6 MB / 1.307 GB, free: 1.918 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.002153/0.2904, allocations: 1.282 MB / 1.308 GB, free: 0.625 MB / 0.9981 GB
Notification: Performance of NFInst.instExpressions: time 0.0009717/0.2914, allocations: 0.6149 MB / 1.309 GB, free: 8 kB / 0.9981 GB
Notification: Performance of NFInst.updateImplicitVariability: time 2.418e-05/0.2914, allocations: 0 / 1.309 GB, free: 8 kB / 0.9981 GB
Notification: Performance of NFTyping.typeComponents: time 1.36e-05/0.2914, allocations: 3.938 kB / 1.309 GB, free: 4 kB / 0.9981 GB
Notification: Performance of NFTyping.typeBindings: time 5.622e-05/0.2915, allocations: 8.016 kB / 1.309 GB, free: 15.99 MB / 1.014 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0004661/0.2919, allocations: 143.3 kB / 1.309 GB, free: 15.86 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 6.386e-05/0.292, allocations: 23.92 kB / 1.309 GB, free: 15.83 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 3.924e-05/0.292, allocations: 8 kB / 1.309 GB, free: 15.82 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 3.81e-05/0.2921, allocations: 7.938 kB / 1.309 GB, free: 15.82 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 4.412e-05/0.2921, allocations: 11.97 kB / 1.309 GB, free: 15.8 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 1.039e-05/0.2921, allocations: 0 / 1.309 GB, free: 15.8 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0004871/0.2926, allocations: 339.3 kB / 1.309 GB, free: 15.47 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 1.138e-05/0.2926, allocations: 7.984 kB / 1.309 GB, free: 15.46 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 2.419e-05/0.2927, allocations: 11.94 kB / 1.309 GB, free: 15.45 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.0002478/0.2929, allocations: 147.5 kB / 1.31 GB, free: 15.31 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 3.696e-06/0.2929, allocations: 0 / 1.31 GB, free: 15.31 MB / 1.014 GB
Notification: Performance of FrontEnd: time 1.162e-06/0.2929, allocations: 0 / 1.31 GB, free: 15.31 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 4.679e-06/0.2929, allocations: 4 kB / 1.31 GB, free: 15.3 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: 4
 * Number of variables: 4
Notification: Performance of Generate backend data structure: time 0.0003954/0.2933, allocations: 278 kB / 1.31 GB, free: 15 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 3.077e-05/0.2933, allocations: 8.922 kB / 1.31 GB, free: 14.99 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 4.114e-05/0.2934, allocations: 8.891 kB / 1.31 GB, free: 14.98 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 9.762e-05/0.2935, allocations: 110.5 kB / 1.31 GB, free: 14.85 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.235e-05/0.2935, allocations: 4.375 kB / 1.31 GB, free: 14.85 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.856e-05/0.2935, allocations: 4.375 kB / 1.31 GB, free: 14.84 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001002/0.2936, allocations: 42.19 kB / 1.31 GB, free: 14.8 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.2936, allocations: 4.188 kB / 1.31 GB, free: 14.79 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.13e-05/0.2936, allocations: 11.88 kB / 1.31 GB, free: 14.78 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.2936, allocations: 0 / 1.31 GB, free: 14.78 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 3.434e-05/0.2937, allocations: 4 kB / 1.31 GB, free: 14.78 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000156/0.2938, allocations: 128.8 kB / 1.31 GB, free: 14.61 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001729/0.294, allocations: 42.61 kB / 1.31 GB, free: 14.56 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 3.623e-05/0.294, allocations: 20.94 kB / 1.31 GB, free: 14.54 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 1.907e-05/0.2941, allocations: 7.938 kB / 1.31 GB, free: 14.53 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.198e-05/0.2941, allocations: 30.56 kB / 1.31 GB, free: 14.49 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.2941, allocations: 0 / 1.31 GB, free: 14.49 MB / 1.014 GB
Notification: Performance of matching and sorting (n=6): time 0.0005446/0.2946, allocations: 237.5 kB / 1.31 GB, free: 14.22 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.823e-05/0.2947, allocations: 51.41 kB / 1.31 GB, free: 14.16 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.212e-05/0.2947, allocations: 101.8 kB / 1.311 GB, free: 14.05 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 2.007e-05/0.2948, allocations: 29.7 kB / 1.311 GB, free: 14.02 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 4.489e-05/0.2948, allocations: 88.14 kB / 1.311 GB, free: 13.93 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 2.948e-05/0.2948, allocations: 23.8 kB / 1.311 GB, free: 13.9 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.48e-05/0.2949, allocations: 21.7 kB / 1.311 GB, free: 13.88 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001266/0.295, allocations: 310.8 kB / 1.311 GB, free: 13.56 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 2.385e-05/0.295, allocations: 15.94 kB / 1.311 GB, free: 13.55 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 2.523e-05/0.2951, allocations: 15.98 kB / 1.311 GB, free: 13.53 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 5.466e-05/0.2951, allocations: 32.8 kB / 1.311 GB, free: 13.5 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.01e-07/0.2951, allocations: 0 / 1.311 GB, free: 13.5 MB / 1.014 GB
Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001061/0.2952, allocations: 73.62 kB / 1.311 GB, free: 13.42 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.2952, allocations: 13.81 kB / 1.311 GB, free: 13.41 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.2952, allocations: 240 / 1.311 GB, free: 13.41 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.104e-05/0.2952, allocations: 0 / 1.311 GB, free: 13.41 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.93e-05/0.2953, allocations: 11.98 kB / 1.311 GB, free: 13.39 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.844e-06/0.2953, allocations: 7.984 kB / 1.311 GB, free: 13.39 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.657e-05/0.2953, allocations: 0 / 1.311 GB, free: 13.39 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.758e-06/0.2953, allocations: 0 / 1.311 GB, free: 13.39 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 (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 7.747e-05/0.2954, allocations: 117.8 kB / 1.311 GB, free: 13.26 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 1.287e-05/0.2954, allocations: 7.938 kB / 1.311 GB, free: 13.25 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001348/0.2955, allocations: 65.75 kB / 1.311 GB, free: 13.18 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.2956, allocations: 7.984 kB / 1.311 GB, free: 13.17 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/0.2956, allocations: 0 / 1.311 GB, free: 13.17 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.2956, allocations: 0 / 1.311 GB, free: 13.17 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000307/0.2959, allocations: 282.4 kB / 1.312 GB, free: 12.84 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.2959, allocations: 3.938 kB / 1.312 GB, free: 12.84 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.845e-05/0.2959, allocations: 12 kB / 1.312 GB, free: 12.83 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.2959, allocations: 0 / 1.312 GB, free: 12.83 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.015e-06/0.2959, allocations: 8.031 kB / 1.312 GB, free: 12.82 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.739e-06/0.2959, allocations: 4.188 kB / 1.312 GB, free: 12.82 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.216e-06/0.2959, allocations: 7.984 kB / 1.312 GB, free: 12.81 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001823/0.2961, allocations: 180.2 kB / 1.312 GB, free: 12.61 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 2.04e-05/0.2961, allocations: 8.016 kB / 1.312 GB, free: 12.61 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.157e-05/0.2962, allocations: 0 / 1.312 GB, free: 12.61 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.566e-05/0.2962, allocations: 0 / 1.312 GB, free: 12.61 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 1.26e-05/0.2962, allocations: 8.062 kB / 1.312 GB, free: 12.6 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.175e-06/0.2962, allocations: 8 kB / 1.312 GB, free: 12.59 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 4.306e-05/0.2963, allocations: 79.27 kB / 1.312 GB, free: 12.51 MB / 1.014 GB
Notification: Performance of sort global known variables: time 6e-08/0.2963, allocations: 0 / 1.312 GB, free: 12.51 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0002271/0.2965, allocations: 19.94 kB / 1.312 GB, free: 12.49 MB / 1.014 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.0001837/0.2967, allocations: 126.2 kB / 1.312 GB, free: 12.36 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.0001074/0.2968, allocations: 27.92 kB / 1.312 GB, free: 12.34 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.2968, allocations: 8 kB / 1.312 GB, free: 12.33 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 2.675e-05/0.2968, allocations: 15.94 kB / 1.312 GB, free: 12.31 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002165/0.2971, allocations: 15.92 kB / 1.312 GB, free: 12.3 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003595/0.2974, allocations: 188.6 kB / 1.312 GB, free: 12.09 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002906/0.2977, allocations: 0.6807 MB / 1.313 GB, free: 11.38 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 3.764e-05/0.2977, allocations: 12.17 kB / 1.313 GB, free: 11.37 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.667e-05/0.2978, allocations: 11.44 kB / 1.313 GB, free: 11.36 MB / 1.014 GB
Notification: Performance of SimCode: time 3.41e-07/0.2978, allocations: 0 / 1.313 GB, free: 11.36 MB / 1.014 GB
Notification: Performance of Templates: time 0.002978/0.3007, allocations: 0.6702 MB / 1.314 GB, free: 10.72 MB / 1.014 GB
"
[Timeout remaining time 300]
make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.makefile [Timeout 300]
(rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck  -abortSlowSimulation -alarm=800  -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1) [Timeout 800]
diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 7.899033748544753]