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.001074/0.001074, allocations: 80.39 kB / 21.47 MB, free: 3.031 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.001046/0.001046, allocations: 165.1 kB / 24.86 MB, free: 8.867 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.9419/0.9419, allocations: 177.1 MB / 205.3 MB, free: 5.508 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.809/1.809, allocations: 359 MB / 0.6063 GB, free: 10.9 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.563e-06/1.563e-06, allocations: 0 / 0.7883 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.42e-05/1.576e-05, allocations: 2.312 kB / 0.7883 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.001866/0.001882, allocations: 1.333 MB / 0.7896 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0008248/0.002707, allocations: 0.5754 MB / 0.7902 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.391e-05/0.002731, allocations: 0 / 0.7902 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 1.476e-05/0.002745, allocations: 3.938 kB / 0.7902 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 3.391e-05/0.002779, allocations: 4.5 kB / 0.7902 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003813/0.003161, allocations: 150.6 kB / 0.7903 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 4.842e-05/0.003209, allocations: 19.92 kB / 0.7903 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.427e-05/0.003243, allocations: 4 kB / 0.7904 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 4.102e-05/0.003284, allocations: 11.92 kB / 0.7904 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 3.216e-05/0.003316, allocations: 4 kB / 0.7904 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 9.177e-06/0.003326, allocations: 0 / 0.7904 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002871/0.003613, allocations: 279.3 kB / 0.7906 GB, free: 9.848 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.191e-05/0.003625, allocations: 0.7188 kB / 0.7906 GB, free: 9.848 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.443e-05/0.003639, allocations: 8 kB / 0.7906 GB, free: 9.84 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001793/0.003818, allocations: 157.1 kB / 0.7908 GB, free: 9.688 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.00382, allocations: 0 / 0.7908 GB, free: 9.688 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.863e-06/0.003822, allocations: 3.984 kB / 0.7908 GB, free: 9.684 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.536e-06/0.003826, allocations: 4 kB / 0.7908 GB, free: 9.68 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.0002261/0.004052, allocations: 380.6 kB / 0.7912 GB, free: 9.27 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 2.864e-05/0.00408, allocations: 8.031 kB / 0.7912 GB, free: 9.262 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.144e-05/0.004102, allocations: 9.953 kB / 0.7912 GB, free: 9.254 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.632e-05/0.004168, allocations: 108.6 kB / 0.7913 GB, free: 9.121 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.674e-06/0.004176, allocations: 5.5 kB / 0.7913 GB, free: 9.117 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.173e-05/0.004188, allocations: 4.359 kB / 0.7913 GB, free: 9.113 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.371e-05/0.004241, allocations: 59.97 kB / 0.7913 GB, free: 9.043 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.426e-06/0.004245, allocations: 1 kB / 0.7913 GB, free: 9.043 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.867e-06/0.004249, allocations: 8.312 kB / 0.7914 GB, free: 9.035 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.004254, allocations: 9.703 kB / 0.7914 GB, free: 9.027 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.694e-05/0.004271, allocations: 11.92 kB / 0.7914 GB, free: 9.016 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.436e-05/0.004345, allocations: 101.2 kB / 0.7915 GB, free: 8.891 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001175/0.004463, allocations: 52.09 kB / 0.7915 GB, free: 8.828 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.713e-05/0.00448, allocations: 19.77 kB / 0.7915 GB, free: 8.805 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.096e-05/0.004491, allocations: 4.875 kB / 0.7915 GB, free: 8.801 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.947e-05/0.00451, allocations: 37.33 kB / 0.7916 GB, free: 8.754 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=4): time 7.51e-07/0.004511, allocations: 1.188 kB / 0.7916 GB, free: 8.754 MB / 0.7448 GB Notification: Performance of matching and sorting (n=6): time 0.0003518/0.004863, allocations: 217.7 kB / 0.7918 GB, free: 8.504 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.579e-05/0.004889, allocations: 55.41 kB / 0.7918 GB, free: 8.438 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.771e-05/0.004946, allocations: 163.3 kB / 0.792 GB, free: 8.262 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 9.238e-06/0.004956, allocations: 25.7 kB / 0.792 GB, free: 8.23 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.476e-05/0.00499, allocations: 126.9 kB / 0.7921 GB, free: 8.102 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.469e-05/0.005015, allocations: 27.78 kB / 0.7922 GB, free: 8.074 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.717e-05/0.005042, allocations: 27.89 kB / 0.7922 GB, free: 8.039 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001216/0.005164, allocations: 496.6 kB / 0.7927 GB, free: 7.543 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.118e-05/0.005175, allocations: 8.516 kB / 0.7927 GB, free: 7.535 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.158e-05/0.005187, allocations: 8 kB / 0.7927 GB, free: 7.527 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.639e-05/0.005223, allocations: 32.64 kB / 0.7927 GB, free: 7.492 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.005224, allocations: 0 / 0.7927 GB, free: 7.492 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7) (initialization): time 6.83e-05/0.005292, allocations: 62.44 kB / 0.7928 GB, free: 7.426 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.207e-05/0.005304, allocations: 4 kB / 0.7928 GB, free: 7.422 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.005308, allocations: 0.5312 kB / 0.7928 GB, free: 7.422 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.017e-06/0.005317, allocations: 0 / 0.7928 GB, free: 7.422 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.941e-05/0.005347, allocations: 17.36 kB / 0.7928 GB, free: 7.406 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.715e-06/0.005349, allocations: 0 / 0.7928 GB, free: 7.406 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.025e-05/0.00536, allocations: 3.938 kB / 0.7928 GB, free: 7.402 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.252e-06/0.005366, allocations: 4 kB / 0.7928 GB, free: 7.398 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.211e-05/0.005428, allocations: 161.8 kB / 0.793 GB, free: 7.23 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.915e-06/0.005436, allocations: 4 kB / 0.793 GB, free: 7.227 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.578e-05/0.005512, allocations: 62.61 kB / 0.793 GB, free: 7.164 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.005513, allocations: 4 kB / 0.793 GB, free: 7.16 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.463e-06/0.005515, allocations: 0.9375 kB / 0.793 GB, free: 7.16 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.005519, allocations: 3.938 kB / 0.793 GB, free: 7.156 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001636/0.005683, allocations: 295.1 kB / 0.7933 GB, free: 6.832 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.005685, allocations: 0 / 0.7933 GB, free: 6.832 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.351e-05/0.005718, allocations: 16 kB / 0.7933 GB, free: 6.816 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.00572, allocations: 0 / 0.7933 GB, free: 6.816 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.41e-06/0.005725, allocations: 4.922 kB / 0.7933 GB, free: 6.812 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.005728, allocations: 7.938 kB / 0.7933 GB, free: 6.805 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.00573, allocations: 6.156 kB / 0.7933 GB, free: 6.801 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001236/0.005853, allocations: 224 kB / 0.7936 GB, free: 6.559 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.19e-05/0.005865, allocations: 3.984 kB / 0.7936 GB, free: 6.555 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.045e-05/0.005876, allocations: 4 kB / 0.7936 GB, free: 6.551 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.091e-05/0.005906, allocations: 0 / 0.7936 GB, free: 6.551 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.552e-05/0.005922, allocations: 7.938 kB / 0.7936 GB, free: 6.543 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.754e-06/0.00593, allocations: 15.16 kB / 0.7936 GB, free: 6.531 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.578e-05/0.005965, allocations: 123.2 kB / 0.7937 GB, free: 6.41 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.005966, allocations: 0 / 0.7937 GB, free: 6.41 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001678/0.006133, allocations: 15.94 kB / 0.7937 GB, free: 6.395 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.0001175/0.006251, allocations: 127.1 kB / 0.7938 GB, free: 6.262 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 6.966e-05/0.00632, allocations: 35.61 kB / 0.7939 GB, free: 6.223 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.273e-06/0.006322, allocations: 0 / 0.7939 GB, free: 6.223 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.537e-05/0.006337, allocations: 20.83 kB / 0.7939 GB, free: 6.199 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001445/0.006482, allocations: 15.66 kB / 0.7939 GB, free: 6.188 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003864/0.006868, allocations: 187.5 kB / 0.7941 GB, free: 5.988 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.187e-05/0.0069, allocations: 59.34 kB / 0.7942 GB, free: 5.91 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.915e-05/0.006919, allocations: 4.25 kB / 0.7942 GB, free: 5.906 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.7e-05/0.006966, allocations: 74.2 kB / 0.7942 GB, free: 5.832 MB / 0.7448 GB Notification: Performance of SimCode: time 6.72e-07/0.006967, allocations: 0 / 0.7942 GB, free: 5.832 MB / 0.7448 GB Notification: Performance of Templates: time 0.002162/0.009129, allocations: 0.7356 MB / 0.7949 GB, free: 5.137 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.910372122190893]