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.001415/0.001415, allocations: 83.59 kB / 20.45 MB, free: 4.117 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.001467/0.001467, allocations: 169 kB / 23.82 MB, free: 0.7422 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.013/1.013, allocations: 177.1 MB / 204.2 MB, free: 5.609 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.772/1.772, allocations: 359 MB / 0.6052 GB, free: 11 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.703e-06/1.703e-06, allocations: 0 / 0.7871 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.341e-05/2.512e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.001952/0.001977, allocations: 1.527 MB / 0.7886 GB, free: 10.94 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0008311/0.002808, allocations: 0.6112 MB / 0.7892 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.932e-05/0.002837, allocations: 0 / 0.7892 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.391e-05/0.002871, allocations: 3.938 kB / 0.7892 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 5.548e-05/0.002927, allocations: 9.188 kB / 0.7892 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005765/0.003503, allocations: 159.9 kB / 0.7893 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 8.598e-05/0.003589, allocations: 53.44 kB / 0.7894 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 4.576e-05/0.003635, allocations: 7.984 kB / 0.7894 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 8.388e-05/0.003719, allocations: 31.91 kB / 0.7894 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 3.86e-05/0.003757, allocations: 19.97 kB / 0.7895 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.148e-05/0.003779, allocations: 7.531 kB / 0.7895 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003131/0.004092, allocations: 275.4 kB / 0.7897 GB, free: 9.777 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.133e-05/0.004113, allocations: 15.92 kB / 0.7897 GB, free: 9.762 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.957e-05/0.004143, allocations: 15.98 kB / 0.7898 GB, free: 9.746 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002268/0.00437, allocations: 179.3 kB / 0.7899 GB, free: 9.57 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.034e-06/0.004372, allocations: 4 kB / 0.7899 GB, free: 9.566 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.192e-06/0.004373, allocations: 0 / 0.7899 GB, free: 9.566 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.518e-06/0.004377, allocations: 0 / 0.7899 GB, free: 9.566 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.0004424/0.00482, allocations: 420.8 kB / 0.7903 GB, free: 9.117 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.102e-05/0.004861, allocations: 15.95 kB / 0.7903 GB, free: 9.102 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.862e-05/0.004909, allocations: 14.55 kB / 0.7904 GB, free: 9.09 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.896e-05/0.004998, allocations: 116.6 kB / 0.7905 GB, free: 8.949 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.396e-05/0.005022, allocations: 4.375 kB / 0.7905 GB, free: 8.945 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.227e-05/0.005045, allocations: 8.375 kB / 0.7905 GB, free: 8.938 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001845/0.005229, allocations: 131.2 kB / 0.7906 GB, free: 8.789 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.00524, allocations: 192 / 0.7906 GB, free: 8.789 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.233e-05/0.005253, allocations: 4.375 kB / 0.7906 GB, free: 8.785 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.495e-06/0.00526, allocations: 5.406 kB / 0.7906 GB, free: 8.781 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.081e-05/0.005311, allocations: 27.86 kB / 0.7906 GB, free: 8.754 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003965/0.005707, allocations: 313 kB / 0.7909 GB, free: 8.414 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001279/0.005835, allocations: 70.97 kB / 0.791 GB, free: 8.332 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.997e-05/0.005865, allocations: 28.33 kB / 0.791 GB, free: 8.301 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.595e-05/0.005881, allocations: 1.219 kB / 0.791 GB, free: 8.301 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.465e-05/0.005906, allocations: 37.39 kB / 0.7911 GB, free: 8.254 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.032e-06/0.005907, allocations: 0 / 0.7911 GB, free: 8.254 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11): time 0.00114/0.007047, allocations: 463.2 kB / 0.7915 GB, free: 7.742 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.268e-05/0.00708, allocations: 51.41 kB / 0.7916 GB, free: 7.68 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.721e-05/0.007147, allocations: 161.9 kB / 0.7917 GB, free: 7.504 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.34e-05/0.00716, allocations: 29.7 kB / 0.7918 GB, free: 7.469 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.508e-05/0.007205, allocations: 127.5 kB / 0.7919 GB, free: 7.34 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.476e-05/0.00724, allocations: 51.58 kB / 0.7919 GB, free: 7.289 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.914e-05/0.007279, allocations: 35.98 kB / 0.792 GB, free: 7.246 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001074/0.007387, allocations: 0.4883 MB / 0.7924 GB, free: 6.746 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.34e-05/0.00742, allocations: 20.55 kB / 0.7925 GB, free: 6.727 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.798e-05/0.007448, allocations: 21.11 kB / 0.7925 GB, free: 6.707 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.286e-05/0.007511, allocations: 53.38 kB / 0.7925 GB, free: 6.652 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.007512, allocations: 0 / 0.7925 GB, free: 6.652 MB / 0.7448 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001084/0.00762, allocations: 101.5 kB / 0.7926 GB, free: 6.551 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.007634, allocations: 5.875 kB / 0.7926 GB, free: 6.547 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.007639, allocations: 1.25 kB / 0.7926 GB, free: 6.547 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.007652, allocations: 0 / 0.7926 GB, free: 6.547 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.534e-05/0.007747, allocations: 31.92 kB / 0.7927 GB, free: 6.516 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.007752, allocations: 1.094 kB / 0.7927 GB, free: 6.516 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.288e-05/0.007775, allocations: 4 kB / 0.7927 GB, free: 6.512 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.629e-06/0.007785, allocations: 8.922 kB / 0.7927 GB, free: 6.504 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.505e-05/0.00785, allocations: 160.5 kB / 0.7928 GB, free: 6.336 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.084e-05/0.007871, allocations: 12.78 kB / 0.7928 GB, free: 6.324 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001464/0.008017, allocations: 105.9 kB / 0.7929 GB, free: 6.219 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.008021, allocations: 8.953 kB / 0.7929 GB, free: 6.211 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.008025, allocations: 0 / 0.7929 GB, free: 6.211 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.008029, allocations: 3.938 kB / 0.793 GB, free: 6.207 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002566/0.008286, allocations: 350.6 kB / 0.7933 GB, free: 5.824 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.008287, allocations: 0 / 0.7933 GB, free: 5.824 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.847e-05/0.008366, allocations: 27.92 kB / 0.7933 GB, free: 5.797 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.008369, allocations: 4.828 kB / 0.7933 GB, free: 5.793 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.606e-06/0.008377, allocations: 0 / 0.7933 GB, free: 5.793 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.008379, allocations: 2.219 kB / 0.7933 GB, free: 5.793 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.00838, allocations: 0 / 0.7933 GB, free: 5.793 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002222/0.008602, allocations: 267.7 kB / 0.7936 GB, free: 5.512 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.007e-05/0.008612, allocations: 4 kB / 0.7936 GB, free: 5.508 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.234e-05/0.008635, allocations: 0 / 0.7936 GB, free: 5.508 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.394e-05/0.008688, allocations: 4 kB / 0.7936 GB, free: 5.504 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.226e-05/0.008711, allocations: 14.86 kB / 0.7936 GB, free: 5.492 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.051e-06/0.008717, allocations: 0 / 0.7936 GB, free: 5.492 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.791e-05/0.008755, allocations: 131.1 kB / 0.7937 GB, free: 5.363 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6.1e-08/0.008755, allocations: 0 / 0.7937 GB, free: 5.363 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000206/0.008961, allocations: 43.81 kB / 0.7938 GB, free: 5.32 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.0001783/0.009139, allocations: 139.1 kB / 0.7939 GB, free: 5.176 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001303/0.009269, allocations: 61.09 kB / 0.794 GB, free: 5.113 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.009271, allocations: 0 / 0.794 GB, free: 5.113 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.527e-05/0.009306, allocations: 43.61 kB / 0.794 GB, free: 5.066 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001873/0.009494, allocations: 10.66 kB / 0.794 GB, free: 5.059 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005828/0.01008, allocations: 275.3 kB / 0.7943 GB, free: 4.777 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.648e-05/0.01011, allocations: 63.34 kB / 0.7943 GB, free: 4.695 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.109e-05/0.01015, allocations: 12.77 kB / 0.7943 GB, free: 4.684 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.15e-05/0.01019, allocations: 16.5 kB / 0.7944 GB, free: 4.664 MB / 0.7448 GB Notification: Performance of SimCode: time 7.32e-07/0.01019, allocations: 0 / 0.7944 GB, free: 4.664 MB / 0.7448 GB Notification: Performance of Templates: time 0.003121/0.01331, allocations: 1.266 MB / 0.7956 GB, free: 3.449 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: 4.981374076101929]