Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.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.001804/0.001804, allocations: 97.11 kB / 19.7 MB, free: 2.129 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.002128/0.002128, allocations: 211.1 kB / 23 MB, free: 4.934 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.473/1.473, allocations: 230.6 MB / 256.8 MB, free: 7.785 MB / 206.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 3.166/3.166, allocations: 0.49 GB / 0.7959 GB, free: 35.66 MB / 0.6231 GB " [Timeout remaining time 177] 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_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_comp",fileNamePrefix="Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_comp",fileNamePrefix="Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") [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.002057/0.002057, allocations: 62.5 kB / 1.155 GB, free: 25.18 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3217/0.3238, allocations: 176.1 MB / 1.327 GB, free: 0.9688 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.002591/0.3264, allocations: 1.298 MB / 1.328 GB, free: 15.66 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001101/0.3275, allocations: 0.5372 MB / 1.329 GB, free: 15.12 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.19e-05/0.3275, allocations: 0 / 1.329 GB, free: 15.12 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 1.628e-05/0.3275, allocations: 0 / 1.329 GB, free: 15.12 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 4.829e-05/0.3276, allocations: 3.938 kB / 1.329 GB, free: 15.12 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.000619/0.3282, allocations: 148.5 kB / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 7.136e-05/0.3283, allocations: 23.92 kB / 1.329 GB, free: 14.95 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.332e-05/0.3283, allocations: 4 kB / 1.329 GB, free: 14.95 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 3.75e-05/0.3283, allocations: 7.938 kB / 1.329 GB, free: 14.94 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 4.735e-05/0.3284, allocations: 11.98 kB / 1.329 GB, free: 14.93 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.348e-05/0.3284, allocations: 4 kB / 1.329 GB, free: 14.93 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000451/0.3289, allocations: 275.5 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.068e-05/0.3289, allocations: 11.92 kB / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.326e-05/0.3289, allocations: 7.984 kB / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002762/0.3292, allocations: 135.5 kB / 1.329 GB, free: 14.5 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.3292, allocations: 0 / 1.329 GB, free: 14.5 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.613e-06/0.3292, allocations: 4 kB / 1.329 GB, free: 14.5 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.746e-06/0.3292, allocations: 4 kB / 1.329 GB, free: 14.5 MB / 1.029 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.0004415/0.3296, allocations: 286 kB / 1.33 GB, free: 14.18 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/0.3297, allocations: 8.031 kB / 1.33 GB, free: 14.18 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.256e-05/0.3297, allocations: 0.9375 kB / 1.33 GB, free: 14.18 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001104/0.3298, allocations: 114.4 kB / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.205e-05/0.3298, allocations: 384 / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.598e-05/0.3299, allocations: 8.375 kB / 1.33 GB, free: 14.03 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001247/0.33, allocations: 63.89 kB / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.33, allocations: 192 / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.321e-05/0.33, allocations: 7.938 kB / 1.33 GB, free: 13.95 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.413e-06/0.33, allocations: 11.98 kB / 1.33 GB, free: 13.94 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.729e-05/0.33, allocations: 7.938 kB / 1.33 GB, free: 13.93 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001533/0.3302, allocations: 109.3 kB / 1.33 GB, free: 13.79 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001931/0.3304, allocations: 46.61 kB / 1.33 GB, free: 13.74 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.434e-05/0.3304, allocations: 12.86 kB / 1.33 GB, free: 13.72 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.331e-05/0.3305, allocations: 4.094 kB / 1.33 GB, free: 13.72 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.825e-05/0.3305, allocations: 38.48 kB / 1.33 GB, free: 13.67 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.3305, allocations: 0 / 1.33 GB, free: 13.67 MB / 1.029 GB Notification: Performance of matching and sorting (n=6): time 0.0006414/0.3311, allocations: 233.2 kB / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.929e-05/0.3312, allocations: 55.41 kB / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.561e-05/0.3312, allocations: 97.84 kB / 1.331 GB, free: 13.24 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.995e-05/0.3313, allocations: 29.7 kB / 1.331 GB, free: 13.2 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.399e-05/0.3313, allocations: 84.12 kB / 1.331 GB, free: 13.12 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.209e-05/0.3313, allocations: 19.8 kB / 1.331 GB, free: 13.1 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.907e-05/0.3314, allocations: 17.72 kB / 1.331 GB, free: 13.07 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001369/0.3315, allocations: 322.8 kB / 1.331 GB, free: 12.75 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.687e-05/0.3315, allocations: 8 kB / 1.331 GB, free: 12.74 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.307e-05/0.3316, allocations: 12.06 kB / 1.331 GB, free: 12.73 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.82e-05/0.3316, allocations: 36.84 kB / 1.331 GB, free: 12.69 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.02e-07/0.3316, allocations: 3.938 kB / 1.331 GB, free: 12.69 MB / 1.029 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001123/0.3317, allocations: 65.69 kB / 1.331 GB, free: 12.62 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/0.3318, allocations: 4 kB / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.3318, allocations: 0 / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.783e-05/0.3318, allocations: 3.938 kB / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.854e-05/0.3318, allocations: 12 kB / 1.331 GB, free: 12.6 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.3318, allocations: 0 / 1.331 GB, free: 12.6 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.159e-05/0.3319, allocations: 4 kB / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.919e-06/0.3319, allocations: 0 / 1.331 GB, free: 12.59 MB / 1.029 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 8.126e-05/0.3319, allocations: 114.4 kB / 1.331 GB, free: 12.47 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.622e-05/0.332, allocations: 7.953 kB / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001537/0.3321, allocations: 81.62 kB / 1.331 GB, free: 12.37 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.3321, allocations: 0 / 1.331 GB, free: 12.37 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.3321, allocations: 0 / 1.331 GB, free: 12.37 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.047e-05/0.3322, allocations: 7.984 kB / 1.331 GB, free: 12.36 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.36e-05/0.3322, allocations: 3.938 kB / 1.331 GB, free: 12.36 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.109e-05/0.3322, allocations: 0 / 1.331 GB, free: 12.36 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.98e-05/0.3322, allocations: 11.98 kB / 1.331 GB, free: 12.35 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001777/0.3324, allocations: 145.3 kB / 1.331 GB, free: 12.2 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000233/0.3326, allocations: 254.7 kB / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.384e-05/0.3327, allocations: 16.02 kB / 1.332 GB, free: 11.92 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.284e-05/0.3327, allocations: 87.33 kB / 1.332 GB, free: 11.83 MB / 1.029 GB Notification: Performance of Backend: time 3.31e-07/0.3327, allocations: 0 / 1.332 GB, free: 11.83 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005387/0.3333, allocations: 159.2 kB / 1.332 GB, free: 11.67 MB / 1.029 GB Notification: Performance of SimCode: time 0.0007147/0.334, allocations: 0.6256 MB / 1.333 GB, free: 11 MB / 1.029 GB Notification: Performance of Templates: time 0.004386/0.3384, allocations: 1.322 MB / 1.334 GB, free: 9.719 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & ./Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_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: 8.568427245998464]