Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001497/0.001497, allocations: 80.41 kB / 20.23 MB, free: 4.199 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001676/0.001676, allocations: 161.7 kB / 23.55 MB, free: 0.8906 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.512/1.512, allocations: 177.1 MB / 203.9 MB, free: 5.582 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.864/2.864, allocations: 377.8 MB / 0.6232 GB, free: 8.523 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_comp|m_flow_turbulent|der.m_flow.|der.m_flow_comp.",fileNamePrefix="Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_comp|m_flow_turbulent|der.m_flow.|der.m_flow_comp.",fileNamePrefix="Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.552e-06/1.552e-06, allocations: 0 / 0.8108 GB, free: 2.094 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.024e-05/3.179e-05, allocations: 3.156 kB / 0.8108 GB, free: 2.09 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.003263/0.003295, allocations: 1.315 MB / 0.8121 GB, free: 0.7812 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.00144/0.004735, allocations: 0.5403 MB / 0.8126 GB, free: 248 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.08e-05/0.004776, allocations: 1.688 kB / 0.8126 GB, free: 248 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 3.204e-05/0.004808, allocations: 3.984 kB / 0.8126 GB, free: 244 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 4.915e-05/0.004857, allocations: 3.938 kB / 0.8126 GB, free: 240 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009113/0.005768, allocations: 152.7 kB / 0.8128 GB, free: 88 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0001067/0.005875, allocations: 23.92 kB / 0.8128 GB, free: 64 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 5.275e-05/0.005928, allocations: 3.938 kB / 0.8128 GB, free: 60 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 6.343e-05/0.005991, allocations: 25.06 kB / 0.8128 GB, free: 36 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 9.04e-05/0.006082, allocations: 11.92 kB / 0.8128 GB, free: 24 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.987e-05/0.006102, allocations: 0 / 0.8128 GB, free: 24 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006636/0.006765, allocations: 276.9 kB / 0.8131 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 3.296e-05/0.006798, allocations: 7.984 kB / 0.8131 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 3.07e-05/0.006829, allocations: 4 kB / 0.8131 GB, free: 15.74 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0003619/0.007191, allocations: 167.5 kB / 0.8133 GB, free: 15.58 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.007194, allocations: 0.7188 kB / 0.8133 GB, free: 15.58 MB / 0.7761 GB Notification: Performance of FrontEnd: time 8.42e-07/0.007195, allocations: 0 / 0.8133 GB, free: 15.58 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 1.622e-05/0.007211, allocations: 0.5312 kB / 0.8133 GB, free: 15.58 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005024/0.007713, allocations: 287.6 kB / 0.8136 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.988e-05/0.007753, allocations: 8.031 kB / 0.8136 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.707e-05/0.00781, allocations: 12.89 kB / 0.8136 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001281/0.007938, allocations: 113.7 kB / 0.8137 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.296e-05/0.007951, allocations: 1 kB / 0.8137 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.221e-05/0.007984, allocations: 5.094 kB / 0.8137 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001933/0.008177, allocations: 105.6 kB / 0.8138 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.008189, allocations: 0.8438 kB / 0.8138 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.123e-05/0.0082, allocations: 384 / 0.8138 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.008205, allocations: 8.844 kB / 0.8138 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.041e-05/0.008265, allocations: 19.92 kB / 0.8138 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000192/0.008457, allocations: 110.1 kB / 0.8139 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001401/0.008598, allocations: 63.86 kB / 0.814 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.29e-05/0.008651, allocations: 25.09 kB / 0.814 GB, free: 14.72 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.708e-05/0.008678, allocations: 4 kB / 0.814 GB, free: 14.72 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.08e-05/0.008718, allocations: 34.55 kB / 0.814 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=7): time 9.11e-07/0.008719, allocations: 1.75 kB / 0.814 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of matching and sorting (n=11): time 0.001319/0.01004, allocations: 458.7 kB / 0.8145 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.658e-05/0.01009, allocations: 51.41 kB / 0.8145 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.952e-05/0.01019, allocations: 105.8 kB / 0.8146 GB, free: 14 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.258e-05/0.01022, allocations: 25.7 kB / 0.8147 GB, free: 13.97 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.424e-05/0.01027, allocations: 88 kB / 0.8147 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 5.653e-05/0.01033, allocations: 43.64 kB / 0.8148 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.954e-05/0.01038, allocations: 21.72 kB / 0.8148 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0004171/0.01079, allocations: 318.8 kB / 0.8151 GB, free: 13.49 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.742e-05/0.01084, allocations: 17.16 kB / 0.8151 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.113e-05/0.01089, allocations: 27.98 kB / 0.8151 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001114/0.011, allocations: 58.98 kB / 0.8152 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/0.01101, allocations: 4.562 kB / 0.8152 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001895/0.0112, allocations: 98.17 kB / 0.8153 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.01121, allocations: 4.562 kB / 0.8153 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.01122, allocations: 3.938 kB / 0.8153 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.879e-05/0.01124, allocations: 4.875 kB / 0.8153 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001154/0.01135, allocations: 23.98 kB / 0.8153 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.01136, allocations: 1 kB / 0.8153 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.627e-05/0.01138, allocations: 0 / 0.8153 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.027e-05/0.01139, allocations: 4 kB / 0.8153 GB, free: 13.24 MB / 0.7761 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.0001024/0.0115, allocations: 116.2 kB / 0.8155 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.013e-05/0.01153, allocations: 11.95 kB / 0.8155 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002294/0.01175, allocations: 109.7 kB / 0.8156 GB, free: 13 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.01176, allocations: 3.938 kB / 0.8156 GB, free: 13 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.01176, allocations: 0 / 0.8156 GB, free: 13 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.01177, allocations: 0 / 0.8156 GB, free: 13 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004684/0.01223, allocations: 287 kB / 0.8158 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.01224, allocations: 0.8125 kB / 0.8158 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001183/0.01235, allocations: 27.92 kB / 0.8159 GB, free: 12.65 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.374e-06/0.01236, allocations: 8.812 kB / 0.8159 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.113e-05/0.01237, allocations: 4 kB / 0.8159 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.739e-06/0.01238, allocations: 4 kB / 0.8159 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.01238, allocations: 1.219 kB / 0.8159 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003235/0.0127, allocations: 219.5 kB / 0.8161 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 8.436e-06/0.01271, allocations: 0 / 0.8161 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.962e-05/0.01273, allocations: 8.906 kB / 0.8161 GB, free: 12.4 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.803e-05/0.01283, allocations: 4 kB / 0.8161 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.471e-05/0.01285, allocations: 14.14 kB / 0.8161 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.498e-06/0.01286, allocations: 4 kB / 0.8161 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.869e-05/0.01292, allocations: 75.28 kB / 0.8162 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.01292, allocations: 0 / 0.8162 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002991/0.01322, allocations: 39.86 kB / 0.8162 GB, free: 12.27 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (m_flow_comp,der_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 (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.0002644/0.01349, allocations: 140.1 kB / 0.8164 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001681/0.01365, allocations: 60.97 kB / 0.8164 GB, free: 12.06 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.01366, allocations: 0 / 0.8164 GB, free: 12.06 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 5.498e-05/0.01371, allocations: 24 kB / 0.8165 GB, free: 12.04 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002494/0.01396, allocations: 14.95 kB / 0.8165 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005733/0.01453, allocations: 242.9 kB / 0.8167 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.076e-05/0.01461, allocations: 71.2 kB / 0.8168 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 4.609e-05/0.01466, allocations: 8.094 kB / 0.8168 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.441e-05/0.0147, allocations: 20.48 kB / 0.8168 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of SimCode: time 4.11e-07/0.0147, allocations: 4 kB / 0.8168 GB, free: 11.65 MB / 0.7761 GB Notification: Performance of Templates: time 0.004261/0.01897, allocations: 0.9433 MB / 0.8177 GB, free: 10.76 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & ./Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_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: 7.68255299795419]