Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_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.001801/0.001801, allocations: 104.6 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.002219/0.002219, allocations: 190 kB / 22.1 MB, free: 4.223 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.516/1.516, allocations: 225.6 MB / 250.8 MB, free: 2.91 MB / 190.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 2.96/2.96, allocations: 495.8 MB / 0.783 GB, free: 12.23 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_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dp|dp_comp",fileNamePrefix="Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck")
translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dp|dp_comp",fileNamePrefix="Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002036/0.002036, allocations: 63.89 kB / 1.137 GB, free: 12.18 MB / 0.92 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 1.194/1.196, allocations: 173.6 MB / 1.307 GB, free: 33.77 MB / 1.061 GB
Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.002546/1.198, allocations: 1.299 MB / 1.308 GB, free: 32.86 MB / 1.061 GB
Notification: Performance of NFInst.instExpressions: time 0.000908/1.199, allocations: 0.6085 MB / 1.309 GB, free: 32.43 MB / 1.061 GB
Notification: Performance of NFInst.updateImplicitVariability: time 3.605e-05/1.199, allocations: 0 / 1.309 GB, free: 32.43 MB / 1.061 GB
Notification: Performance of NFTyping.typeComponents: time 1.839e-05/1.199, allocations: 3.938 kB / 1.309 GB, free: 32.43 MB / 1.061 GB
Notification: Performance of NFTyping.typeBindings: time 4.029e-05/1.199, allocations: 6.766 kB / 1.309 GB, free: 32.43 MB / 1.061 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0006111/1.2, allocations: 149.7 kB / 1.309 GB, free: 32.36 MB / 1.061 GB
Notification: Performance of NFFlatten.flatten: time 8.378e-05/1.2, allocations: 15.77 kB / 1.309 GB, free: 32.35 MB / 1.061 GB
Notification: Performance of NFFlatten.resolveConnections: time 4.762e-05/1.2, allocations: 6.875 kB / 1.309 GB, free: 32.35 MB / 1.061 GB
Notification: Performance of NFEvalConstants.evaluate: time 4.503e-05/1.2, allocations: 10.75 kB / 1.309 GB, free: 32.34 MB / 1.061 GB
Notification: Performance of NFSimplifyModel.simplify: time 6.172e-05/1.2, allocations: 12.7 kB / 1.309 GB, free: 32.34 MB / 1.061 GB
Notification: Performance of NFPackage.collectConstants: time 1.404e-05/1.2, allocations: 0 / 1.309 GB, free: 32.34 MB / 1.061 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0004537/1.201, allocations: 277.9 kB / 1.309 GB, free: 32.26 MB / 1.061 GB
Notification: Performance of NFScalarize.scalarize: time 2.05e-05/1.201, allocations: 11.2 kB / 1.309 GB, free: 32.25 MB / 1.061 GB
Notification: Performance of NFVerifyModel.verify: time 2.681e-05/1.201, allocations: 9.812 kB / 1.309 GB, free: 32.25 MB / 1.061 GB
Notification: Performance of NFConvertDAE.convert: time 0.0003032/1.201, allocations: 135.2 kB / 1.309 GB, free: 32.21 MB / 1.061 GB
Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/1.201, allocations: 0 / 1.309 GB, free: 32.21 MB / 1.061 GB
Notification: Performance of FrontEnd: time 2.074e-06/1.201, allocations: 4 kB / 1.309 GB, free: 32.21 MB / 1.061 GB
Notification: Performance of Transformations before backend: time 6.582e-06/1.201, allocations: 0 / 1.309 GB, free: 32.21 MB / 1.061 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.0004085/1.201, allocations: 286.7 kB / 1.31 GB, free: 31.92 MB / 1.061 GB
Notification: Performance of prepare preOptimizeDAE: time 3.866e-05/1.201, allocations: 8.812 kB / 1.31 GB, free: 31.92 MB / 1.061 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 4.02e-05/1.201, allocations: 0.9375 kB / 1.31 GB, free: 31.92 MB / 1.061 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 8e-05/1.202, allocations: 112.9 kB / 1.31 GB, free: 31.79 MB / 1.061 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.302e-05/1.202, allocations: 4.312 kB / 1.31 GB, free: 31.79 MB / 1.061 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.154e-05/1.202, allocations: 3.688 kB / 1.31 GB, free: 31.79 MB / 1.061 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001067/1.202, allocations: 43.22 kB / 1.31 GB, free: 31.75 MB / 1.061 GB
Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/1.202, allocations: 4.188 kB / 1.31 GB, free: 31.74 MB / 1.061 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/1.202, allocations: 3.938 kB / 1.31 GB, free: 31.74 MB / 1.061 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/1.202, allocations: 2.969 kB / 1.31 GB, free: 31.74 MB / 1.061 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 4.474e-05/1.202, allocations: 20.98 kB / 1.31 GB, free: 31.73 MB / 1.061 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001407/1.202, allocations: 126.1 kB / 1.31 GB, free: 31.57 MB / 1.061 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001816/1.202, allocations: 40.56 kB / 1.31 GB, free: 31.54 MB / 1.061 GB
Notification: Performance of preOpt resolveLoops (simulation): time 2.982e-05/1.202, allocations: 20.84 kB / 1.31 GB, free: 31.53 MB / 1.061 GB
Notification: Performance of preOpt evalFunc (simulation): time 2.117e-05/1.202, allocations: 4 kB / 1.31 GB, free: 31.52 MB / 1.061 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.555e-05/1.202, allocations: 30.56 kB / 1.31 GB, free: 31.48 MB / 1.061 GB
Notification: Performance of pre-optimization done (n=4): time 1.032e-06/1.202, allocations: 0 / 1.31 GB, free: 31.48 MB / 1.061 GB
Notification: Performance of matching and sorting (n=6): time 0.0005703/1.203, allocations: 244.2 kB / 1.31 GB, free: 31.28 MB / 1.061 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 2.701e-05/1.203, allocations: 53.66 kB / 1.31 GB, free: 31.22 MB / 1.061 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.7e-05/1.203, allocations: 92.64 kB / 1.31 GB, free: 31.12 MB / 1.061 GB
Notification: Performance of collectPreVariables (initialization): time 9.829e-06/1.203, allocations: 32.89 kB / 1.31 GB, free: 31.09 MB / 1.061 GB
Notification: Performance of collectInitialEqns (initialization): time 1.737e-05/1.203, allocations: 87.42 kB / 1.31 GB, free: 31 MB / 1.061 GB
Notification: Performance of collectInitialBindings (initialization): time 2.612e-05/1.203, allocations: 14.52 kB / 1.31 GB, free: 30.99 MB / 1.061 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.099e-05/1.203, allocations: 19.72 kB / 1.31 GB, free: 30.97 MB / 1.061 GB
Notification: Performance of setup shared object (initialization): time 4.271e-05/1.203, allocations: 317.8 kB / 1.311 GB, free: 30.65 MB / 1.061 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 2.492e-05/1.203, allocations: 5.125 kB / 1.311 GB, free: 30.65 MB / 1.061 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 2.075e-05/1.203, allocations: 19.47 kB / 1.311 GB, free: 30.64 MB / 1.061 GB
Notification: Performance of analyzeInitialSystem (initialization): time 5.178e-05/1.203, allocations: 35.27 kB / 1.311 GB, free: 30.62 MB / 1.061 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.22e-07/1.203, allocations: 4 kB / 1.311 GB, free: 30.62 MB / 1.061 GB
Notification: Performance of matching and sorting (n=7) (initialization): time 8.59e-05/1.203, allocations: 71.75 kB / 1.311 GB, free: 30.57 MB / 1.061 GB
Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/1.203, allocations: 11.75 kB / 1.311 GB, free: 30.56 MB / 1.061 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/1.203, allocations: 0 / 1.311 GB, free: 30.56 MB / 1.061 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/1.203, allocations: 5.719 kB / 1.311 GB, free: 30.56 MB / 1.061 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.097e-05/1.203, allocations: 7.906 kB / 1.311 GB, free: 30.56 MB / 1.061 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.092e-06/1.203, allocations: 0 / 1.311 GB, free: 30.56 MB / 1.061 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.071e-05/1.203, allocations: 6.719 kB / 1.311 GB, free: 30.56 MB / 1.061 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.29e-06/1.203, allocations: 0 / 1.311 GB, free: 30.56 MB / 1.061 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 4.713e-05/1.203, allocations: 108.5 kB / 1.311 GB, free: 30.45 MB / 1.061 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 1.394e-05/1.203, allocations: 13.92 kB / 1.311 GB, free: 30.44 MB / 1.061 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001342/1.203, allocations: 81.39 kB / 1.311 GB, free: 30.38 MB / 1.061 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/1.203, allocations: 3.938 kB / 1.311 GB, free: 30.37 MB / 1.061 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/1.203, allocations: 0 / 1.311 GB, free: 30.37 MB / 1.061 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/1.203, allocations: 0 / 1.311 GB, free: 30.37 MB / 1.061 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002484/1.204, allocations: 284.6 kB / 1.311 GB, free: 30.08 MB / 1.061 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/1.204, allocations: 0 / 1.311 GB, free: 30.08 MB / 1.061 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.135e-05/1.204, allocations: 11.25 kB / 1.311 GB, free: 30.08 MB / 1.061 GB
Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/1.204, allocations: 4.031 kB / 1.311 GB, free: 30.08 MB / 1.061 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.055e-06/1.204, allocations: 2.781 kB / 1.311 GB, free: 30.08 MB / 1.061 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/1.204, allocations: 3.328 kB / 1.311 GB, free: 30.08 MB / 1.061 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/1.204, allocations: 0 / 1.311 GB, free: 30.08 MB / 1.061 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001436/1.204, allocations: 177.1 kB / 1.312 GB, free: 29.92 MB / 1.061 GB
Notification: Performance of postOpt removeConstants (simulation): time 2.155e-05/1.204, allocations: 6.547 kB / 1.312 GB, free: 29.92 MB / 1.061 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.452e-05/1.204, allocations: 14.38 kB / 1.312 GB, free: 29.91 MB / 1.061 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001059/1.204, allocations: 4.062 kB / 1.312 GB, free: 29.9 MB / 1.061 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 1.66e-05/1.204, allocations: 5.703 kB / 1.312 GB, free: 29.9 MB / 1.061 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.242e-06/1.204, allocations: 2.844 kB / 1.312 GB, free: 29.9 MB / 1.061 GB
Notification: Performance of sorting global known variables: time 2.026e-05/1.204, allocations: 82.27 kB / 1.312 GB, free: 29.82 MB / 1.061 GB
Notification: Performance of sort global known variables: time 8e-08/1.204, allocations: 0 / 1.312 GB, free: 29.82 MB / 1.061 GB
Notification: Performance of remove unused functions: time 0.0005406/1.205, allocations: 29.94 kB / 1.312 GB, free: 29.81 MB / 1.061 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 2
 * Number of states: 1 (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 (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.0001671/1.205, allocations: 112.1 kB / 1.312 GB, free: 29.72 MB / 1.061 GB
Notification: Performance of simCode: created initialization part: time 0.0001111/1.205, allocations: 39.47 kB / 1.312 GB, free: 29.71 MB / 1.061 GB
Notification: Performance of simCode: created event and clocks part: time 2.365e-06/1.205, allocations: 0 / 1.312 GB, free: 29.71 MB / 1.061 GB
Notification: Performance of simCode: created simulation system equations: time 2.615e-05/1.205, allocations: 18.84 kB / 1.312 GB, free: 29.7 MB / 1.061 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002205/1.205, allocations: 6.812 kB / 1.312 GB, free: 29.7 MB / 1.061 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003655/1.206, allocations: 199.2 kB / 1.312 GB, free: 29.52 MB / 1.061 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001029/1.206, allocations: 0.6844 MB / 1.313 GB, free: 28.82 MB / 1.061 GB
Notification: Performance of simCode: alias equations: time 3.096e-05/1.206, allocations: 3.734 kB / 1.313 GB, free: 28.82 MB / 1.061 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 1.877e-05/1.206, allocations: 10.48 kB / 1.313 GB, free: 28.81 MB / 1.061 GB
Notification: Performance of SimCode: time 6.51e-07/1.206, allocations: 0 / 1.313 GB, free: 28.81 MB / 1.061 GB
Notification: Performance of Templates: time 0.003347/1.209, allocations: 0.6935 MB / 1.313 GB, free: 28.74 MB / 1.061 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & ./Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_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.804162111133337]