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.001003/0.001003, 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.001023/0.001023, allocations: 161.4 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 0.9585/0.9585, allocations: 177.1 MB / 204.2 MB, free: 5.621 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.806/1.806, allocations: 359 MB / 0.6052 GB, free: 11.04 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_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.292e-06/1.292e-06, allocations: 0 / 0.7871 GB, free: 12.52 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.7e-05/1.829e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.51 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.002134/0.002153, allocations: 1.517 MB / 0.7886 GB, free: 11 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0008259/0.002978, allocations: 0.6072 MB / 0.7892 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.115e-05/0.00301, allocations: 0 / 0.7892 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.975e-05/0.003039, allocations: 7.922 kB / 0.7892 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 4.418e-05/0.003084, allocations: 9.859 kB / 0.7892 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004633/0.003547, allocations: 160.2 kB / 0.7893 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 7.4e-05/0.003621, allocations: 51.84 kB / 0.7894 GB, free: 10.17 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.704e-05/0.003658, allocations: 4 kB / 0.7894 GB, free: 10.17 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 6.859e-05/0.003726, allocations: 36.61 kB / 0.7894 GB, free: 10.13 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 3.357e-05/0.00376, allocations: 19.97 kB / 0.7895 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.609e-05/0.003776, allocations: 6.625 kB / 0.7895 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000284/0.00406, allocations: 275.4 kB / 0.7897 GB, free: 9.84 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.795e-05/0.004078, allocations: 11.98 kB / 0.7897 GB, free: 9.828 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.457e-05/0.004103, allocations: 19.92 kB / 0.7898 GB, free: 9.809 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002139/0.004317, allocations: 179.4 kB / 0.7899 GB, free: 9.633 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.00432, allocations: 4 kB / 0.7899 GB, free: 9.629 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.42e-07/0.004321, allocations: 0 / 0.7899 GB, free: 9.629 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.496e-06/0.004324, allocations: 1.594 kB / 0.7899 GB, free: 9.629 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.0004011/0.004725, allocations: 416.1 kB / 0.7903 GB, free: 9.184 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.309e-05/0.004758, allocations: 11.97 kB / 0.7903 GB, free: 9.172 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.37e-05/0.004802, allocations: 17.48 kB / 0.7904 GB, free: 9.156 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.213e-05/0.004874, allocations: 116.5 kB / 0.7905 GB, free: 9.016 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.159e-05/0.004896, allocations: 5.094 kB / 0.7905 GB, free: 9.012 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.457e-05/0.00492, allocations: 8.375 kB / 0.7905 GB, free: 9.004 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001633/0.005083, allocations: 131.3 kB / 0.7906 GB, free: 8.855 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.318e-06/0.005093, allocations: 192 / 0.7906 GB, free: 8.855 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.137e-05/0.005104, allocations: 5.75 kB / 0.7906 GB, free: 8.852 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.288e-06/0.005113, allocations: 4.375 kB / 0.7906 GB, free: 8.848 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.141e-05/0.005165, allocations: 27.91 kB / 0.7906 GB, free: 8.82 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004128/0.005578, allocations: 313.5 kB / 0.7909 GB, free: 8.48 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001156/0.005693, allocations: 71.03 kB / 0.791 GB, free: 8.398 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.782e-05/0.005721, allocations: 27.61 kB / 0.791 GB, free: 8.367 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.802e-05/0.005739, allocations: 1.531 kB / 0.791 GB, free: 8.367 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.255e-05/0.005762, allocations: 41.33 kB / 0.7911 GB, free: 8.316 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 9.72e-07/0.005763, allocations: 0 / 0.7911 GB, free: 8.316 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11): time 0.0007515/0.006514, allocations: 458.6 kB / 0.7915 GB, free: 7.809 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.535e-05/0.006539, allocations: 55.41 kB / 0.7916 GB, free: 7.742 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.59e-05/0.006605, allocations: 161.9 kB / 0.7917 GB, free: 7.566 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.374e-05/0.006619, allocations: 32.27 kB / 0.7917 GB, free: 7.531 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.749e-05/0.006657, allocations: 130.9 kB / 0.7919 GB, free: 7.398 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.974e-05/0.006686, allocations: 43.59 kB / 0.7919 GB, free: 7.355 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.42e-05/0.006721, allocations: 35.36 kB / 0.7919 GB, free: 7.312 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001014/0.006822, allocations: 0.4922 MB / 0.7924 GB, free: 6.809 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.033e-05/0.006852, allocations: 20 kB / 0.7924 GB, free: 6.789 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.587e-05/0.006878, allocations: 15.98 kB / 0.7925 GB, free: 6.773 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.183e-05/0.00694, allocations: 58.27 kB / 0.7925 GB, free: 6.715 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.006941, allocations: 0.7188 kB / 0.7925 GB, free: 6.715 MB / 0.7448 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001033/0.007044, allocations: 93.77 kB / 0.7926 GB, free: 6.617 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.101e-05/0.007055, allocations: 4.531 kB / 0.7926 GB, free: 6.613 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.00706, allocations: 1.625 kB / 0.7926 GB, free: 6.613 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.007073, allocations: 0 / 0.7926 GB, free: 6.613 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.032e-05/0.007163, allocations: 23.98 kB / 0.7926 GB, free: 6.59 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.007169, allocations: 3.984 kB / 0.7926 GB, free: 6.586 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.394e-05/0.007193, allocations: 20.45 kB / 0.7927 GB, free: 6.566 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.923e-06/0.0072, allocations: 4 kB / 0.7927 GB, free: 6.562 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 6.207e-05/0.007262, allocations: 161.1 kB / 0.7928 GB, free: 6.395 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.074e-05/0.007283, allocations: 8.781 kB / 0.7928 GB, free: 6.387 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001372/0.00742, allocations: 101.9 kB / 0.7929 GB, free: 6.285 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.007423, allocations: 9.109 kB / 0.7929 GB, free: 6.277 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.007427, allocations: 0 / 0.7929 GB, free: 6.277 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.00743, allocations: 0 / 0.7929 GB, free: 6.277 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002507/0.007681, allocations: 366.4 kB / 0.7933 GB, free: 5.879 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.007682, allocations: 0 / 0.7933 GB, free: 5.879 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.24e-05/0.007754, allocations: 20.7 kB / 0.7933 GB, free: 5.859 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.007756, allocations: 4 kB / 0.7933 GB, free: 5.855 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.155e-06/0.007764, allocations: 1.062 kB / 0.7933 GB, free: 5.855 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.007765, allocations: 0 / 0.7933 GB, free: 5.855 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.007765, allocations: 0 / 0.7933 GB, free: 5.855 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001788/0.007944, allocations: 272.5 kB / 0.7936 GB, free: 5.57 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.972e-06/0.00795, allocations: 4 kB / 0.7936 GB, free: 5.566 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.14e-05/0.007962, allocations: 1.5 kB / 0.7936 GB, free: 5.566 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.755e-05/0.008009, allocations: 4 kB / 0.7936 GB, free: 5.562 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.879e-05/0.008028, allocations: 11.98 kB / 0.7936 GB, free: 5.551 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.889e-06/0.008033, allocations: 0 / 0.7936 GB, free: 5.551 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.465e-05/0.008068, allocations: 128.2 kB / 0.7937 GB, free: 5.426 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.008068, allocations: 0 / 0.7937 GB, free: 5.426 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001871/0.008255, allocations: 43.81 kB / 0.7938 GB, free: 5.383 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.0001478/0.008402, allocations: 137.1 kB / 0.7939 GB, free: 5.242 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.00011/0.008513, allocations: 61.91 kB / 0.7939 GB, free: 5.18 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.008514, allocations: 0 / 0.7939 GB, free: 5.18 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.667e-05/0.008551, allocations: 43.61 kB / 0.794 GB, free: 5.133 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000174/0.008725, allocations: 16.33 kB / 0.794 GB, free: 5.121 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005244/0.009249, allocations: 278.5 kB / 0.7943 GB, free: 4.836 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.098e-05/0.00929, allocations: 63.34 kB / 0.7943 GB, free: 4.754 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.472e-05/0.009325, allocations: 8.734 kB / 0.7943 GB, free: 4.746 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.649e-05/0.009351, allocations: 16.48 kB / 0.7943 GB, free: 4.727 MB / 0.7448 GB Notification: Performance of SimCode: time 4.81e-07/0.009352, allocations: 4 kB / 0.7944 GB, free: 4.723 MB / 0.7448 GB Notification: Performance of Templates: time 0.00295/0.0123, allocations: 1.174 MB / 0.7955 GB, free: 3.609 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","",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.0483178328722715]