Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001927/0.001927, allocations: 114.5 kB / 18.88 MB, free: 3.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002291/0.002291, allocations: 191.5 kB / 22.17 MB, free: 5.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.564/1.564, allocations: 225.6 MB / 250.9 MB, free: 13.28 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.771/2.771, allocations: 476.7 MB / 0.7645 GB, free: 10.12 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.|err_m_flow|err_der_m_flow",fileNamePrefix="Buildings_11_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.|err_m_flow|err_der_m_flow",fileNamePrefix="Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002022/0.002022, allocations: 72.56 kB / 1.109 GB, free: 12.15 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3769/0.379, allocations: 168.7 MB / 1.274 GB, free: 11.26 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.002597/0.3816, allocations: 1.29 MB / 1.275 GB, free: 9.953 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001197/0.3828, allocations: 0.6227 MB / 1.276 GB, free: 9.328 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.066e-05/0.3828, allocations: 0 / 1.276 GB, free: 9.328 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.916e-05/0.3828, allocations: 7.938 kB / 1.276 GB, free: 9.32 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.44e-05/0.3829, allocations: 0 / 1.276 GB, free: 9.32 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005981/0.3835, allocations: 153.4 kB / 1.276 GB, free: 9.172 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 9.133e-05/0.3835, allocations: 31.92 kB / 1.276 GB, free: 9.141 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.386e-05/0.3836, allocations: 4 kB / 1.276 GB, free: 9.137 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 2.686e-05/0.3836, allocations: 11.94 kB / 1.276 GB, free: 9.125 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.333e-05/0.3837, allocations: 19.91 kB / 1.276 GB, free: 9.105 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.31e-05/0.3837, allocations: 0 / 1.276 GB, free: 9.105 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005642/0.3843, allocations: 347.3 kB / 1.276 GB, free: 8.766 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.443e-05/0.3843, allocations: 3.984 kB / 1.276 GB, free: 8.762 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.933e-05/0.3843, allocations: 19.92 kB / 1.277 GB, free: 8.742 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002787/0.3846, allocations: 151.5 kB / 1.277 GB, free: 8.594 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.3846, allocations: 3.938 kB / 1.277 GB, free: 8.59 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.673e-06/0.3846, allocations: 0 / 1.277 GB, free: 8.59 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.478e-06/0.3846, allocations: 0 / 1.277 GB, free: 8.59 MB / 0.9825 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.0005089/0.3851, allocations: 371.1 kB / 1.277 GB, free: 8.176 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.3852, allocations: 8.031 kB / 1.277 GB, free: 8.168 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.294e-05/0.3852, allocations: 8.891 kB / 1.277 GB, free: 8.16 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001429/0.3854, allocations: 168.3 kB / 1.277 GB, free: 7.957 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.381e-05/0.3854, allocations: 384 / 1.277 GB, free: 7.957 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.941e-05/0.3854, allocations: 8.375 kB / 1.277 GB, free: 7.949 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001385/0.3855, allocations: 50.23 kB / 1.277 GB, free: 7.895 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.427e-05/0.3856, allocations: 4.172 kB / 1.277 GB, free: 7.891 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.704e-05/0.3856, allocations: 7.938 kB / 1.277 GB, free: 7.883 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.657e-06/0.3856, allocations: 0 / 1.277 GB, free: 7.883 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.551e-05/0.3856, allocations: 23.92 kB / 1.277 GB, free: 7.859 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002247/0.3859, allocations: 161.6 kB / 1.277 GB, free: 7.652 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001213/0.386, allocations: 62.55 kB / 1.277 GB, free: 7.582 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.191e-05/0.386, allocations: 28.84 kB / 1.278 GB, free: 7.551 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.126e-05/0.3861, allocations: 0 / 1.278 GB, free: 7.551 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.431e-05/0.3861, allocations: 42.5 kB / 1.278 GB, free: 7.5 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 8.22e-07/0.3861, allocations: 0 / 1.278 GB, free: 7.5 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11): time 0.001233/0.3873, allocations: 0.588 MB / 1.278 GB, free: 6.82 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.283e-05/0.3874, allocations: 59.28 kB / 1.278 GB, free: 6.75 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.305e-05/0.3875, allocations: 97.86 kB / 1.278 GB, free: 6.645 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.93e-05/0.3875, allocations: 25.7 kB / 1.278 GB, free: 6.613 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.132e-05/0.3875, allocations: 80.27 kB / 1.278 GB, free: 6.531 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.58e-05/0.3876, allocations: 43.69 kB / 1.278 GB, free: 6.488 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.262e-05/0.3876, allocations: 33.7 kB / 1.278 GB, free: 6.449 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001842/0.3878, allocations: 314.8 kB / 1.279 GB, free: 6.133 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.695e-05/0.3879, allocations: 23.98 kB / 1.279 GB, free: 6.109 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001033/0.388, allocations: 23.98 kB / 1.279 GB, free: 6.086 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001076/0.3881, allocations: 52.86 kB / 1.279 GB, free: 6.031 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.3881, allocations: 0 / 1.279 GB, free: 6.031 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001631/0.3882, allocations: 106.8 kB / 1.279 GB, free: 5.922 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/0.3883, allocations: 11.98 kB / 1.279 GB, free: 5.91 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.3883, allocations: 0 / 1.279 GB, free: 5.91 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.3883, allocations: 0 / 1.279 GB, free: 5.91 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001118/0.3884, allocations: 20 kB / 1.279 GB, free: 5.891 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.588e-06/0.3884, allocations: 0 / 1.279 GB, free: 5.891 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.456e-05/0.3884, allocations: 0 / 1.279 GB, free: 5.891 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.263e-05/0.3884, allocations: 7.984 kB / 1.279 GB, free: 5.883 MB / 0.9825 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 9.851e-05/0.3885, allocations: 109.8 kB / 1.279 GB, free: 5.766 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.787e-05/0.3885, allocations: 11.89 kB / 1.279 GB, free: 5.754 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002343/0.3888, allocations: 113.5 kB / 1.279 GB, free: 5.637 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.3888, allocations: 96 / 1.279 GB, free: 5.637 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.3888, allocations: 3.938 kB / 1.279 GB, free: 5.633 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.79e-06/0.3888, allocations: 3.984 kB / 1.279 GB, free: 5.629 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004582/0.3892, allocations: 350.5 kB / 1.28 GB, free: 5.23 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.3893, allocations: 3.984 kB / 1.28 GB, free: 5.227 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001088/0.3894, allocations: 16 kB / 1.28 GB, free: 5.211 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.3894, allocations: 0 / 1.28 GB, free: 5.211 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.296e-05/0.3894, allocations: 8 kB / 1.28 GB, free: 5.203 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.3894, allocations: 0 / 1.28 GB, free: 5.203 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.3894, allocations: 7.938 kB / 1.28 GB, free: 5.195 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003048/0.3897, allocations: 223.3 kB / 1.28 GB, free: 4.961 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.452e-05/0.3897, allocations: 81.14 kB / 1.28 GB, free: 4.863 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.55e-05/0.3898, allocations: 0 / 1.28 GB, free: 4.863 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.014e-05/0.3898, allocations: 4 kB / 1.28 GB, free: 4.859 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.296e-05/0.3899, allocations: 11.98 kB / 1.28 GB, free: 4.848 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.261e-06/0.3899, allocations: 0 / 1.28 GB, free: 4.848 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.445e-05/0.3899, allocations: 83.34 kB / 1.28 GB, free: 4.766 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3899, allocations: 0 / 1.28 GB, free: 4.766 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002801/0.3902, allocations: 39.86 kB / 1.28 GB, free: 4.727 MB / 0.9825 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.0002352/0.3904, allocations: 127.6 kB / 1.28 GB, free: 4.59 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000155/0.3906, allocations: 69.22 kB / 1.28 GB, free: 4.523 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.3906, allocations: 0 / 1.28 GB, free: 4.523 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 5.491e-05/0.3906, allocations: 35.92 kB / 1.28 GB, free: 4.488 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000225/0.3909, allocations: 4 kB / 1.28 GB, free: 4.484 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005928/0.3915, allocations: 301.7 kB / 1.281 GB, free: 4.164 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000334/0.3918, allocations: 0.6807 MB / 1.281 GB, free: 3.457 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.639e-05/0.3918, allocations: 12 kB / 1.281 GB, free: 3.445 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.847e-05/0.3919, allocations: 15.42 kB / 1.281 GB, free: 3.43 MB / 0.9825 GB Notification: Performance of SimCode: time 3.71e-07/0.3919, allocations: 0 / 1.281 GB, free: 3.43 MB / 0.9825 GB Notification: Performance of Templates: time 0.003934/0.3958, allocations: 0.9897 MB / 1.282 GB, free: 2.477 MB / 0.9825 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & ./Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2 -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,m_flow,m_flow_comp,m_flow_turbulent,der(m_flow),der(m_flow_comp),err_m_flow,err_der_m_flow Variables in the result:der(m_flow),der(m_flow_comp),err_der_m_flow,err_m_flow,k,m_flow,m_flow_comp,m_flow_turbulent,time [Calling sys.exit(0), Time elapsed: 8.91930914716795]