Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_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.001597/0.001597, allocations: 83.59 kB / 20.45 MB, free: 4.113 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.001863/0.001863, allocations: 165 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.044/1.044, allocations: 177.1 MB / 204.2 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.872/1.872, allocations: 359 MB / 0.6052 GB, free: 11.02 MB / 0.573 GB " [Timeout remaining time 177] 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_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dp|dp_comp",fileNamePrefix="Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dp|dp_comp",fileNamePrefix="Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.054e-06/2.054e-06, allocations: 0 / 0.7871 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.874e-05/3.08e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.005723/0.005754, allocations: 1.334 MB / 0.7884 GB, free: 11.17 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001049/0.006803, allocations: 0.5885 MB / 0.789 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.632e-05/0.006839, allocations: 0 / 0.789 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.64e-05/0.006866, allocations: 0 / 0.789 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 4.648e-05/0.006912, allocations: 4.5 kB / 0.789 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006931/0.007605, allocations: 156.6 kB / 0.7891 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0003621/0.007967, allocations: 19.92 kB / 0.7891 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 4.413e-05/0.008011, allocations: 1.094 kB / 0.7891 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 5.736e-05/0.008069, allocations: 15.92 kB / 0.7892 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.936e-05/0.008118, allocations: 7.984 kB / 0.7892 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.509e-05/0.008133, allocations: 0.7812 kB / 0.7892 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003357/0.008469, allocations: 275.4 kB / 0.7894 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.677e-05/0.008486, allocations: 4.938 kB / 0.7894 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.24e-05/0.008508, allocations: 4 kB / 0.7894 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002347/0.008743, allocations: 159.5 kB / 0.7896 GB, free: 9.953 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.008747, allocations: 2.594 kB / 0.7896 GB, free: 9.953 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.263e-06/0.008749, allocations: 0 / 0.7896 GB, free: 9.953 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.571e-06/0.008754, allocations: 0 / 0.7896 GB, free: 9.953 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.0003845/0.009139, allocations: 384 kB / 0.79 GB, free: 9.539 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.68e-05/0.009175, allocations: 8.031 kB / 0.79 GB, free: 9.531 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.54e-05/0.009221, allocations: 13.23 kB / 0.79 GB, free: 9.52 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.163e-05/0.009302, allocations: 113.3 kB / 0.7901 GB, free: 9.383 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.133e-05/0.009314, allocations: 384 / 0.7901 GB, free: 9.383 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.564e-05/0.009339, allocations: 4.906 kB / 0.7901 GB, free: 9.379 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001009/0.00944, allocations: 67.89 kB / 0.7902 GB, free: 9.301 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.042e-06/0.009446, allocations: 1.844 kB / 0.7902 GB, free: 9.301 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.039e-05/0.009457, allocations: 4.375 kB / 0.7902 GB, free: 9.297 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.009464, allocations: 384 / 0.7902 GB, free: 9.297 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.481e-05/0.009489, allocations: 7.938 kB / 0.7902 GB, free: 9.289 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001564/0.009645, allocations: 117.2 kB / 0.7903 GB, free: 9.141 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00019/0.009835, allocations: 51.58 kB / 0.7903 GB, free: 9.078 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.733e-05/0.009863, allocations: 16.53 kB / 0.7903 GB, free: 9.059 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.096e-05/0.009884, allocations: 7.938 kB / 0.7904 GB, free: 9.051 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.299e-05/0.009907, allocations: 42.48 kB / 0.7904 GB, free: 9 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.009908, allocations: 0 / 0.7904 GB, free: 9 MB / 0.7448 GB Notification: Performance of matching and sorting (n=6): time 0.0005429/0.01045, allocations: 238.1 kB / 0.7906 GB, free: 8.73 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.606e-05/0.01048, allocations: 56.72 kB / 0.7907 GB, free: 8.664 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.183e-05/0.01055, allocations: 157.9 kB / 0.7908 GB, free: 8.492 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.17e-05/0.01056, allocations: 29.7 kB / 0.7909 GB, free: 8.457 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.422e-05/0.01059, allocations: 128.6 kB / 0.791 GB, free: 8.328 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.062e-05/0.01062, allocations: 27.78 kB / 0.791 GB, free: 8.301 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.11e-05/0.01066, allocations: 23.38 kB / 0.791 GB, free: 8.27 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001349/0.01079, allocations: 496.1 kB / 0.7915 GB, free: 7.773 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.846e-05/0.01081, allocations: 7.984 kB / 0.7915 GB, free: 7.766 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.648e-05/0.01083, allocations: 16.83 kB / 0.7915 GB, free: 7.75 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.142e-05/0.01087, allocations: 27.62 kB / 0.7916 GB, free: 7.719 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.01087, allocations: 1.281 kB / 0.7916 GB, free: 7.719 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7) (initialization): time 7.354e-05/0.01094, allocations: 61.69 kB / 0.7916 GB, free: 7.652 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.153e-05/0.01095, allocations: 4 kB / 0.7916 GB, free: 7.648 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.01096, allocations: 0 / 0.7916 GB, free: 7.648 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.01097, allocations: 0.8438 kB / 0.7916 GB, free: 7.648 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.51e-05/0.01102, allocations: 15.98 kB / 0.7916 GB, free: 7.633 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.01102, allocations: 5.125 kB / 0.7916 GB, free: 7.629 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.088e-05/0.01103, allocations: 0 / 0.7916 GB, free: 7.629 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.318e-06/0.01104, allocations: 0 / 0.7916 GB, free: 7.629 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.397e-05/0.0111, allocations: 165.9 kB / 0.7918 GB, free: 7.457 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.03e-05/0.01111, allocations: 4 kB / 0.7918 GB, free: 7.453 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000101/0.01121, allocations: 69.8 kB / 0.7919 GB, free: 7.383 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.01122, allocations: 1.531 kB / 0.7919 GB, free: 7.383 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.01122, allocations: 3.938 kB / 0.7919 GB, free: 7.379 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.01122, allocations: 0 / 0.7919 GB, free: 7.379 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003099/0.01153, allocations: 313.1 kB / 0.7922 GB, free: 7.027 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.01153, allocations: 2.812 kB / 0.7922 GB, free: 7.027 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.744e-05/0.01158, allocations: 11.98 kB / 0.7922 GB, free: 7.016 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.01158, allocations: 4 kB / 0.7922 GB, free: 7.012 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.516e-06/0.01159, allocations: 3.938 kB / 0.7922 GB, free: 7.008 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.01159, allocations: 0 / 0.7922 GB, free: 7.008 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.0116, allocations: 0 / 0.7922 GB, free: 7.008 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001475/0.01174, allocations: 239.7 kB / 0.7924 GB, free: 6.75 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.665e-05/0.01176, allocations: 0.5 kB / 0.7924 GB, free: 6.75 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.29e-05/0.01177, allocations: 8.469 kB / 0.7924 GB, free: 6.742 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.183e-05/0.01181, allocations: 4 kB / 0.7924 GB, free: 6.738 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.713e-05/0.01183, allocations: 9.922 kB / 0.7924 GB, free: 6.73 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.328e-06/0.01184, allocations: 0 / 0.7924 GB, free: 6.73 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.341e-05/0.01187, allocations: 123.2 kB / 0.7926 GB, free: 6.609 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.01187, allocations: 0 / 0.7926 GB, free: 6.609 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001809/0.01205, allocations: 27.92 kB / 0.7926 GB, free: 6.582 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (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 (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.0001555/0.01221, allocations: 123.9 kB / 0.7927 GB, free: 6.453 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 9.22e-05/0.0123, allocations: 40.48 kB / 0.7927 GB, free: 6.41 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.0123, allocations: 4.719 kB / 0.7927 GB, free: 6.406 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.891e-05/0.01232, allocations: 19.62 kB / 0.7928 GB, free: 6.383 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001664/0.01249, allocations: 14.78 kB / 0.7928 GB, free: 6.371 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005214/0.01301, allocations: 192.2 kB / 0.793 GB, free: 6.164 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.415e-05/0.01304, allocations: 55.36 kB / 0.793 GB, free: 6.09 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.323e-05/0.01306, allocations: 4.25 kB / 0.793 GB, free: 6.086 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.407e-05/0.01309, allocations: 16.5 kB / 0.793 GB, free: 6.07 MB / 0.7448 GB Notification: Performance of SimCode: time 8.42e-07/0.01309, allocations: 0 / 0.793 GB, free: 6.07 MB / 0.7448 GB Notification: Performance of Templates: time 0.002652/0.01574, allocations: 0.6656 MB / 0.7937 GB, free: 5.453 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & ./Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_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: 5.304119273088872]