Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_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.00192/0.00192, allocations: 79.69 kB / 20.23 MB, free: 4.184 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.002044/0.002044, allocations: 161.3 kB / 23.55 MB, free: 0.8672 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.619/1.619, allocations: 177.1 MB / 203.9 MB, free: 5.602 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.862/2.862, allocations: 359 MB / 0.6048 GB, free: 10.97 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_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dp|dp_comp",fileNamePrefix="Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dp|dp_comp",fileNamePrefix="Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.472e-06/1.472e-06, allocations: 0 / 0.7864 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.672e-05/2.819e-05, allocations: 3.219 kB / 0.7864 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.00252/0.002548, allocations: 1.312 MB / 0.7877 GB, free: 11.51 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001151/0.003699, allocations: 0.5763 MB / 0.7882 GB, free: 10.94 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.358e-05/0.003723, allocations: 0 / 0.7882 GB, free: 10.94 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 1.576e-05/0.003739, allocations: 2.844 kB / 0.7882 GB, free: 10.94 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 3.794e-05/0.003777, allocations: 0 / 0.7882 GB, free: 10.94 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005806/0.004357, allocations: 151.2 kB / 0.7884 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 7.01e-05/0.004427, allocations: 23.86 kB / 0.7884 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.402e-05/0.004461, allocations: 0 / 0.7884 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 6.384e-05/0.004525, allocations: 17.34 kB / 0.7884 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.649e-05/0.004572, allocations: 4 kB / 0.7884 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.348e-05/0.004585, allocations: 0 / 0.7884 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004937/0.005079, allocations: 275.4 kB / 0.7887 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.261e-05/0.005091, allocations: 0.5938 kB / 0.7887 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.562e-05/0.005117, allocations: 12.88 kB / 0.7887 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003152/0.005432, allocations: 155.5 kB / 0.7888 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.005436, allocations: 0 / 0.7888 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.82e-07/0.005437, allocations: 0.7188 kB / 0.7888 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.639e-06/0.005441, allocations: 0 / 0.7888 GB, free: 10.31 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005297/0.005971, allocations: 393.7 kB / 0.7892 GB, free: 9.891 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/0.006013, allocations: 8.031 kB / 0.7892 GB, free: 9.883 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.882e-05/0.006062, allocations: 8.891 kB / 0.7892 GB, free: 9.875 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001308/0.006192, allocations: 108.6 kB / 0.7893 GB, free: 9.742 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.304e-05/0.006205, allocations: 1.906 kB / 0.7893 GB, free: 9.742 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.688e-05/0.006232, allocations: 8.312 kB / 0.7894 GB, free: 9.734 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001479/0.00638, allocations: 67.95 kB / 0.7894 GB, free: 9.656 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.704e-06/0.006388, allocations: 192 / 0.7894 GB, free: 9.656 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.377e-06/0.006397, allocations: 1.594 kB / 0.7894 GB, free: 9.656 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-06/0.006402, allocations: 384 / 0.7894 GB, free: 9.656 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.923e-05/0.006451, allocations: 15.92 kB / 0.7894 GB, free: 9.641 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000197/0.006648, allocations: 120.6 kB / 0.7895 GB, free: 9.488 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002179/0.006866, allocations: 54 kB / 0.7896 GB, free: 9.426 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.186e-05/0.006908, allocations: 23.77 kB / 0.7896 GB, free: 9.398 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.69e-05/0.006925, allocations: 0 / 0.7896 GB, free: 9.398 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.107e-05/0.006966, allocations: 41.39 kB / 0.7897 GB, free: 9.348 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=4): time 8.32e-07/0.006966, allocations: 0 / 0.7897 GB, free: 9.348 MB / 0.7448 GB Notification: Performance of matching and sorting (n=6): time 0.0006906/0.007657, allocations: 234 kB / 0.7899 GB, free: 9.082 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.195e-05/0.007709, allocations: 55.88 kB / 0.7899 GB, free: 9.016 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001365/0.007845, allocations: 165.9 kB / 0.7901 GB, free: 8.836 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.566e-05/0.007871, allocations: 30.42 kB / 0.7901 GB, free: 8.801 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.447e-05/0.007946, allocations: 126.9 kB / 0.7902 GB, free: 8.672 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.449e-05/0.00799, allocations: 24.31 kB / 0.7903 GB, free: 8.648 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.259e-05/0.008053, allocations: 36.94 kB / 0.7903 GB, free: 8.605 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002642/0.008317, allocations: 496.1 kB / 0.7908 GB, free: 8.109 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.759e-05/0.008345, allocations: 8 kB / 0.7908 GB, free: 8.102 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.025e-05/0.008375, allocations: 19.92 kB / 0.7908 GB, free: 8.082 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.659e-05/0.008441, allocations: 32.31 kB / 0.7908 GB, free: 8.047 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.62e-07/0.008442, allocations: 0 / 0.7908 GB, free: 8.047 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001086/0.008551, allocations: 62.38 kB / 0.7909 GB, free: 7.98 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.008567, allocations: 8 kB / 0.7909 GB, free: 7.973 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.008572, allocations: 0.6875 kB / 0.7909 GB, free: 7.973 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.008585, allocations: 3.938 kB / 0.7909 GB, free: 7.969 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.728e-05/0.008642, allocations: 12.89 kB / 0.7909 GB, free: 7.957 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.224e-06/0.00865, allocations: 7.875 kB / 0.7909 GB, free: 7.949 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.255e-05/0.008672, allocations: 9.375 kB / 0.7909 GB, free: 7.941 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5e-06/0.008677, allocations: 0 / 0.7909 GB, free: 7.941 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 (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 0.0001165/0.008794, allocations: 156.6 kB / 0.7911 GB, free: 7.777 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.374e-05/0.008807, allocations: 5.156 kB / 0.7911 GB, free: 7.773 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001651/0.008972, allocations: 69.81 kB / 0.7912 GB, free: 7.703 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.008977, allocations: 3.984 kB / 0.7912 GB, free: 7.699 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.008982, allocations: 4.438 kB / 0.7912 GB, free: 7.695 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.008986, allocations: 0 / 0.7912 GB, free: 7.695 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000387/0.009373, allocations: 322.4 kB / 0.7915 GB, free: 7.336 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.009374, allocations: 0 / 0.7915 GB, free: 7.336 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.898e-05/0.009443, allocations: 19.98 kB / 0.7915 GB, free: 7.316 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.009445, allocations: 0.8438 kB / 0.7915 GB, free: 7.316 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.588e-06/0.009454, allocations: 4.125 kB / 0.7915 GB, free: 7.312 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.009458, allocations: 5.719 kB / 0.7915 GB, free: 7.309 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.009459, allocations: 3.938 kB / 0.7915 GB, free: 7.305 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002514/0.009711, allocations: 227.6 kB / 0.7917 GB, free: 7.059 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.328e-05/0.009734, allocations: 7.984 kB / 0.7917 GB, free: 7.051 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.671e-05/0.009751, allocations: 8.75 kB / 0.7917 GB, free: 7.043 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.415e-05/0.009815, allocations: 0 / 0.7917 GB, free: 7.043 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.701e-05/0.009842, allocations: 10.23 kB / 0.7917 GB, free: 7.035 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.949e-06/0.009847, allocations: 0 / 0.7917 GB, free: 7.035 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 8.991e-05/0.009937, allocations: 127.2 kB / 0.7919 GB, free: 6.91 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.009937, allocations: 0 / 0.7919 GB, free: 6.91 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002395/0.01018, allocations: 19.94 kB / 0.7919 GB, free: 6.891 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (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 (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.0002187/0.01039, allocations: 128.5 kB / 0.792 GB, free: 6.762 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001301/0.01052, allocations: 43.89 kB / 0.7921 GB, free: 6.715 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.01053, allocations: 0 / 0.7921 GB, free: 6.715 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.445e-05/0.01057, allocations: 31.61 kB / 0.7921 GB, free: 6.68 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002167/0.01079, allocations: 7.938 kB / 0.7921 GB, free: 6.672 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004724/0.01126, allocations: 188.5 kB / 0.7923 GB, free: 6.473 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.343e-05/0.01133, allocations: 67.28 kB / 0.7923 GB, free: 6.387 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.927e-05/0.01136, allocations: 8.188 kB / 0.7923 GB, free: 6.379 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.591e-05/0.01139, allocations: 12.5 kB / 0.7924 GB, free: 6.367 MB / 0.7448 GB Notification: Performance of SimCode: time 4.81e-07/0.01139, allocations: 0 / 0.7924 GB, free: 6.367 MB / 0.7448 GB Notification: Performance of Templates: time 0.003987/0.01538, allocations: 0.674 MB / 0.793 GB, free: 5.734 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & ./Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_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: 7.9639583439566195]