Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.002236/0.002236, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.003061/0.003061, allocations: 213.8 kB / 22.25 MB, free: 4.855 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.572/1.572, allocations: 230.6 MB / 256 MB, free: 7.789 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.458/3.458, allocations: 0.5107 GB / 0.8158 GB, free: 17.79 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_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_latest_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_latest_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.002274/0.002274, allocations: 70.09 kB / 1.186 GB, free: 13.44 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3846/0.3869, allocations: 181.9 MB / 1.364 GB, free: 13.56 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.002563/0.3895, allocations: 1.294 MB / 1.365 GB, free: 12.25 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001064/0.3905, allocations: 0.541 MB / 1.366 GB, free: 11.71 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.276e-05/0.3906, allocations: 0 / 1.366 GB, free: 11.71 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.134e-05/0.3906, allocations: 0 / 1.366 GB, free: 11.71 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 3.772e-05/0.3906, allocations: 15.91 kB / 1.366 GB, free: 11.7 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005761/0.3912, allocations: 149.5 kB / 1.366 GB, free: 11.55 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 6.416e-05/0.3913, allocations: 27.92 kB / 1.366 GB, free: 11.52 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.563e-05/0.3913, allocations: 3.984 kB / 1.366 GB, free: 11.52 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 3.204e-05/0.3913, allocations: 27.91 kB / 1.366 GB, free: 11.49 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 5.711e-05/0.3914, allocations: 7.938 kB / 1.366 GB, free: 11.48 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.242e-05/0.3914, allocations: 0 / 1.366 GB, free: 11.48 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004478/0.3919, allocations: 271.5 kB / 1.366 GB, free: 11.22 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.505e-05/0.3919, allocations: 4 kB / 1.366 GB, free: 11.21 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.017e-05/0.3919, allocations: 19.92 kB / 1.366 GB, free: 11.2 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002772/0.3922, allocations: 139.5 kB / 1.366 GB, free: 11.06 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.3922, allocations: 0 / 1.366 GB, free: 11.06 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.193e-06/0.3922, allocations: 0 / 1.366 GB, free: 11.06 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.3922, allocations: 0 / 1.366 GB, free: 11.06 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004247/0.3926, allocations: 294 kB / 1.367 GB, free: 10.74 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.565e-05/0.3927, allocations: 12.03 kB / 1.367 GB, free: 10.73 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.102e-05/0.3927, allocations: 4.891 kB / 1.367 GB, free: 10.72 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001178/0.3928, allocations: 114.5 kB / 1.367 GB, free: 10.59 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.315e-05/0.3928, allocations: 384 / 1.367 GB, free: 10.59 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.405e-05/0.3929, allocations: 4.375 kB / 1.367 GB, free: 10.58 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001781/0.393, allocations: 113.6 kB / 1.367 GB, free: 10.45 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/0.3931, allocations: 192 / 1.367 GB, free: 10.45 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.363e-05/0.3931, allocations: 3.938 kB / 1.367 GB, free: 10.45 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.3931, allocations: 0 / 1.367 GB, free: 10.45 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.934e-05/0.3931, allocations: 19.98 kB / 1.367 GB, free: 10.43 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001621/0.3933, allocations: 117.3 kB / 1.367 GB, free: 10.29 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001267/0.3934, allocations: 62.56 kB / 1.367 GB, free: 10.21 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.478e-05/0.3935, allocations: 25.02 kB / 1.367 GB, free: 10.19 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.035e-05/0.3935, allocations: 3.984 kB / 1.367 GB, free: 10.18 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.324e-05/0.3935, allocations: 38.55 kB / 1.367 GB, free: 10.14 MB / 1.061 GB Notification: Performance of pre-optimization done (n=7): time 1.012e-06/0.3935, allocations: 0 / 1.367 GB, free: 10.14 MB / 1.061 GB Notification: Performance of matching and sorting (n=11): time 0.001095/0.3946, allocations: 439.6 kB / 1.367 GB, free: 9.652 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.23e-05/0.3946, allocations: 59.41 kB / 1.368 GB, free: 9.582 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.135e-05/0.3947, allocations: 93.84 kB / 1.368 GB, free: 9.48 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.52e-05/0.3948, allocations: 33.7 kB / 1.368 GB, free: 9.441 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 3.801e-05/0.3948, allocations: 80.14 kB / 1.368 GB, free: 9.359 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.726e-05/0.3948, allocations: 43.61 kB / 1.368 GB, free: 9.316 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.726e-05/0.3949, allocations: 25.72 kB / 1.368 GB, free: 9.285 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.000146/0.395, allocations: 322.8 kB / 1.368 GB, free: 8.961 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.059e-05/0.3951, allocations: 19.94 kB / 1.368 GB, free: 8.941 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.202e-05/0.3951, allocations: 27.92 kB / 1.368 GB, free: 8.914 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.891e-05/0.3952, allocations: 56.09 kB / 1.368 GB, free: 8.859 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.3952, allocations: 4 kB / 1.368 GB, free: 8.855 MB / 1.061 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001585/0.3954, allocations: 101.6 kB / 1.368 GB, free: 8.75 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.3954, allocations: 7.938 kB / 1.368 GB, free: 8.742 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.3954, allocations: 0 / 1.368 GB, free: 8.742 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.3954, allocations: 0 / 1.368 GB, free: 8.742 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001122/0.3955, allocations: 27.92 kB / 1.368 GB, free: 8.715 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.3955, allocations: 0 / 1.368 GB, free: 8.715 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.731e-05/0.3956, allocations: 4 kB / 1.368 GB, free: 8.711 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.847e-06/0.3956, allocations: 4 kB / 1.368 GB, free: 8.707 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 (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 8.845e-05/0.3957, allocations: 109.8 kB / 1.368 GB, free: 8.59 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.632e-05/0.3957, allocations: 15.89 kB / 1.368 GB, free: 8.574 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002276/0.3959, allocations: 109.6 kB / 1.369 GB, free: 8.449 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.3959, allocations: 0 / 1.369 GB, free: 8.449 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.3959, allocations: 0 / 1.369 GB, free: 8.449 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.237e-06/0.3959, allocations: 0 / 1.369 GB, free: 8.449 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000395/0.3963, allocations: 294.4 kB / 1.369 GB, free: 8.125 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.3963, allocations: 11.94 kB / 1.369 GB, free: 8.113 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001097/0.3964, allocations: 23.92 kB / 1.369 GB, free: 8.09 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.033e-06/0.3964, allocations: 0 / 1.369 GB, free: 8.09 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.072e-05/0.3964, allocations: 4 kB / 1.369 GB, free: 8.086 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.447e-06/0.3964, allocations: 4 kB / 1.369 GB, free: 8.082 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.3964, allocations: 4 kB / 1.369 GB, free: 8.078 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002648/0.3967, allocations: 219.3 kB / 1.369 GB, free: 7.848 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 6.432e-06/0.3967, allocations: 4.031 kB / 1.369 GB, free: 7.844 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.439e-05/0.3967, allocations: 0 / 1.369 GB, free: 7.844 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.877e-05/0.3968, allocations: 4 kB / 1.369 GB, free: 7.84 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.342e-05/0.3968, allocations: 11.98 kB / 1.369 GB, free: 7.828 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.262e-06/0.3968, allocations: 0 / 1.369 GB, free: 7.828 MB / 1.061 GB Notification: Performance of sorting global known variables: time 4.034e-05/0.3969, allocations: 79.28 kB / 1.369 GB, free: 7.75 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.3969, allocations: 0 / 1.369 GB, free: 7.75 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002696/0.3971, allocations: 40.02 kB / 1.369 GB, free: 7.711 MB / 1.061 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.0002052/0.3974, allocations: 139 kB / 1.369 GB, free: 7.566 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001457/0.3975, allocations: 55.91 kB / 1.369 GB, free: 7.512 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.3975, allocations: 0 / 1.369 GB, free: 7.512 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 5.46e-05/0.3976, allocations: 35.92 kB / 1.369 GB, free: 7.477 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002243/0.3978, allocations: 11.94 kB / 1.369 GB, free: 7.465 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005577/0.3983, allocations: 285.3 kB / 1.37 GB, free: 7.16 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.312e-05/0.3984, allocations: 67.34 kB / 1.37 GB, free: 7.074 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 4.598e-05/0.3984, allocations: 11.97 kB / 1.37 GB, free: 7.062 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.732e-05/0.3985, allocations: 15.44 kB / 1.37 GB, free: 7.051 MB / 1.061 GB Notification: Performance of SimCode: time 3.1e-07/0.3985, allocations: 0 / 1.37 GB, free: 7.051 MB / 1.061 GB Notification: Performance of Templates: time 0.003639/0.4021, allocations: 0.9421 MB / 1.371 GB, free: 6.16 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2 -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.485211551189423]