Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_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.002312/0.002312, allocations: 83.69 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.002851/0.002851, allocations: 161.7 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.578/1.578, allocations: 177.1 MB / 203.9 MB, free: 5.594 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.885/2.885, allocations: 359 MB / 0.6048 GB, free: 10.92 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_dp_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_comp",fileNamePrefix="Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_comp",fileNamePrefix="Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.694e-06/1.694e-06, allocations: 0 / 0.7864 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.74e-05/2.91e-05, allocations: 2.312 kB / 0.7864 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.002729/0.002758, allocations: 1.308 MB / 0.7877 GB, free: 11.48 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.00116/0.003918, allocations: 0.5754 MB / 0.7882 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.418e-05/0.003942, allocations: 0 / 0.7882 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 1.503e-05/0.003957, allocations: 2.469 kB / 0.7882 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 5.422e-05/0.004011, allocations: 7.922 kB / 0.7882 GB, free: 10.9 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005591/0.00457, allocations: 143.2 kB / 0.7884 GB, free: 10.76 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 7.66e-05/0.004647, allocations: 31.84 kB / 0.7884 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.315e-05/0.00468, allocations: 1.75 kB / 0.7884 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 5.813e-05/0.004738, allocations: 11.98 kB / 0.7884 GB, free: 10.72 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 3.995e-05/0.004778, allocations: 0 / 0.7884 GB, free: 10.72 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.693e-05/0.004795, allocations: 4 kB / 0.7884 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004902/0.005285, allocations: 271.4 kB / 0.7887 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.869e-05/0.005304, allocations: 8.578 kB / 0.7887 GB, free: 10.44 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.032e-05/0.005324, allocations: 9.125 kB / 0.7887 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003052/0.00563, allocations: 155.5 kB / 0.7888 GB, free: 10.28 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.005632, allocations: 0 / 0.7888 GB, free: 10.28 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.02e-07/0.005633, allocations: 0 / 0.7888 GB, free: 10.28 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.647e-06/0.005637, allocations: 5.688 kB / 0.7888 GB, free: 10.28 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.0005076/0.006144, allocations: 384 kB / 0.7892 GB, free: 9.863 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.006182, allocations: 8.031 kB / 0.7892 GB, free: 9.855 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.865e-05/0.00623, allocations: 8.891 kB / 0.7892 GB, free: 9.848 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000125/0.006355, allocations: 117.9 kB / 0.7893 GB, free: 9.707 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.342e-05/0.006369, allocations: 384 / 0.7893 GB, free: 9.707 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.064e-05/0.006389, allocations: 4.312 kB / 0.7893 GB, free: 9.703 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001315/0.006521, allocations: 69.89 kB / 0.7894 GB, free: 9.625 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.006529, allocations: 192 / 0.7894 GB, free: 9.625 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.235e-06/0.006538, allocations: 384 / 0.7894 GB, free: 9.625 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.147e-06/0.006542, allocations: 384 / 0.7894 GB, free: 9.625 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.962e-05/0.006591, allocations: 15.92 kB / 0.7894 GB, free: 9.609 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001849/0.006776, allocations: 116.6 kB / 0.7895 GB, free: 9.461 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002086/0.006985, allocations: 57.62 kB / 0.7896 GB, free: 9.395 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.918e-05/0.007034, allocations: 19.77 kB / 0.7896 GB, free: 9.371 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.899e-05/0.007053, allocations: 4 kB / 0.7896 GB, free: 9.367 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.358e-05/0.007087, allocations: 37.39 kB / 0.7896 GB, free: 9.32 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=4): time 9.91e-07/0.007088, allocations: 0 / 0.7896 GB, free: 9.32 MB / 0.7448 GB Notification: Performance of matching and sorting (n=6): time 0.0006492/0.007737, allocations: 242.2 kB / 0.7899 GB, free: 9.047 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.579e-05/0.007783, allocations: 55.34 kB / 0.7899 GB, free: 8.98 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001211/0.007904, allocations: 163 kB / 0.7901 GB, free: 8.805 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.027e-05/0.007924, allocations: 25.7 kB / 0.7901 GB, free: 8.773 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.163e-05/0.008006, allocations: 127.4 kB / 0.7902 GB, free: 8.645 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.439e-05/0.00804, allocations: 25.45 kB / 0.7903 GB, free: 8.621 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.983e-05/0.00809, allocations: 31.31 kB / 0.7903 GB, free: 8.582 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002489/0.008339, allocations: 0.4884 MB / 0.7908 GB, free: 8.082 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.445e-05/0.008363, allocations: 4 kB / 0.7908 GB, free: 8.078 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.662e-05/0.00839, allocations: 20.42 kB / 0.7908 GB, free: 8.059 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.036e-05/0.00846, allocations: 31.69 kB / 0.7908 GB, free: 8.023 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.008461, allocations: 0.5938 kB / 0.7908 GB, free: 8.023 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001209/0.008582, allocations: 74.58 kB / 0.7909 GB, free: 7.945 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.008595, allocations: 4 kB / 0.7909 GB, free: 7.941 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.496e-06/0.008599, allocations: 1.156 kB / 0.7909 GB, free: 7.941 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.008613, allocations: 0 / 0.7909 GB, free: 7.941 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.349e-05/0.008676, allocations: 19.92 kB / 0.7909 GB, free: 7.922 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.008683, allocations: 5.312 kB / 0.7909 GB, free: 7.918 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.892e-05/0.008702, allocations: 4 kB / 0.7909 GB, free: 7.914 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.234e-06/0.008709, allocations: 3.984 kB / 0.7909 GB, free: 7.91 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.000109/0.008818, allocations: 157.5 kB / 0.7911 GB, free: 7.746 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.771e-05/0.008836, allocations: 8 kB / 0.7911 GB, free: 7.738 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001576/0.008994, allocations: 65.81 kB / 0.7911 GB, free: 7.672 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.008998, allocations: 4.781 kB / 0.7911 GB, free: 7.668 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.503e-06/0.009004, allocations: 3.938 kB / 0.7912 GB, free: 7.664 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.009009, allocations: 5.266 kB / 0.7912 GB, free: 7.66 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003698/0.009379, allocations: 313.1 kB / 0.7915 GB, free: 7.309 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.496e-06/0.009388, allocations: 4 kB / 0.7915 GB, free: 7.305 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.692e-05/0.009455, allocations: 12.84 kB / 0.7915 GB, free: 7.293 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.009457, allocations: 0 / 0.7915 GB, free: 7.293 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.574e-05/0.009473, allocations: 13.17 kB / 0.7915 GB, free: 7.281 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.861e-06/0.009478, allocations: 3.938 kB / 0.7915 GB, free: 7.277 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.00948, allocations: 0 / 0.7915 GB, free: 7.277 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002436/0.009723, allocations: 229.1 kB / 0.7917 GB, free: 7.031 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.632e-05/0.009749, allocations: 11.98 kB / 0.7917 GB, free: 7.02 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.744e-05/0.009767, allocations: 3.938 kB / 0.7917 GB, free: 7.016 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.619e-05/0.009843, allocations: 4 kB / 0.7917 GB, free: 7.012 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2e-05/0.009863, allocations: 1.781 kB / 0.7917 GB, free: 7.012 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.969e-06/0.009873, allocations: 7.984 kB / 0.7917 GB, free: 7.004 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 6.95e-05/0.009943, allocations: 123.2 kB / 0.7919 GB, free: 6.883 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.009943, allocations: 0 / 0.7919 GB, free: 6.883 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002416/0.01018, allocations: 22.5 kB / 0.7919 GB, free: 6.863 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (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 (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.0002052/0.01039, allocations: 123 kB / 0.792 GB, free: 6.734 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000127/0.01052, allocations: 43.67 kB / 0.792 GB, free: 6.688 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.01052, allocations: 0 / 0.792 GB, free: 6.688 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.694e-05/0.01057, allocations: 31.61 kB / 0.7921 GB, free: 6.652 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002158/0.01078, allocations: 4.438 kB / 0.7921 GB, free: 6.648 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004223/0.0112, allocations: 189.6 kB / 0.7922 GB, free: 6.445 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.414e-05/0.01128, allocations: 71.28 kB / 0.7923 GB, free: 6.355 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.078e-05/0.01131, allocations: 8.625 kB / 0.7923 GB, free: 6.348 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.401e-05/0.01133, allocations: 12.5 kB / 0.7923 GB, free: 6.336 MB / 0.7448 GB Notification: Performance of SimCode: time 4.51e-07/0.01133, allocations: 0 / 0.7923 GB, free: 6.336 MB / 0.7448 GB Notification: Performance of Templates: time 0.003673/0.01501, allocations: 0.6602 MB / 0.793 GB, free: 5.723 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & ./Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_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: 8.06757800001651]