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.001767/0.001767, allocations: 78.17 kB / 19.76 MB, free: 2.035 MB / 14.72 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.002135/0.002135, allocations: 158.8 kB / 23.01 MB, free: 4.945 MB / 14.72 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.482/1.482, allocations: 177.2 MB / 203.4 MB, free: 8.949 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.91/2.91, allocations: 377.9 MB / 0.6228 GB, free: 12.58 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002361/0.002361, allocations: 63.91 kB / 0.982 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.096/1.098, allocations: 176.1 MB / 1.154 GB, free: 33.31 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.002207/1.1, allocations: 1.291 MB / 1.155 GB, free: 32.42 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0008778/1.101, allocations: 0.5443 MB / 1.156 GB, free: 32.06 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.893e-05/1.101, allocations: 0 / 1.156 GB, free: 32.06 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 1.928e-05/1.101, allocations: 3.938 kB / 1.156 GB, free: 32.06 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 3.921e-05/1.101, allocations: 0 / 1.156 GB, free: 32.06 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005018/1.102, allocations: 147.4 kB / 1.156 GB, free: 31.99 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 6.219e-05/1.102, allocations: 36.61 kB / 1.156 GB, free: 31.98 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 4.599e-05/1.102, allocations: 7.938 kB / 1.156 GB, free: 31.97 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 1.909e-05/1.102, allocations: 11.97 kB / 1.156 GB, free: 31.96 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 6.001e-05/1.102, allocations: 13.08 kB / 1.156 GB, free: 31.96 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.381e-05/1.102, allocations: 3.984 kB / 1.156 GB, free: 31.96 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003578/1.102, allocations: 264.3 kB / 1.156 GB, free: 31.9 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 1.764e-05/1.102, allocations: 6.781 kB / 1.156 GB, free: 31.89 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 2.52e-05/1.102, allocations: 20.75 kB / 1.156 GB, free: 31.88 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0002289/1.103, allocations: 143.8 kB / 1.156 GB, free: 31.84 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/1.103, allocations: 3.938 kB / 1.156 GB, free: 31.84 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.473e-06/1.103, allocations: 0 / 1.156 GB, free: 31.84 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.4e-06/1.103, allocations: 4 kB / 1.156 GB, free: 31.84 MB / 1.076 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.0003786/1.103, allocations: 287.7 kB / 1.157 GB, free: 31.55 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.893e-05/1.103, allocations: 11.16 kB / 1.157 GB, free: 31.55 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.994e-05/1.103, allocations: 7.438 kB / 1.157 GB, free: 31.54 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.001e-05/1.103, allocations: 117.8 kB / 1.157 GB, free: 31.41 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.161e-05/1.103, allocations: 2.969 kB / 1.157 GB, free: 31.41 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.311e-05/1.103, allocations: 2.875 kB / 1.157 GB, free: 31.41 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001326/1.103, allocations: 109.9 kB / 1.157 GB, free: 31.3 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/1.103, allocations: 192 / 1.157 GB, free: 31.3 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.145e-05/1.103, allocations: 3.938 kB / 1.157 GB, free: 31.29 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/1.103, allocations: 6.75 kB / 1.157 GB, free: 31.29 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.884e-05/1.103, allocations: 23.16 kB / 1.157 GB, free: 31.28 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001232/1.104, allocations: 113.2 kB / 1.157 GB, free: 31.15 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 9.517e-05/1.104, allocations: 61.66 kB / 1.157 GB, free: 31.11 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.559e-05/1.104, allocations: 24.45 kB / 1.157 GB, free: 31.09 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.041e-05/1.104, allocations: 5.859 kB / 1.157 GB, free: 31.09 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.121e-05/1.104, allocations: 30.56 kB / 1.157 GB, free: 31.05 MB / 1.076 GB Notification: Performance of pre-optimization done (n=7): time 1.042e-06/1.104, allocations: 2.594 kB / 1.157 GB, free: 31.05 MB / 1.076 GB Notification: Performance of matching and sorting (n=11): time 0.000918/1.105, allocations: 442.6 kB / 1.158 GB, free: 30.73 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.69e-05/1.105, allocations: 61.97 kB / 1.158 GB, free: 30.66 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.077e-05/1.105, allocations: 99.61 kB / 1.158 GB, free: 30.55 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.113e-05/1.105, allocations: 29.7 kB / 1.158 GB, free: 30.52 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 1.779e-05/1.105, allocations: 82.7 kB / 1.158 GB, free: 30.44 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 3.14e-05/1.105, allocations: 37.47 kB / 1.158 GB, free: 30.41 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.578e-05/1.105, allocations: 32.22 kB / 1.158 GB, free: 30.38 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 4.904e-05/1.105, allocations: 318.1 kB / 1.158 GB, free: 30.06 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.57e-05/1.105, allocations: 20.77 kB / 1.158 GB, free: 30.06 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.273e-05/1.105, allocations: 28.39 kB / 1.158 GB, free: 30.05 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.736e-05/1.105, allocations: 53.17 kB / 1.158 GB, free: 30.02 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.42e-07/1.105, allocations: 0 / 1.158 GB, free: 30.02 MB / 1.076 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001205/1.105, allocations: 105.4 kB / 1.158 GB, free: 29.96 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.217e-05/1.105, allocations: 9.281 kB / 1.158 GB, free: 29.96 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/1.105, allocations: 0 / 1.158 GB, free: 29.96 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/1.105, allocations: 0 / 1.158 GB, free: 29.96 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.683e-05/1.105, allocations: 22.11 kB / 1.158 GB, free: 29.96 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/1.105, allocations: 0 / 1.158 GB, free: 29.96 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.506e-05/1.105, allocations: 6.906 kB / 1.158 GB, free: 29.95 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.236e-06/1.105, allocations: 2.844 kB / 1.158 GB, free: 29.95 MB / 1.076 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 4.986e-05/1.105, allocations: 117.4 kB / 1.159 GB, free: 29.83 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.373e-05/1.105, allocations: 6.656 kB / 1.159 GB, free: 29.83 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001648/1.106, allocations: 109.6 kB / 1.159 GB, free: 29.75 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/1.106, allocations: 0 / 1.159 GB, free: 29.75 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.708e-06/1.106, allocations: 4 kB / 1.159 GB, free: 29.75 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/1.106, allocations: 6.062 kB / 1.159 GB, free: 29.75 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002994/1.106, allocations: 295.4 kB / 1.159 GB, free: 29.48 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/1.106, allocations: 0 / 1.159 GB, free: 29.48 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.898e-05/1.106, allocations: 21.48 kB / 1.159 GB, free: 29.48 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/1.106, allocations: 3.984 kB / 1.159 GB, free: 29.48 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.385e-06/1.106, allocations: 8 kB / 1.159 GB, free: 29.47 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/1.106, allocations: 2.594 kB / 1.159 GB, free: 29.47 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/1.106, allocations: 3.938 kB / 1.159 GB, free: 29.47 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001928/1.106, allocations: 219.6 kB / 1.159 GB, free: 29.3 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 7.925e-06/1.106, allocations: 7.047 kB / 1.159 GB, free: 29.3 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.36e-05/1.106, allocations: 0 / 1.159 GB, free: 29.3 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.431e-05/1.106, allocations: 2.938 kB / 1.159 GB, free: 29.3 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.78e-05/1.106, allocations: 10.28 kB / 1.159 GB, free: 29.29 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.935e-06/1.106, allocations: 6.344 kB / 1.159 GB, free: 29.29 MB / 1.076 GB Notification: Performance of sorting global known variables: time 1.821e-05/1.106, allocations: 82.12 kB / 1.159 GB, free: 29.21 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/1.106, allocations: 4.156 kB / 1.159 GB, free: 29.21 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002625/1.107, allocations: 34.94 kB / 1.159 GB, free: 29.2 MB / 1.076 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.0001598/1.107, allocations: 131.7 kB / 1.159 GB, free: 29.1 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0001329/1.107, allocations: 60.06 kB / 1.159 GB, free: 29.09 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/1.107, allocations: 0 / 1.159 GB, free: 29.09 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 3.869e-05/1.107, allocations: 28.8 kB / 1.16 GB, free: 29.08 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002155/1.107, allocations: 12.55 kB / 1.16 GB, free: 29.07 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004667/1.108, allocations: 278.8 kB / 1.16 GB, free: 28.85 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.73e-05/1.108, allocations: 77.27 kB / 1.16 GB, free: 28.77 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 4.075e-05/1.108, allocations: 13.05 kB / 1.16 GB, free: 28.77 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.284e-05/1.108, allocations: 14.12 kB / 1.16 GB, free: 28.76 MB / 1.076 GB Notification: Performance of SimCode: time 3.1e-07/1.108, allocations: 0 / 1.16 GB, free: 28.76 MB / 1.076 GB Notification: Performance of Templates: time 0.003387/1.111, allocations: 0.9303 MB / 1.161 GB, free: 28.64 MB / 1.076 GB " [Timeout remaining time 299] 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 -s ida -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/jenkins1/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: 9.367651258944534]