Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dp|dp_comp",fileNamePrefix="Buildings_maint.7.0.x_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=5000,variableFilter="time|dp|dp_comp",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.396/1.396, allocations: 249.5 MB / 257 MB, free: 6.953 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001019/0.001019, allocations: 187.2 kB / 316.3 MB, free: 3.25 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.261/1.261, allocations: 205.3 MB / 0.5671 GB, free: 15.84 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008311/0.000831, allocations: 82.48 kB / 0.6714 GB, free: 4.969 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.817e-05/1.819e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1735/0.1735, allocations: 106.3 MB / 0.8852 GB, free: 12.28 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6036/0.7772, allocations: 132.6 MB / 1.015 GB, free: 5.25 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002303/0.7775, allocations: 76.52 kB / 1.015 GB, free: 5.207 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.008397/0.7859, allocations: 2.813 MB / 1.018 GB, free: 2.863 MB / 0.6355 GB Notification: Performance of FrontEnd: time 4.489e-06/0.7859, allocations: 4 kB / 1.018 GB, free: 2.859 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.388e-06/0.786, allocations: 0 / 1.018 GB, free: 2.859 MB / 0.6355 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.0002906/0.7863, allocations: 345.7 kB / 1.018 GB, free: 2.48 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/0.7863, allocations: 12.03 kB / 1.018 GB, free: 2.469 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.117e-05/0.7863, allocations: 0 / 1.018 GB, free: 2.469 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001224/0.7865, allocations: 179.8 kB / 1.018 GB, free: 2.254 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.247e-05/0.7865, allocations: 0 / 1.018 GB, free: 2.254 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.978e-05/0.7865, allocations: 0 / 1.018 GB, free: 2.254 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.802e-05/0.7866, allocations: 11.38 kB / 1.018 GB, free: 2.246 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.526e-05/0.7867, allocations: 33.69 kB / 1.018 GB, free: 2.207 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.7867, allocations: 0 / 1.018 GB, free: 2.207 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.929e-06/0.7867, allocations: 4 kB / 1.018 GB, free: 2.203 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.7867, allocations: 0 / 1.018 GB, free: 2.203 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001627/0.7869, allocations: 144.8 kB / 1.018 GB, free: 2.031 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001585/0.787, allocations: 42.14 kB / 1.018 GB, free: 1.984 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.821e-05/0.7871, allocations: 12.3 kB / 1.018 GB, free: 1.973 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.124e-05/0.7871, allocations: 3.984 kB / 1.018 GB, free: 1.969 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.268e-05/0.7871, allocations: 42.64 kB / 1.018 GB, free: 1.918 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 9.72e-07/0.7872, allocations: 0 / 1.018 GB, free: 1.918 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6): time 0.0005257/0.7877, allocations: 283 kB / 1.019 GB, free: 1.605 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.886e-05/0.7877, allocations: 51.41 kB / 1.019 GB, free: 1.543 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.063e-05/0.7878, allocations: 89 kB / 1.019 GB, free: 1.449 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.453e-05/0.7878, allocations: 25.7 kB / 1.019 GB, free: 1.418 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.13e-05/0.7879, allocations: 84.02 kB / 1.019 GB, free: 1.336 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.754e-05/0.7879, allocations: 19.8 kB / 1.019 GB, free: 1.316 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.606e-06/0.7879, allocations: 3.938 kB / 1.019 GB, free: 1.312 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001061/0.788, allocations: 317.9 kB / 1.019 GB, free: 0.9961 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.03e-05/0.788, allocations: 11.81 kB / 1.019 GB, free: 0.9883 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.603e-05/0.7881, allocations: 7.438 kB / 1.019 GB, free: 0.9844 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.721e-05/0.7881, allocations: 13 kB / 1.019 GB, free: 0.9727 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.11e-07/0.7881, allocations: 0 / 1.019 GB, free: 0.9727 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.127e-05/0.7882, allocations: 60.23 kB / 1.019 GB, free: 0.9141 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/0.7882, allocations: 4 kB / 1.019 GB, free: 0.9102 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.134e-06/0.7882, allocations: 7.984 kB / 1.019 GB, free: 0.9023 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.131e-05/0.7882, allocations: 4 kB / 1.019 GB, free: 0.8984 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.859e-05/0.7883, allocations: 11.38 kB / 1.019 GB, free: 0.8906 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.138e-06/0.7883, allocations: 240 / 1.019 GB, free: 0.8906 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.766e-05/0.7883, allocations: 0 / 1.019 GB, free: 0.8906 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.025e-05/0.7883, allocations: 8.859 kB / 1.019 GB, free: 0.8828 MB / 0.6355 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.901e-05/0.7884, allocations: 104.9 kB / 1.019 GB, free: 0.7734 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.658e-06/0.7884, allocations: 4 kB / 1.019 GB, free: 0.7695 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001339/0.7886, allocations: 64.83 kB / 1.019 GB, free: 0.6992 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.7886, allocations: 8.375 kB / 1.019 GB, free: 0.6914 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.7886, allocations: 0 / 1.019 GB, free: 0.6914 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.7886, allocations: 0 / 1.019 GB, free: 0.6914 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002728/0.7889, allocations: 286.9 kB / 1.02 GB, free: 388 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-06/0.7889, allocations: 7.938 kB / 1.02 GB, free: 380 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.235e-05/0.789, allocations: 15.92 kB / 1.02 GB, free: 364 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.789, allocations: 0 / 1.02 GB, free: 364 kB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.845e-06/0.789, allocations: 3.984 kB / 1.02 GB, free: 360 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.789, allocations: 4 kB / 1.02 GB, free: 356 kB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.789, allocations: 4.031 kB / 1.02 GB, free: 352 kB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001833/0.7892, allocations: 186.6 kB / 1.02 GB, free: 156 kB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.762e-05/0.7892, allocations: 85.09 kB / 1.02 GB, free: 52 kB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.626e-05/0.7893, allocations: 4.031 kB / 1.02 GB, free: 48 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.389e-05/0.7893, allocations: 0 / 1.02 GB, free: 48 kB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.73e-05/0.7894, allocations: 4.062 kB / 1.02 GB, free: 44 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.229e-06/0.7894, allocations: 4 kB / 1.02 GB, free: 40 kB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.576e-05/0.7894, allocations: 83.09 kB / 1.02 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7894, allocations: 0 / 1.02 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002444/0.7897, allocations: 31.86 kB / 1.02 GB, free: 15.93 MB / 0.6511 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002027/0.7899, allocations: 123.1 kB / 1.02 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 9.753e-05/0.79, allocations: 26.69 kB / 1.02 GB, free: 15.78 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.79, allocations: 0 / 1.02 GB, free: 15.78 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 2.525e-05/0.79, allocations: 23.19 kB / 1.02 GB, free: 15.76 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001484/0.7902, allocations: 4.766 kB / 1.02 GB, free: 15.76 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003239/0.7905, allocations: 138.4 kB / 1.02 GB, free: 15.6 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002834/0.7908, allocations: 0.6807 MB / 1.021 GB, free: 14.89 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.967e-05/0.7909, allocations: 11.98 kB / 1.021 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.927e-05/0.7909, allocations: 11.44 kB / 1.021 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of SimCode: time 2.41e-07/0.7909, allocations: 0 / 1.021 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of Templates: time 0.002505/0.7934, allocations: 0.5887 MB / 1.022 GB, free: 14.34 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches