Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_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.00173/0.00173, allocations: 105.8 kB / 18.84 MB, free: 3.023 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.00178/0.00178, allocations: 191.1 kB / 22.11 MB, free: 4.625 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.514/1.514, 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.438/3.438, allocations: 495.8 MB / 0.783 GB, free: 33.63 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_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dp|dp_comp|der.dp.|der.dp_comp.",fileNamePrefix="Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2")
translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dp|dp_comp|der.dp.|der.dp_comp.",fileNamePrefix="Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.003221/0.003221, allocations: 72.33 kB / 1.137 GB, free: 33.82 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4451/0.4483, allocations: 173.6 MB / 1.307 GB, free: 1.77 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.002947/0.4513, allocations: 1.498 MB / 1.308 GB, free: 268 kB / 0.9981 GB
Notification: Performance of NFInst.instExpressions: time 0.001236/0.4525, allocations: 0.6227 MB / 1.309 GB, free: 15.64 MB / 1.014 GB
Notification: Performance of NFInst.updateImplicitVariability: time 3.057e-05/0.4525, allocations: 0 / 1.309 GB, free: 15.64 MB / 1.014 GB
Notification: Performance of NFTyping.typeComponents: time 3.284e-05/0.4526, allocations: 3.984 kB / 1.309 GB, free: 15.63 MB / 1.014 GB
Notification: Performance of NFTyping.typeBindings: time 4.551e-05/0.4526, allocations: 7.875 kB / 1.309 GB, free: 15.62 MB / 1.014 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0005665/0.4532, allocations: 163.3 kB / 1.309 GB, free: 15.46 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 0.0001161/0.4533, allocations: 51.66 kB / 1.309 GB, free: 15.41 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 6.213e-05/0.4534, allocations: 7.984 kB / 1.309 GB, free: 15.41 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 6.217e-05/0.4534, allocations: 23.94 kB / 1.309 GB, free: 15.38 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 4.988e-05/0.4535, allocations: 23.91 kB / 1.309 GB, free: 15.36 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 1.725e-05/0.4535, allocations: 4 kB / 1.309 GB, free: 15.36 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0004685/0.454, allocations: 295.4 kB / 1.309 GB, free: 15.07 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 2.274e-05/0.454, allocations: 12 kB / 1.309 GB, free: 15.05 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 3.733e-05/0.454, allocations: 23.84 kB / 1.309 GB, free: 15.03 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.0003017/0.4543, allocations: 171.4 kB / 1.31 GB, free: 14.86 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.4543, allocations: 0 / 1.31 GB, free: 14.86 MB / 1.014 GB
Notification: Performance of FrontEnd: time 1.443e-06/0.4543, allocations: 0 / 1.31 GB, free: 14.86 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 9.648e-06/0.4543, allocations: 0 / 1.31 GB, free: 14.86 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: 13
 * Number of variables: 13
