Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_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.001974/0.001974, allocations: 79.7 kB / 20.23 MB, free: 4.188 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.002149/0.002149, allocations: 157.3 kB / 23.55 MB, free: 0.875 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.597/1.597, allocations: 177.1 MB / 203.9 MB, free: 5.598 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.959/2.959, allocations: 359 MB / 0.6048 GB, free: 10.98 MB / 0.573 GB " [Timeout remaining time 176] 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_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dp|dp_comp|der.dp.|der.dp_comp.|err_dp|err_der_dp",fileNamePrefix="Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dp|dp_comp|der.dp.|der.dp_comp.|err_dp|err_der_dp",fileNamePrefix="Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.312e-06/1.312e-06, allocations: 0 / 0.7864 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.691e-05/2.822e-05, allocations: 5.812 kB / 0.7864 GB, free: 12.81 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.002835/0.002863, allocations: 1.495 MB / 0.7878 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001252/0.004115, allocations: 0.5978 MB / 0.7884 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.347e-05/0.004149, allocations: 0 / 0.7884 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.97e-05/0.004179, allocations: 9.391 kB / 0.7884 GB, free: 10.72 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.055e-05/0.004239, allocations: 7.938 kB / 0.7884 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006074/0.004846, allocations: 160.9 kB / 0.7886 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001193/0.004966, allocations: 51.83 kB / 0.7887 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.957e-05/0.005005, allocations: 4 kB / 0.7887 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 9.969e-05/0.005105, allocations: 33 kB / 0.7887 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 5.116e-05/0.005156, allocations: 19.97 kB / 0.7887 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.046e-05/0.005177, allocations: 4 kB / 0.7887 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004861/0.005663, allocations: 280 kB / 0.789 GB, free: 10.17 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.153e-05/0.005694, allocations: 15.97 kB / 0.789 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.122e-05/0.005725, allocations: 16.91 kB / 0.789 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003636/0.006089, allocations: 183.4 kB / 0.7892 GB, free: 9.961 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.006095, allocations: 6.578 kB / 0.7892 GB, free: 9.957 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.52e-07/0.006096, allocations: 0 / 0.7892 GB, free: 9.957 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.158e-06/0.0061, allocations: 4 kB / 0.7892 GB, free: 9.953 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006746/0.006774, allocations: 423.7 kB / 0.7896 GB, free: 9.5 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.006814, allocations: 8.031 kB / 0.7896 GB, free: 9.492 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.293e-05/0.006887, allocations: 12.89 kB / 0.7896 GB, free: 9.48 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004001/0.007287, allocations: 117.2 kB / 0.7897 GB, free: 9.34 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.661e-05/0.007313, allocations: 4.375 kB / 0.7897 GB, free: 9.336 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.715e-05/0.00734, allocations: 12.91 kB / 0.7897 GB, free: 9.324 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002514/0.007592, allocations: 123.3 kB / 0.7899 GB, free: 9.188 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/0.007604, allocations: 192 / 0.7899 GB, free: 9.188 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.418e-05/0.007618, allocations: 4.375 kB / 0.7899 GB, free: 9.184 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.007622, allocations: 384 / 0.7899 GB, free: 9.184 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002114/0.007834, allocations: 52.47 kB / 0.7899 GB, free: 9.133 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005725/0.008406, allocations: 312.1 kB / 0.7902 GB, free: 8.793 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002539/0.00866, allocations: 71.91 kB / 0.7903 GB, free: 8.711 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001022/0.008762, allocations: 32.77 kB / 0.7903 GB, free: 8.676 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.972e-05/0.008792, allocations: 8.141 kB / 0.7903 GB, free: 8.668 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.483e-05/0.008837, allocations: 45.33 kB / 0.7904 GB, free: 8.613 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 9.31e-07/0.008838, allocations: 1.375 kB / 0.7904 GB, free: 8.613 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11): time 0.001587/0.01042, allocations: 0.5021 MB / 0.7909 GB, free: 8.051 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.865e-05/0.01047, allocations: 56.69 kB / 0.7909 GB, free: 7.984 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001316/0.0106, allocations: 161.9 kB / 0.7911 GB, free: 7.809 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.259e-05/0.01063, allocations: 25.7 kB / 0.7911 GB, free: 7.777 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001024/0.01073, allocations: 138.8 kB / 0.7912 GB, free: 7.637 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.535e-05/0.01078, allocations: 40.48 kB / 0.7913 GB, free: 7.598 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.022e-05/0.01084, allocations: 31.38 kB / 0.7913 GB, free: 7.559 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002615/0.0111, allocations: 0.4973 MB / 0.7918 GB, free: 7.051 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001113/0.01121, allocations: 27.98 kB / 0.7918 GB, free: 7.023 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001004/0.01131, allocations: 29.36 kB / 0.7918 GB, free: 6.996 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002195/0.01153, allocations: 78.72 kB / 0.7919 GB, free: 6.918 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.01153, allocations: 0 / 0.7919 GB, free: 6.918 MB / 0.7448 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003008/0.01183, allocations: 111.2 kB / 0.792 GB, free: 6.805 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.01184, allocations: 9.719 kB / 0.792 GB, free: 6.797 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.01185, allocations: 0 / 0.792 GB, free: 6.797 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.01186, allocations: 0 / 0.792 GB, free: 6.797 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000142/0.012, allocations: 34.77 kB / 0.7921 GB, free: 6.766 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.025e-05/0.01201, allocations: 7.922 kB / 0.7921 GB, free: 6.758 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.045e-05/0.01206, allocations: 4 kB / 0.7921 GB, free: 6.754 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.368e-05/0.01208, allocations: 7.984 kB / 0.7921 GB, free: 6.746 MB / 0.7448 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.0001269/0.01221, allocations: 160.5 kB / 0.7922 GB, free: 6.578 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.458e-05/0.01224, allocations: 12 kB / 0.7922 GB, free: 6.566 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000338/0.01258, allocations: 118.3 kB / 0.7924 GB, free: 6.449 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.285e-06/0.01258, allocations: 0.5 kB / 0.7924 GB, free: 6.449 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.01258, allocations: 1.938 kB / 0.7924 GB, free: 6.449 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.257e-06/0.01259, allocations: 4 kB / 0.7924 GB, free: 6.445 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005909/0.01318, allocations: 385.2 kB / 0.7927 GB, free: 6.027 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.01318, allocations: 0 / 0.7927 GB, free: 6.027 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001418/0.01332, allocations: 24.64 kB / 0.7927 GB, free: 6.004 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.043e-06/0.01332, allocations: 0 / 0.7927 GB, free: 6.004 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.257e-06/0.01333, allocations: 0.6875 kB / 0.7927 GB, free: 6.004 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.689e-06/0.01334, allocations: 4 kB / 0.7928 GB, free: 6 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.959e-06/0.01334, allocations: 6.781 kB / 0.7928 GB, free: 5.996 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005151/0.01386, allocations: 295.7 kB / 0.793 GB, free: 5.688 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 9.869e-06/0.01387, allocations: 4 kB / 0.793 GB, free: 5.684 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.183e-05/0.01389, allocations: 4 kB / 0.793 GB, free: 5.68 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.593e-05/0.01398, allocations: 7.984 kB / 0.7931 GB, free: 5.672 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.662e-05/0.01401, allocations: 7.984 kB / 0.7931 GB, free: 5.664 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.268e-05/0.01402, allocations: 10.09 kB / 0.7931 GB, free: 5.656 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 7.315e-05/0.0141, allocations: 119.2 kB / 0.7932 GB, free: 5.539 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.0141, allocations: 4 kB / 0.7932 GB, free: 5.535 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002738/0.01437, allocations: 39.81 kB / 0.7932 GB, free: 5.496 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (dp_comp,der_dp_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.0002714/0.01464, allocations: 144.2 kB / 0.7934 GB, free: 5.348 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002999/0.01494, allocations: 83.64 kB / 0.7934 GB, free: 5.262 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.01494, allocations: 1.125 kB / 0.7934 GB, free: 5.262 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001345/0.01508, allocations: 59.53 kB / 0.7935 GB, free: 5.199 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002486/0.01533, allocations: 17.05 kB / 0.7935 GB, free: 5.184 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006477/0.01598, allocations: 271.9 kB / 0.7938 GB, free: 4.895 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.216e-05/0.01607, allocations: 79.27 kB / 0.7939 GB, free: 4.797 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 5.514e-05/0.01612, allocations: 16.77 kB / 0.7939 GB, free: 4.781 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.628e-05/0.01616, allocations: 12.5 kB / 0.7939 GB, free: 4.766 MB / 0.7448 GB Notification: Performance of SimCode: time 4.91e-07/0.01616, allocations: 0 / 0.7939 GB, free: 4.766 MB / 0.7448 GB Notification: Performance of Templates: time 0.004553/0.02071, allocations: 1.17 MB / 0.795 GB, free: 3.652 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & ./Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_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: 8.05766172602307]