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.001072/0.001072, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.001226/0.001226, allocations: 161 kB / 23.82 MB, free: 0.7539 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.048/1.048, allocations: 177.1 MB / 204.2 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] 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 1.797/1.797, allocations: 359 MB / 0.6052 GB, free: 11.03 MB / 0.573 GB " [Timeout remaining time 178] 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.974e-06/1.974e-06, allocations: 0 / 0.7871 GB, free: 12.49 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.927e-05/3.124e-05, allocations: 6.938 kB / 0.7871 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.00278/0.002811, allocations: 1.33 MB / 0.7884 GB, free: 11.16 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001146/0.003958, allocations: 0.5804 MB / 0.789 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.261e-05/0.00399, allocations: 4 kB / 0.789 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.569e-05/0.004016, allocations: 0 / 0.789 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 5.549e-05/0.004071, allocations: 9.734 kB / 0.789 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005326/0.004604, allocations: 139.3 kB / 0.7891 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 6.082e-05/0.004665, allocations: 32.44 kB / 0.7891 GB, free: 10.4 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.844e-05/0.004703, allocations: 0 / 0.7891 GB, free: 10.4 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 4.949e-05/0.004753, allocations: 9.391 kB / 0.7891 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.245e-05/0.004795, allocations: 4 kB / 0.7892 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.409e-05/0.004809, allocations: 4 kB / 0.7892 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003068/0.005116, allocations: 272.5 kB / 0.7894 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.526e-05/0.005131, allocations: 3.984 kB / 0.7894 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.271e-05/0.005154, allocations: 11.98 kB / 0.7894 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002215/0.005376, allocations: 160.3 kB / 0.7896 GB, free: 9.945 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.525e-06/0.005378, allocations: 0 / 0.7896 GB, free: 9.945 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.92e-07/0.005379, allocations: 0 / 0.7896 GB, free: 9.945 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.258e-06/0.005383, allocations: 0.9062 kB / 0.7896 GB, free: 9.945 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.0003646/0.005748, allocations: 383.9 kB / 0.79 GB, free: 9.531 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.005787, allocations: 10.62 kB / 0.79 GB, free: 9.523 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.213e-05/0.005829, allocations: 9.234 kB / 0.79 GB, free: 9.516 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.277e-05/0.005912, allocations: 112.5 kB / 0.7901 GB, free: 9.379 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.357e-05/0.005926, allocations: 8.375 kB / 0.7901 GB, free: 9.371 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.388e-05/0.005949, allocations: 384 / 0.7901 GB, free: 9.371 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001015/0.006051, allocations: 67.89 kB / 0.7902 GB, free: 9.293 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.521e-06/0.006056, allocations: 192 / 0.7902 GB, free: 9.293 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.034e-05/0.006067, allocations: 4.875 kB / 0.7902 GB, free: 9.289 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.006074, allocations: 1.094 kB / 0.7902 GB, free: 9.289 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.518e-05/0.006099, allocations: 7.938 kB / 0.7902 GB, free: 9.281 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001337/0.006232, allocations: 121.2 kB / 0.7903 GB, free: 9.129 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001734/0.006406, allocations: 56.69 kB / 0.7903 GB, free: 9.062 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.569e-05/0.006431, allocations: 15.62 kB / 0.7903 GB, free: 9.043 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.113e-05/0.006453, allocations: 4 kB / 0.7904 GB, free: 9.039 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.179e-05/0.006474, allocations: 37.39 kB / 0.7904 GB, free: 8.992 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=4): time 7.22e-07/0.006475, allocations: 0.5 kB / 0.7904 GB, free: 8.992 MB / 0.7448 GB Notification: Performance of matching and sorting (n=6): time 0.0005151/0.00699, allocations: 238.3 kB / 0.7906 GB, free: 8.723 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.617e-05/0.007016, allocations: 60.16 kB / 0.7907 GB, free: 8.652 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.883e-05/0.007075, allocations: 149.9 kB / 0.7908 GB, free: 8.488 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.309e-05/0.007088, allocations: 34.86 kB / 0.7909 GB, free: 8.449 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.239e-05/0.007121, allocations: 126.9 kB / 0.791 GB, free: 8.32 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.614e-05/0.007147, allocations: 19.78 kB / 0.791 GB, free: 8.301 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.277e-05/0.00718, allocations: 28.75 kB / 0.791 GB, free: 8.266 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000108/0.007288, allocations: 496.1 kB / 0.7915 GB, free: 7.77 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.93e-05/0.007307, allocations: 11.98 kB / 0.7915 GB, free: 7.758 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.297e-05/0.00732, allocations: 7.938 kB / 0.7915 GB, free: 7.75 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.093e-05/0.007361, allocations: 29.44 kB / 0.7915 GB, free: 7.719 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.007362, allocations: 3.984 kB / 0.7915 GB, free: 7.715 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7) (initialization): time 7.576e-05/0.007438, allocations: 61.69 kB / 0.7916 GB, free: 7.648 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.212e-05/0.00745, allocations: 4 kB / 0.7916 GB, free: 7.645 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.007455, allocations: 1.281 kB / 0.7916 GB, free: 7.645 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.007469, allocations: 7.984 kB / 0.7916 GB, free: 7.637 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.253e-05/0.007512, allocations: 11.94 kB / 0.7916 GB, free: 7.625 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.563e-06/0.007518, allocations: 3.938 kB / 0.7916 GB, free: 7.621 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.184e-05/0.00753, allocations: 4.781 kB / 0.7916 GB, free: 7.617 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.49e-06/0.007536, allocations: 4 kB / 0.7916 GB, free: 7.613 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 6.425e-05/0.0076, allocations: 157.8 kB / 0.7918 GB, free: 7.449 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.057e-05/0.007611, allocations: 4 kB / 0.7918 GB, free: 7.445 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001074/0.007718, allocations: 71.06 kB / 0.7919 GB, free: 7.375 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.00772, allocations: 0 / 0.7919 GB, free: 7.375 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.187e-06/0.007724, allocations: 3.938 kB / 0.7919 GB, free: 7.371 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.007728, allocations: 4 kB / 0.7919 GB, free: 7.367 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000229/0.007957, allocations: 310.7 kB / 0.7922 GB, free: 7.02 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.007961, allocations: 3.984 kB / 0.7922 GB, free: 7.016 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.186e-05/0.008002, allocations: 12.19 kB / 0.7922 GB, free: 7.004 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.008005, allocations: 0 / 0.7922 GB, free: 7.004 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.388e-06/0.008014, allocations: 10.72 kB / 0.7922 GB, free: 6.996 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.008016, allocations: 4 kB / 0.7922 GB, free: 6.992 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/0.008019, allocations: 3.938 kB / 0.7922 GB, free: 6.988 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001655/0.008184, allocations: 223.6 kB / 0.7924 GB, free: 6.746 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.921e-05/0.008203, allocations: 7.953 kB / 0.7924 GB, free: 6.738 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.32e-05/0.008216, allocations: 3.938 kB / 0.7924 GB, free: 6.734 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.119e-05/0.008258, allocations: 4 kB / 0.7924 GB, free: 6.73 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.989e-05/0.008278, allocations: 8.484 kB / 0.7924 GB, free: 6.723 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.942e-06/0.008283, allocations: 4.531 kB / 0.7924 GB, free: 6.719 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.363e-05/0.008317, allocations: 121.6 kB / 0.7926 GB, free: 6.602 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4e-08/0.008317, allocations: 0 / 0.7926 GB, free: 6.602 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001744/0.008492, allocations: 23.92 kB / 0.7926 GB, free: 6.578 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.000156/0.008648, allocations: 127 kB / 0.7927 GB, free: 6.445 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 8.715e-05/0.008735, allocations: 36.52 kB / 0.7927 GB, free: 6.406 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.008736, allocations: 0 / 0.7927 GB, free: 6.406 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.933e-05/0.008756, allocations: 24.47 kB / 0.7928 GB, free: 6.379 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000157/0.008913, allocations: 7.984 kB / 0.7928 GB, free: 6.371 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005315/0.009444, allocations: 195 kB / 0.7929 GB, free: 6.164 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.516e-05/0.009479, allocations: 59.3 kB / 0.793 GB, free: 6.086 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.614e-05/0.009506, allocations: 8.625 kB / 0.793 GB, free: 6.078 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.275e-05/0.009528, allocations: 12.44 kB / 0.793 GB, free: 6.066 MB / 0.7448 GB Notification: Performance of SimCode: time 8.11e-07/0.009529, allocations: 0 / 0.793 GB, free: 6.066 MB / 0.7448 GB Notification: Performance of Templates: time 0.00238/0.01191, allocations: 0.6543 MB / 0.7937 GB, free: 5.457 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.222936296835542]