Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001422/0.001422, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001597/0.001597, allocations: 209.8 kB / 22.24 MB, free: 5.262 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.492/1.492, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.423/3.423, allocations: 0.5107 GB / 0.8158 GB, free: 17.85 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.002118/0.002118, allocations: 68.78 kB / 1.186 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3771/0.3792, allocations: 181.9 MB / 1.364 GB, free: 13.76 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.002573/0.3818, allocations: 1.298 MB / 1.365 GB, free: 12.45 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001063/0.3828, allocations: 0.5453 MB / 1.366 GB, free: 11.9 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.196e-05/0.3829, allocations: 0 / 1.366 GB, free: 11.9 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.399e-05/0.3829, allocations: 3.938 kB / 1.366 GB, free: 11.9 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 4.209e-05/0.3829, allocations: 3.984 kB / 1.366 GB, free: 11.89 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006014/0.3835, allocations: 151.4 kB / 1.366 GB, free: 11.75 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 7.964e-05/0.3836, allocations: 15.92 kB / 1.366 GB, free: 11.73 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 5.561e-05/0.3837, allocations: 7.984 kB / 1.366 GB, free: 11.72 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 4.921e-05/0.3837, allocations: 15.94 kB / 1.366 GB, free: 11.71 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 5.919e-05/0.3838, allocations: 4 kB / 1.366 GB, free: 11.7 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.487e-05/0.3838, allocations: 0 / 1.366 GB, free: 11.7 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005029/0.3843, allocations: 271.5 kB / 1.366 GB, free: 11.44 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.869e-05/0.3843, allocations: 4 kB / 1.366 GB, free: 11.43 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.348e-05/0.3843, allocations: 11.88 kB / 1.366 GB, free: 11.42 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002865/0.3846, allocations: 135.6 kB / 1.366 GB, free: 11.29 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.3846, allocations: 0 / 1.366 GB, free: 11.29 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.463e-06/0.3846, allocations: 0 / 1.366 GB, free: 11.29 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.831e-06/0.3846, allocations: 0 / 1.366 GB, free: 11.29 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.0004611/0.3851, allocations: 286 kB / 1.367 GB, free: 10.98 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.3851, allocations: 12.03 kB / 1.367 GB, free: 10.96 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.911e-05/0.3852, allocations: 4.891 kB / 1.367 GB, free: 10.96 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001228/0.3853, allocations: 114.4 kB / 1.367 GB, free: 10.82 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.187e-05/0.3853, allocations: 384 / 1.367 GB, free: 10.82 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.311e-05/0.3853, allocations: 8.375 kB / 1.367 GB, free: 10.82 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001347/0.3855, allocations: 59.95 kB / 1.367 GB, free: 10.75 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.3855, allocations: 192 / 1.367 GB, free: 10.75 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.438e-05/0.3855, allocations: 7.938 kB / 1.367 GB, free: 10.74 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.6e-06/0.3855, allocations: 4 kB / 1.367 GB, free: 10.73 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.571e-05/0.3855, allocations: 7.984 kB / 1.367 GB, free: 10.73 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001451/0.3857, allocations: 109.3 kB / 1.367 GB, free: 10.59 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000183/0.3858, allocations: 50.55 kB / 1.367 GB, free: 10.53 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.415e-05/0.3859, allocations: 16.94 kB / 1.367 GB, free: 10.51 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.648e-05/0.3859, allocations: 4 kB / 1.367 GB, free: 10.51 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.728e-05/0.3859, allocations: 34.5 kB / 1.367 GB, free: 10.46 MB / 1.061 GB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.3859, allocations: 0 / 1.367 GB, free: 10.46 MB / 1.061 GB Notification: Performance of matching and sorting (n=6): time 0.0005676/0.3865, allocations: 229.2 kB / 1.367 GB, free: 10.21 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.783e-05/0.3865, allocations: 51.41 kB / 1.367 GB, free: 10.14 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.079e-05/0.3866, allocations: 98.17 kB / 1.367 GB, free: 10.04 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/0.3866, allocations: 29.7 kB / 1.367 GB, free: 10 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 4.28e-05/0.3867, allocations: 84.14 kB / 1.367 GB, free: 9.918 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.927e-05/0.3867, allocations: 23.78 kB / 1.367 GB, free: 9.895 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.613e-05/0.3868, allocations: 21.66 kB / 1.367 GB, free: 9.867 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001606/0.3869, allocations: 318.8 kB / 1.368 GB, free: 9.547 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.6e-05/0.3869, allocations: 11.98 kB / 1.368 GB, free: 9.535 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.09e-05/0.387, allocations: 8 kB / 1.368 GB, free: 9.527 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.31e-05/0.387, allocations: 36.84 kB / 1.368 GB, free: 9.488 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.61e-07/0.387, allocations: 0 / 1.368 GB, free: 9.488 MB / 1.061 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001042/0.3871, allocations: 65.64 kB / 1.368 GB, free: 9.418 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.054e-05/0.3871, allocations: 4 kB / 1.368 GB, free: 9.414 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.3871, allocations: 8.359 kB / 1.368 GB, free: 9.406 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.129e-05/0.3872, allocations: 0 / 1.368 GB, free: 9.406 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.955e-05/0.3872, allocations: 19.98 kB / 1.368 GB, free: 9.387 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.406e-06/0.3872, allocations: 7.984 kB / 1.368 GB, free: 9.379 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.06e-05/0.3872, allocations: 7.984 kB / 1.368 GB, free: 9.371 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.308e-06/0.3873, allocations: 0 / 1.368 GB, free: 9.371 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 8.792e-05/0.3873, allocations: 109.8 kB / 1.368 GB, free: 9.254 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.025e-05/0.3874, allocations: 0 / 1.368 GB, free: 9.254 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001562/0.3875, allocations: 81.67 kB / 1.368 GB, free: 9.156 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.3875, allocations: 0 / 1.368 GB, free: 9.156 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.3875, allocations: 4 kB / 1.368 GB, free: 9.152 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.574e-06/0.3875, allocations: 0 / 1.368 GB, free: 9.152 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003009/0.3878, allocations: 255.1 kB / 1.368 GB, free: 8.863 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.3878, allocations: 3.938 kB / 1.368 GB, free: 8.859 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.543e-05/0.3879, allocations: 19.92 kB / 1.368 GB, free: 8.84 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.3879, allocations: 0 / 1.368 GB, free: 8.84 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.342e-06/0.3879, allocations: 0 / 1.368 GB, free: 8.84 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.3879, allocations: 4 kB / 1.368 GB, free: 8.836 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3879, allocations: 0 / 1.368 GB, free: 8.836 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001986/0.3881, allocations: 176.4 kB / 1.369 GB, free: 8.645 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 5.783e-05/0.3882, allocations: 19.89 kB / 1.369 GB, free: 8.625 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.65e-05/0.3882, allocations: 4 kB / 1.369 GB, free: 8.621 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.295e-05/0.3883, allocations: 4 kB / 1.369 GB, free: 8.617 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.111e-05/0.3883, allocations: 7.984 kB / 1.369 GB, free: 8.609 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.829e-06/0.3883, allocations: 0 / 1.369 GB, free: 8.609 MB / 1.061 GB Notification: Performance of sorting global known variables: time 4.232e-05/0.3883, allocations: 79.28 kB / 1.369 GB, free: 8.531 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3883, allocations: 3.938 kB / 1.369 GB, free: 8.527 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002503/0.3886, allocations: 23.94 kB / 1.369 GB, free: 8.504 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (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 (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.0002079/0.3888, allocations: 119.1 kB / 1.369 GB, free: 8.379 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001118/0.3889, allocations: 36.17 kB / 1.369 GB, free: 8.344 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.3889, allocations: 0 / 1.369 GB, free: 8.344 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 3.863e-05/0.3889, allocations: 27.92 kB / 1.369 GB, free: 8.316 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002189/0.3892, allocations: 3.938 kB / 1.369 GB, free: 8.312 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004355/0.3896, allocations: 193.6 kB / 1.369 GB, free: 8.098 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.774e-05/0.3896, allocations: 67.28 kB / 1.369 GB, free: 8.012 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.822e-05/0.3897, allocations: 4 kB / 1.369 GB, free: 8.008 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.125e-05/0.3897, allocations: 11.44 kB / 1.369 GB, free: 8 MB / 1.061 GB Notification: Performance of SimCode: time 2.81e-07/0.3897, allocations: 0 / 1.369 GB, free: 8 MB / 1.061 GB Notification: Performance of Templates: time 0.003085/0.3928, allocations: 0.6369 MB / 1.37 GB, free: 7.406 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 9.182127363979816]