Notification: Performance of Generate backend data structure: time 0.0006485/0.455, allocations: 333.8 kB / 1.31 GB, free: 14.5 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/0.455, allocations: 15.97 kB / 1.31 GB, free: 14.49 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 3.87e-05/0.4551, allocations: 0.9375 kB / 1.31 GB, free: 14.49 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001283/0.4552, allocations: 114.5 kB / 1.31 GB, free: 14.35 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.955e-05/0.4552, allocations: 4.375 kB / 1.31 GB, free: 14.35 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 3.038e-05/0.4553, allocations: 8.375 kB / 1.31 GB, free: 14.34 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002573/0.4555, allocations: 75.59 kB / 1.31 GB, free: 14.26 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.297e-05/0.4555, allocations: 4.188 kB / 1.31 GB, free: 14.26 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.009e-05/0.4556, allocations: 7.938 kB / 1.31 GB, free: 14.25 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.4556, allocations: 4 kB / 1.31 GB, free: 14.25 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002638/0.4558, allocations: 51.89 kB / 1.31 GB, free: 14.2 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006266/0.4565, allocations: 291.8 kB / 1.31 GB, free: 13.87 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0003376/0.4568, allocations: 82.47 kB / 1.311 GB, free: 13.78 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001255/0.4569, allocations: 24.84 kB / 1.311 GB, free: 13.75 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 2.508e-05/0.4569, allocations: 8.125 kB / 1.311 GB, free: 13.74 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.97e-05/0.457, allocations: 46.48 kB / 1.311 GB, free: 13.69 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=7): time 1.182e-06/0.457, allocations: 0 / 1.311 GB, free: 13.69 MB / 1.014 GB
Notification: Performance of matching and sorting (n=11): time 0.001752/0.4587, allocations: 499.6 kB / 1.311 GB, free: 13.14 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.614e-05/0.4588, allocations: 55.41 kB / 1.311 GB, free: 13.08 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.008e-05/0.4589, allocations: 105.8 kB / 1.311 GB, free: 12.96 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 2.348e-05/0.4589, allocations: 29.7 kB / 1.311 GB, free: 12.93 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 6.659e-05/0.459, allocations: 96.08 kB / 1.311 GB, free: 12.83 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 4.232e-05/0.459, allocations: 39.59 kB / 1.311 GB, free: 12.79 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 5.094e-05/0.4591, allocations: 29.7 kB / 1.311 GB, free: 12.76 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001579/0.4592, allocations: 322.8 kB / 1.312 GB, free: 12.43 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001403/0.4594, allocations: 23.98 kB / 1.312 GB, free: 12.41 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001465/0.4595, allocations: 39.97 kB / 1.312 GB, free: 12.37 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0002746/0.4598, allocations: 78.39 kB / 1.312 GB, free: 12.29 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.4598, allocations: 0 / 1.312 GB, free: 12.29 MB / 1.014 GB
Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003432/0.4601, allocations: 113.6 kB / 1.312 GB, free: 12.18 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/0.4601, allocations: 4.938 kB / 1.312 GB, free: 12.17 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.718e-06/0.4602, allocations: 4 kB / 1.312 GB, free: 12.17 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/0.4602, allocations: 4 kB / 1.312 GB, free: 12.16 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001718/0.4603, allocations: 31.92 kB / 1.312 GB, free: 12.13 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.4603, allocations: 0 / 1.312 GB, free: 12.13 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.401e-05/0.4604, allocations: 11.92 kB / 1.312 GB, free: 12.12 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.081e-05/0.4604, allocations: 4 kB / 1.312 GB, free: 12.12 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.0001013/0.4605, allocations: 121.8 kB / 1.312 GB, free: 11.99 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.975e-05/0.4606, allocations: 0 / 1.312 GB, free: 11.99 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000441/0.461, allocations: 137.6 kB / 1.312 GB, free: 11.84 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.461, allocations: 7.922 kB / 1.312 GB, free: 11.84 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.461, allocations: 0 / 1.312 GB, free: 11.84 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.461, allocations: 3.938 kB / 1.312 GB, free: 11.83 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006265/0.4616, allocations: 349.6 kB / 1.313 GB, free: 11.44 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.4616, allocations: 0 / 1.313 GB, free: 11.44 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001572/0.4618, allocations: 23.98 kB / 1.313 GB, free: 11.42 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.4618, allocations: 3.938 kB / 1.313 GB, free: 11.41 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.625e-05/0.4618, allocations: 15.92 kB / 1.313 GB, free: 11.4 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.4618, allocations: 0 / 1.313 GB, free: 11.4 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.4618, allocations: 0 / 1.313 GB, free: 11.4 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00057/0.4624, allocations: 254.6 kB / 1.313 GB, free: 11.14 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 1.038e-05/0.4624, allocations: 4.031 kB / 1.313 GB, free: 11.13 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.178e-05/0.4624, allocations: 7.938 kB / 1.313 GB, free: 11.12 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001311/0.4626, allocations: 16.05 kB / 1.313 GB, free: 11.11 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 2.735e-05/0.4626, allocations: 4 kB / 1.313 GB, free: 11.11 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.615e-05/0.4626, allocations: 11.98 kB / 1.313 GB, free: 11.09 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 4.54e-05/0.4626, allocations: 75.47 kB / 1.313 GB, free: 11.02 MB / 1.014 GB
Notification: Performance of sort global known variables: time 8e-08/0.4626, allocations: 0 / 1.313 GB, free: 11.02 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0002995/0.4629, allocations: 39.88 kB / 1.313 GB, free: 10.98 MB / 1.014 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 1
 * Number of states: 2 (dp_comp,der_dp_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.0002306/0.4632, allocations: 132 kB / 1.313 GB, free: 10.84 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.0003523/0.4635, allocations: 83.89 kB / 1.313 GB, free: 10.76 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.4635, allocations: 0 / 1.313 GB, free: 10.76 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 0.0001606/0.4637, allocations: 47.91 kB / 1.313 GB, free: 10.71 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003142/0.464, allocations: 13 kB / 1.313 GB, free: 10.7 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007031/0.4647, allocations: 317.7 kB / 1.314 GB, free: 10.37 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003541/0.4651, allocations: 0.6924 MB / 1.314 GB, free: 9.648 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 5.769e-05/0.4651, allocations: 12.59 kB / 1.314 GB, free: 9.637 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 3.291e-05/0.4652, allocations: 19.44 kB / 1.314 GB, free: 9.617 MB / 1.014 GB
Notification: Performance of SimCode: time 2.91e-07/0.4652, allocations: 0 / 1.314 GB, free: 9.617 MB / 1.014 GB
Notification: Performance of Templates: time 0.004291/0.4694, allocations: 1.189 MB / 1.315 GB, free: 8.469 MB / 1.014 GB
"
[Timeout remaining time 300]
make -j1 -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & ./Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_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.54052774142474]