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.0009539/0.0009539, allocations: 71.75 kB / 20.97 MB, free: 3.582 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.0009801/0.0009801, allocations: 169 kB / 24.28 MB, free: 280 kB / 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.9859/0.9859, allocations: 177.1 MB / 204.6 MB, free: 5.637 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.825/1.825, allocations: 359 MB / 0.6055 GB, free: 10.99 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 2.064e-06/2.064e-06, allocations: 3.938 kB / 0.7871 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.453e-05/2.659e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.002102/0.002128, allocations: 1.521 MB / 0.7886 GB, free: 11.25 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0009018/0.00303, allocations: 0.6029 MB / 0.7892 GB, free: 10.65 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.985e-05/0.00307, allocations: 4 kB / 0.7892 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.319e-05/0.003103, allocations: 7 kB / 0.7892 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.194e-05/0.003165, allocations: 3.938 kB / 0.7892 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006507/0.003816, allocations: 163.2 kB / 0.7893 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 9.955e-05/0.003915, allocations: 51.84 kB / 0.7894 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 4.618e-05/0.003961, allocations: 1.156 kB / 0.7894 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 7.985e-05/0.004041, allocations: 35.89 kB / 0.7894 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 3.9e-05/0.00408, allocations: 23.95 kB / 0.7895 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.662e-05/0.004097, allocations: 4 kB / 0.7895 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002999/0.004397, allocations: 276 kB / 0.7897 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.168e-05/0.004418, allocations: 13.08 kB / 0.7897 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.622e-05/0.004445, allocations: 15.98 kB / 0.7898 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002433/0.004688, allocations: 183.4 kB / 0.7899 GB, free: 9.887 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.264e-06/0.00469, allocations: 0.5 kB / 0.7899 GB, free: 9.887 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.012e-06/0.004691, allocations: 0.5938 kB / 0.7899 GB, free: 9.887 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.659e-06/0.004696, allocations: 0 / 0.7899 GB, free: 9.887 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.0004657/0.005162, allocations: 424.8 kB / 0.7903 GB, free: 9.434 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.005202, allocations: 9.406 kB / 0.7903 GB, free: 9.426 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.373e-05/0.005255, allocations: 12.89 kB / 0.7904 GB, free: 9.414 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.773e-05/0.005343, allocations: 116.5 kB / 0.7905 GB, free: 9.273 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.496e-05/0.005368, allocations: 8.375 kB / 0.7905 GB, free: 9.266 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.277e-05/0.005391, allocations: 6.094 kB / 0.7905 GB, free: 9.262 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001918/0.005583, allocations: 134.3 kB / 0.7906 GB, free: 9.109 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.005593, allocations: 4.172 kB / 0.7906 GB, free: 9.105 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.275e-05/0.005606, allocations: 4.375 kB / 0.7906 GB, free: 9.102 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/0.005613, allocations: 1.906 kB / 0.7906 GB, free: 9.102 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.54e-05/0.005669, allocations: 35.86 kB / 0.7907 GB, free: 9.066 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004098/0.006078, allocations: 311.6 kB / 0.7909 GB, free: 8.727 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001276/0.006206, allocations: 76.69 kB / 0.791 GB, free: 8.641 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.868e-05/0.006235, allocations: 23.62 kB / 0.791 GB, free: 8.613 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.746e-05/0.006252, allocations: 0 / 0.791 GB, free: 8.613 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.293e-05/0.006275, allocations: 35.64 kB / 0.7911 GB, free: 8.57 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.272e-06/0.006276, allocations: 4 kB / 0.7911 GB, free: 8.566 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11): time 0.0008097/0.007086, allocations: 461.2 kB / 0.7915 GB, free: 8.055 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.055e-05/0.007117, allocations: 51.41 kB / 0.7916 GB, free: 7.992 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.925e-05/0.007196, allocations: 158.7 kB / 0.7917 GB, free: 7.82 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.441e-05/0.00721, allocations: 29.7 kB / 0.7917 GB, free: 7.785 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.547e-05/0.007256, allocations: 135.4 kB / 0.7919 GB, free: 7.648 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.384e-05/0.007289, allocations: 45.17 kB / 0.7919 GB, free: 7.605 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.669e-05/0.007326, allocations: 31.38 kB / 0.792 GB, free: 7.566 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001194/0.007446, allocations: 0.4961 MB / 0.7924 GB, free: 7.059 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.417e-05/0.00748, allocations: 23.92 kB / 0.7925 GB, free: 7.035 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.599e-05/0.007506, allocations: 14.25 kB / 0.7925 GB, free: 7.023 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.449e-05/0.00757, allocations: 48.42 kB / 0.7925 GB, free: 6.973 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.007571, allocations: 0.7812 kB / 0.7925 GB, free: 6.973 MB / 0.7448 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001102/0.007681, allocations: 103.4 kB / 0.7926 GB, free: 6.867 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/0.007695, allocations: 8.594 kB / 0.7926 GB, free: 6.859 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.96e-06/0.0077, allocations: 0 / 0.7926 GB, free: 6.859 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.141e-05/0.007711, allocations: 1.125 kB / 0.7926 GB, free: 6.859 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.217e-05/0.007803, allocations: 27.92 kB / 0.7927 GB, free: 6.832 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.007809, allocations: 4.703 kB / 0.7927 GB, free: 6.828 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.444e-05/0.007834, allocations: 8 kB / 0.7927 GB, free: 6.82 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.5e-06/0.007839, allocations: 0.625 kB / 0.7927 GB, free: 6.82 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.786e-05/0.007907, allocations: 165.4 kB / 0.7928 GB, free: 6.648 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.943e-05/0.007926, allocations: 4 kB / 0.7928 GB, free: 6.645 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001386/0.008065, allocations: 111.6 kB / 0.7929 GB, free: 6.535 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.008067, allocations: 192 / 0.7929 GB, free: 6.535 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.008071, allocations: 3.984 kB / 0.7929 GB, free: 6.531 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.008075, allocations: 3.984 kB / 0.7929 GB, free: 6.527 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002662/0.008342, allocations: 353.3 kB / 0.7933 GB, free: 6.141 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.008343, allocations: 0.6875 kB / 0.7933 GB, free: 6.141 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.301e-05/0.008426, allocations: 27.92 kB / 0.7933 GB, free: 6.113 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.008429, allocations: 2.406 kB / 0.7933 GB, free: 6.113 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.799e-06/0.008439, allocations: 4 kB / 0.7933 GB, free: 6.109 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.00844, allocations: 0 / 0.7933 GB, free: 6.109 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.008441, allocations: 0 / 0.7933 GB, free: 6.109 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002052/0.008647, allocations: 263.7 kB / 0.7936 GB, free: 5.832 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 7.324e-06/0.008654, allocations: 4 kB / 0.7936 GB, free: 5.828 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.239e-05/0.008666, allocations: 5.875 kB / 0.7936 GB, free: 5.824 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.974e-05/0.008716, allocations: 11.98 kB / 0.7936 GB, free: 5.812 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.034e-05/0.008736, allocations: 7.984 kB / 0.7936 GB, free: 5.805 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.942e-06/0.008742, allocations: 4 kB / 0.7936 GB, free: 5.801 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.538e-05/0.008778, allocations: 123.2 kB / 0.7937 GB, free: 5.68 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.008778, allocations: 0.5 kB / 0.7937 GB, free: 5.68 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002002/0.008978, allocations: 40.34 kB / 0.7938 GB, free: 5.641 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.0001731/0.009151, allocations: 140.8 kB / 0.7939 GB, free: 5.496 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001233/0.009274, allocations: 59.66 kB / 0.7939 GB, free: 5.434 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.009276, allocations: 3.938 kB / 0.7939 GB, free: 5.43 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.762e-05/0.009314, allocations: 43.98 kB / 0.794 GB, free: 5.383 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001942/0.009508, allocations: 18.61 kB / 0.794 GB, free: 5.367 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006017/0.01011, allocations: 271.3 kB / 0.7943 GB, free: 5.086 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.145e-05/0.01015, allocations: 63.34 kB / 0.7943 GB, free: 5.004 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.132e-05/0.01019, allocations: 16.75 kB / 0.7943 GB, free: 4.988 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.726e-05/0.01022, allocations: 12.5 kB / 0.7944 GB, free: 4.973 MB / 0.7448 GB Notification: Performance of SimCode: time 7.61e-07/0.01022, allocations: 4 kB / 0.7944 GB, free: 4.969 MB / 0.7448 GB Notification: Performance of Templates: time 0.00296/0.01318, allocations: 1.169 MB / 0.7955 GB, free: 3.859 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.210488650016487]