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.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.001628/0.001628, allocations: 84.39 kB / 20.23 MB, free: 4.176 MB / 18.57 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.0016/0.0016, allocations: 161.7 kB / 23.55 MB, free: 0.8633 MB / 18.57 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.487/1.487, allocations: 177.1 MB / 203.9 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.723/2.723, allocations: 359 MB / 0.6048 GB, free: 10.97 MB / 0.573 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.|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 1.724e-06/1.724e-06, allocations: 0 / 0.7864 GB, free: 11.7 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.459e-05/2.631e-05, allocations: 6.312 kB / 0.7864 GB, free: 11.7 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.00273/0.002756, allocations: 1.298 MB / 0.7876 GB, free: 10.4 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001269/0.004026, allocations: 0.5521 MB / 0.7882 GB, free: 9.852 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.263e-05/0.004048, allocations: 0.6562 kB / 0.7882 GB, free: 9.852 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 1.999e-05/0.004068, allocations: 1.25 kB / 0.7882 GB, free: 9.852 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 4.179e-05/0.00411, allocations: 3.984 kB / 0.7882 GB, free: 9.848 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006471/0.004757, allocations: 152.1 kB / 0.7883 GB, free: 9.699 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 7.769e-05/0.004835, allocations: 27.91 kB / 0.7884 GB, free: 9.672 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 3.794e-05/0.004873, allocations: 8.5 kB / 0.7884 GB, free: 9.664 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 4.543e-05/0.004918, allocations: 16.67 kB / 0.7884 GB, free: 9.648 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 6.245e-05/0.004981, allocations: 11.97 kB / 0.7884 GB, free: 9.637 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.723e-05/0.004998, allocations: 4.906 kB / 0.7884 GB, free: 9.633 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000497/0.005495, allocations: 267.4 kB / 0.7887 GB, free: 9.371 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.191e-05/0.005517, allocations: 12.64 kB / 0.7887 GB, free: 9.359 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 2.932e-05/0.005546, allocations: 7.984 kB / 0.7887 GB, free: 9.352 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0003294/0.005876, allocations: 172.7 kB / 0.7888 GB, free: 9.184 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.005878, allocations: 0 / 0.7888 GB, free: 9.184 MB / 0.698 GB Notification: Performance of FrontEnd: time 7.41e-07/0.005879, allocations: 0 / 0.7888 GB, free: 9.184 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.757e-06/0.005883, allocations: 1.625 kB / 0.7888 GB, free: 9.184 MB / 0.698 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.0004521/0.006335, allocations: 293.9 kB / 0.7891 GB, free: 8.863 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/0.006373, allocations: 12.02 kB / 0.7891 GB, free: 8.852 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.144e-05/0.006425, allocations: 8.938 kB / 0.7891 GB, free: 8.844 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001209/0.006546, allocations: 114.9 kB / 0.7893 GB, free: 8.707 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.344e-05/0.006559, allocations: 4.359 kB / 0.7893 GB, free: 8.703 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.048e-05/0.006589, allocations: 8.375 kB / 0.7893 GB, free: 8.695 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001562/0.006746, allocations: 99.25 kB / 0.7894 GB, free: 8.582 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.006756, allocations: 192 / 0.7894 GB, free: 8.582 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.009e-05/0.006766, allocations: 384 / 0.7894 GB, free: 8.582 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.084e-06/0.006773, allocations: 4.375 kB / 0.7894 GB, free: 8.578 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.842e-05/0.006831, allocations: 19.92 kB / 0.7894 GB, free: 8.559 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001728/0.007004, allocations: 116.8 kB / 0.7895 GB, free: 8.418 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001247/0.007129, allocations: 58.5 kB / 0.7896 GB, free: 8.352 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.76e-05/0.007186, allocations: 32.83 kB / 0.7896 GB, free: 8.316 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.443e-05/0.007211, allocations: 4 kB / 0.7896 GB, free: 8.312 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.502e-05/0.007246, allocations: 30.56 kB / 0.7896 GB, free: 8.273 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 9.11e-07/0.007247, allocations: 0 / 0.7896 GB, free: 8.273 MB / 0.698 GB Notification: Performance of matching and sorting (n=11): time 0.001307/0.008554, allocations: 452.5 kB / 0.79 GB, free: 7.777 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.875e-05/0.008602, allocations: 57 kB / 0.7901 GB, free: 7.711 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.2e-05/0.008694, allocations: 97.86 kB / 0.7902 GB, free: 7.605 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.42e-05/0.008719, allocations: 25.7 kB / 0.7902 GB, free: 7.574 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.962e-05/0.008778, allocations: 80.8 kB / 0.7903 GB, free: 7.492 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.226e-05/0.008831, allocations: 43.69 kB / 0.7903 GB, free: 7.449 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.119e-05/0.008882, allocations: 26.42 kB / 0.7904 GB, free: 7.418 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001789/0.009061, allocations: 314.8 kB / 0.7907 GB, free: 7.102 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.878e-05/0.009109, allocations: 25.02 kB / 0.7907 GB, free: 7.078 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.821e-05/0.009158, allocations: 24 kB / 0.7907 GB, free: 7.055 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001178/0.009275, allocations: 60.84 kB / 0.7908 GB, free: 6.992 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.009276, allocations: 0.9062 kB / 0.7908 GB, free: 6.992 MB / 0.698 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001945/0.009471, allocations: 104.7 kB / 0.7909 GB, free: 6.887 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.009485, allocations: 5.344 kB / 0.7909 GB, free: 6.883 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.00949, allocations: 0 / 0.7909 GB, free: 6.883 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.821e-05/0.009508, allocations: 3.938 kB / 0.7909 GB, free: 6.879 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001108/0.009619, allocations: 23.98 kB / 0.7909 GB, free: 6.855 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.009624, allocations: 4.906 kB / 0.7909 GB, free: 6.852 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.516e-05/0.009649, allocations: 0 / 0.7909 GB, free: 6.852 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.412e-05/0.009663, allocations: 8.969 kB / 0.7909 GB, free: 6.844 MB / 0.698 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 0.0001032/0.009767, allocations: 113.8 kB / 0.791 GB, free: 6.723 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.527e-05/0.009792, allocations: 9.047 kB / 0.791 GB, free: 6.715 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002181/0.01001, allocations: 105.7 kB / 0.7911 GB, free: 6.609 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.143e-06/0.01002, allocations: 7.938 kB / 0.7911 GB, free: 6.602 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.01002, allocations: 1.5 kB / 0.7911 GB, free: 6.602 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.01002, allocations: 0 / 0.7911 GB, free: 6.602 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004433/0.01047, allocations: 294.3 kB / 0.7914 GB, free: 6.277 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.01047, allocations: 0 / 0.7914 GB, free: 6.277 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001201/0.01059, allocations: 24.53 kB / 0.7914 GB, free: 6.254 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.249e-06/0.01059, allocations: 4.531 kB / 0.7914 GB, free: 6.25 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.046e-05/0.0106, allocations: 3.984 kB / 0.7915 GB, free: 6.246 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.01061, allocations: 0.5312 kB / 0.7915 GB, free: 6.246 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/0.01061, allocations: 8.766 kB / 0.7915 GB, free: 6.238 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003062/0.01092, allocations: 219.5 kB / 0.7917 GB, free: 6.008 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.362e-06/0.01092, allocations: 0.9062 kB / 0.7917 GB, free: 6.008 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.069e-05/0.01094, allocations: 11.91 kB / 0.7917 GB, free: 5.996 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.478e-05/0.01104, allocations: 7.984 kB / 0.7917 GB, free: 5.988 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.003e-05/0.01106, allocations: 4.531 kB / 0.7917 GB, free: 5.984 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.158e-05/0.01107, allocations: 9.359 kB / 0.7917 GB, free: 5.977 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.671e-05/0.01112, allocations: 75.28 kB / 0.7918 GB, free: 5.902 MB / 0.698 GB Notification: Performance of sort global known variables: time 5e-08/0.01112, allocations: 0 / 0.7918 GB, free: 5.902 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002912/0.01141, allocations: 37.16 kB / 0.7918 GB, free: 5.867 MB / 0.698 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.0002626/0.01167, allocations: 140 kB / 0.7919 GB, free: 5.719 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001597/0.01183, allocations: 56.73 kB / 0.792 GB, free: 5.664 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.01183, allocations: 0 / 0.792 GB, free: 5.664 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 5.468e-05/0.01189, allocations: 28.92 kB / 0.792 GB, free: 5.637 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002311/0.01212, allocations: 8 kB / 0.792 GB, free: 5.629 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005548/0.01267, allocations: 250.1 kB / 0.7923 GB, free: 5.383 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.846e-05/0.01275, allocations: 75.33 kB / 0.7923 GB, free: 5.289 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 5.033e-05/0.0128, allocations: 15.98 kB / 0.7924 GB, free: 5.273 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.482e-05/0.01284, allocations: 12.5 kB / 0.7924 GB, free: 5.258 MB / 0.698 GB Notification: Performance of SimCode: time 4.71e-07/0.01284, allocations: 0 / 0.7924 GB, free: 5.258 MB / 0.698 GB Notification: Performance of Templates: time 0.003859/0.0167, allocations: 0.942 MB / 0.7933 GB, free: 4.363 MB / 0.698 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 7.4798559619812295]