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.001024/0.001024, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001001/0.001001, allocations: 169 kB / 24.28 MB, free: 276 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.9761/0.9761, allocations: 177.1 MB / 204.6 MB, free: 5.645 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.816/1.816, allocations: 359 MB / 0.6055 GB, free: 11.01 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.323e-06/1.323e-06, allocations: 0 / 0.7871 GB, free: 12.81 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.515e-05/1.647e-05, allocations: 3.078 kB / 0.7871 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.001505/0.001521, allocations: 1.337 MB / 0.7884 GB, free: 11.48 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0007162/0.002237, allocations: 0.5678 MB / 0.789 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.194e-05/0.002259, allocations: 0 / 0.789 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 1.884e-05/0.002278, allocations: 3.984 kB / 0.789 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 3.735e-05/0.002315, allocations: 12.53 kB / 0.789 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003783/0.002694, allocations: 145.7 kB / 0.7891 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 5.206e-05/0.002746, allocations: 15.88 kB / 0.7891 GB, free: 10.74 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.536e-05/0.002781, allocations: 7.984 kB / 0.7891 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 4.571e-05/0.002827, allocations: 8 kB / 0.7891 GB, free: 10.72 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.003e-05/0.002867, allocations: 13.31 kB / 0.7891 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.212e-05/0.002879, allocations: 0 / 0.7891 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002825/0.003161, allocations: 275.4 kB / 0.7894 GB, free: 10.44 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.145e-05/0.003173, allocations: 0 / 0.7894 GB, free: 10.44 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.728e-05/0.00319, allocations: 9.531 kB / 0.7894 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001857/0.003376, allocations: 155.5 kB / 0.7896 GB, free: 10.28 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.683e-06/0.003378, allocations: 0 / 0.7896 GB, free: 10.28 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.81e-07/0.003378, allocations: 0 / 0.7896 GB, free: 10.28 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.357e-06/0.003382, allocations: 4.438 kB / 0.7896 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.0003088/0.00369, allocations: 391.4 kB / 0.7899 GB, free: 9.859 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.19e-05/0.003722, allocations: 8.031 kB / 0.79 GB, free: 9.852 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.624e-05/0.003759, allocations: 13.22 kB / 0.79 GB, free: 9.84 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.822e-05/0.003837, allocations: 112.5 kB / 0.7901 GB, free: 9.703 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.316e-06/0.003845, allocations: 384 / 0.7901 GB, free: 9.703 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.58e-05/0.003871, allocations: 8.375 kB / 0.7901 GB, free: 9.695 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.119e-05/0.003952, allocations: 59.95 kB / 0.7901 GB, free: 9.625 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.699e-06/0.003957, allocations: 4.188 kB / 0.7901 GB, free: 9.621 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.013e-06/0.003964, allocations: 384 / 0.7901 GB, free: 9.621 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.003969, allocations: 384 / 0.7901 GB, free: 9.621 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.657e-05/0.003996, allocations: 16.45 kB / 0.7902 GB, free: 9.605 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001097/0.004105, allocations: 113.1 kB / 0.7903 GB, free: 9.461 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001506/0.004256, allocations: 55.56 kB / 0.7903 GB, free: 9.395 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.51e-05/0.004281, allocations: 20.64 kB / 0.7903 GB, free: 9.371 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.642e-05/0.004297, allocations: 0 / 0.7903 GB, free: 9.371 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.075e-05/0.004318, allocations: 38.2 kB / 0.7904 GB, free: 9.324 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=4): time 9.02e-07/0.004319, allocations: 0 / 0.7904 GB, free: 9.324 MB / 0.7448 GB Notification: Performance of matching and sorting (n=6): time 0.0004452/0.004764, allocations: 230.2 kB / 0.7906 GB, free: 9.062 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.664e-05/0.004791, allocations: 56.72 kB / 0.7907 GB, free: 8.996 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.897e-05/0.00486, allocations: 158.2 kB / 0.7908 GB, free: 8.824 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 9.508e-06/0.004869, allocations: 25.7 kB / 0.7908 GB, free: 8.793 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.358e-05/0.004903, allocations: 134.8 kB / 0.791 GB, free: 8.656 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.13e-05/0.004924, allocations: 21.08 kB / 0.791 GB, free: 8.637 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.895e-05/0.004953, allocations: 23.38 kB / 0.791 GB, free: 8.605 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001046/0.005058, allocations: 0.4923 MB / 0.7915 GB, free: 8.102 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.662e-05/0.005074, allocations: 8.641 kB / 0.7915 GB, free: 8.094 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.491e-05/0.005089, allocations: 11.98 kB / 0.7915 GB, free: 8.082 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.8e-05/0.005127, allocations: 28.41 kB / 0.7915 GB, free: 8.051 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.00513, allocations: 4.062 kB / 0.7915 GB, free: 8.047 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7) (initialization): time 6.454e-05/0.005194, allocations: 62.91 kB / 0.7916 GB, free: 7.98 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.169e-05/0.005206, allocations: 4 kB / 0.7916 GB, free: 7.977 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.00521, allocations: 0 / 0.7916 GB, free: 7.977 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.037e-05/0.00522, allocations: 1 kB / 0.7916 GB, free: 7.977 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.574e-05/0.005256, allocations: 19.94 kB / 0.7916 GB, free: 7.957 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.005263, allocations: 10.22 kB / 0.7916 GB, free: 7.949 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.308e-06/0.005272, allocations: 0 / 0.7916 GB, free: 7.949 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.707e-06/0.005276, allocations: 0 / 0.7916 GB, free: 7.949 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 5.805e-05/0.005334, allocations: 160.6 kB / 0.7918 GB, free: 7.781 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.065e-05/0.005345, allocations: 11.98 kB / 0.7918 GB, free: 7.77 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.747e-05/0.005432, allocations: 65 kB / 0.7918 GB, free: 7.707 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-06/0.005433, allocations: 0 / 0.7918 GB, free: 7.707 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.005437, allocations: 3.938 kB / 0.7919 GB, free: 7.703 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.00544, allocations: 3.938 kB / 0.7919 GB, free: 7.699 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002075/0.005648, allocations: 317.1 kB / 0.7922 GB, free: 7.344 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.005649, allocations: 0 / 0.7922 GB, free: 7.344 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.896e-05/0.005688, allocations: 15.94 kB / 0.7922 GB, free: 7.328 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.00569, allocations: 0 / 0.7922 GB, free: 7.328 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.105e-06/0.005698, allocations: 3.938 kB / 0.7922 GB, free: 7.324 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.005699, allocations: 1.156 kB / 0.7922 GB, free: 7.324 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.549e-06/0.005704, allocations: 7.984 kB / 0.7922 GB, free: 7.316 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001355/0.00584, allocations: 220.2 kB / 0.7924 GB, free: 7.078 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.784e-05/0.005857, allocations: 11.98 kB / 0.7924 GB, free: 7.066 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.065e-05/0.005868, allocations: 4.625 kB / 0.7924 GB, free: 7.062 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.665e-05/0.005905, allocations: 4.562 kB / 0.7924 GB, free: 7.059 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.575e-05/0.00592, allocations: 4 kB / 0.7924 GB, free: 7.055 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.306e-06/0.005924, allocations: 1.062 kB / 0.7924 GB, free: 7.055 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.441e-05/0.005958, allocations: 135.1 kB / 0.7926 GB, free: 6.922 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.005958, allocations: 0.875 kB / 0.7926 GB, free: 6.922 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001565/0.006115, allocations: 19.94 kB / 0.7926 GB, free: 6.902 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.0001183/0.006233, allocations: 124.3 kB / 0.7927 GB, free: 6.773 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 7.573e-05/0.006309, allocations: 35.67 kB / 0.7927 GB, free: 6.734 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.006311, allocations: 1.406 kB / 0.7927 GB, free: 6.734 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.96e-05/0.00633, allocations: 23.61 kB / 0.7927 GB, free: 6.707 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001471/0.006478, allocations: 14.98 kB / 0.7928 GB, free: 6.695 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004527/0.00693, allocations: 184.9 kB / 0.7929 GB, free: 6.5 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.257e-05/0.006963, allocations: 56.02 kB / 0.793 GB, free: 6.426 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.501e-05/0.006988, allocations: 12.36 kB / 0.793 GB, free: 6.414 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.745e-05/0.007005, allocations: 12.5 kB / 0.793 GB, free: 6.402 MB / 0.7448 GB Notification: Performance of SimCode: time 6.22e-07/0.007006, allocations: 0 / 0.793 GB, free: 6.402 MB / 0.7448 GB Notification: Performance of Templates: time 0.002129/0.009135, allocations: 0.6537 MB / 0.7937 GB, free: 5.793 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: 4.934763604076579]