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.001008/0.001008, allocations: 71.75 kB / 20.97 MB, free: 3.574 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.00103/0.00103, 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.9965/0.9965, 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.776/1.776, allocations: 359 MB / 0.6055 GB, free: 11.02 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_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 1.192e-06/1.192e-06, allocations: 0 / 0.7871 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.355e-05/1.474e-05, allocations: 8.781 kB / 0.7871 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.001415/0.00143, allocations: 1.34 MB / 0.7884 GB, free: 11.46 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.000701/0.002131, allocations: 0.585 MB / 0.789 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.061e-05/0.002151, allocations: 0 / 0.789 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 1.522e-05/0.002166, allocations: 0 / 0.789 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 2.817e-05/0.002195, allocations: 3.938 kB / 0.789 GB, free: 10.87 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003685/0.002563, allocations: 145.4 kB / 0.7891 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 5.291e-05/0.002616, allocations: 27.86 kB / 0.7891 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 2.964e-05/0.002646, allocations: 3.984 kB / 0.7891 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 4.715e-05/0.002693, allocations: 15.92 kB / 0.7892 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 3.594e-05/0.002729, allocations: 4.5 kB / 0.7892 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.062e-05/0.002739, allocations: 5.562 kB / 0.7892 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000299/0.003038, allocations: 263.4 kB / 0.7894 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.514e-05/0.003054, allocations: 8 kB / 0.7894 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.99e-05/0.003073, allocations: 11.97 kB / 0.7894 GB, free: 10.4 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001884/0.003262, allocations: 151.5 kB / 0.7896 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.533e-06/0.003263, allocations: 1.75 kB / 0.7896 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.82e-07/0.003264, allocations: 0 / 0.7896 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.017e-06/0.003268, allocations: 0 / 0.7896 GB, free: 10.25 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.0003205/0.003589, allocations: 384 kB / 0.79 GB, free: 9.836 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.484e-05/0.003624, allocations: 12.94 kB / 0.79 GB, free: 9.824 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.465e-05/0.003658, allocations: 5.234 kB / 0.79 GB, free: 9.82 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.374e-05/0.003742, allocations: 125 kB / 0.7901 GB, free: 9.672 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.868e-06/0.003752, allocations: 384 / 0.7901 GB, free: 9.672 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.779e-05/0.00377, allocations: 5.688 kB / 0.7901 GB, free: 9.668 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.23e-05/0.003862, allocations: 63.95 kB / 0.7902 GB, free: 9.594 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.49e-06/0.003868, allocations: 192 / 0.7902 GB, free: 9.594 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.356e-06/0.003876, allocations: 384 / 0.7902 GB, free: 9.594 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.291e-05/0.003889, allocations: 2.844 kB / 0.7902 GB, free: 9.594 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.47e-05/0.003913, allocations: 11.94 kB / 0.7902 GB, free: 9.582 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001196/0.004033, allocations: 116.7 kB / 0.7903 GB, free: 9.434 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001461/0.004179, allocations: 54.98 kB / 0.7903 GB, free: 9.367 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.617e-05/0.004205, allocations: 19.69 kB / 0.7904 GB, free: 9.344 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.286e-05/0.004218, allocations: 0.7188 kB / 0.7904 GB, free: 9.344 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.992e-05/0.004238, allocations: 33.39 kB / 0.7904 GB, free: 9.301 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=4): time 8.22e-07/0.004239, allocations: 0.5312 kB / 0.7904 GB, free: 9.301 MB / 0.7448 GB Notification: Performance of matching and sorting (n=6): time 0.0004282/0.004667, allocations: 243.6 kB / 0.7906 GB, free: 9.027 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.617e-05/0.004693, allocations: 59.34 kB / 0.7907 GB, free: 8.957 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.258e-05/0.004756, allocations: 161.9 kB / 0.7908 GB, free: 8.781 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 8.726e-06/0.004765, allocations: 25.7 kB / 0.7909 GB, free: 8.75 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.186e-05/0.004797, allocations: 127.5 kB / 0.791 GB, free: 8.621 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.348e-05/0.00482, allocations: 27.78 kB / 0.791 GB, free: 8.594 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.583e-05/0.004856, allocations: 24.56 kB / 0.791 GB, free: 8.562 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001092/0.004965, allocations: 492.1 kB / 0.7915 GB, free: 8.07 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.701e-05/0.004982, allocations: 11.98 kB / 0.7915 GB, free: 8.059 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.517e-05/0.004997, allocations: 9.156 kB / 0.7915 GB, free: 8.051 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.816e-05/0.005035, allocations: 27.69 kB / 0.7915 GB, free: 8.02 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.31e-07/0.005036, allocations: 0 / 0.7915 GB, free: 8.02 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7) (initialization): time 6.428e-05/0.005101, allocations: 59.06 kB / 0.7916 GB, free: 7.957 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.06e-05/0.005111, allocations: 8 kB / 0.7916 GB, free: 7.949 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.005115, allocations: 3.938 kB / 0.7916 GB, free: 7.945 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.477e-06/0.005125, allocations: 0 / 0.7916 GB, free: 7.945 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.693e-05/0.005162, allocations: 12.86 kB / 0.7916 GB, free: 7.934 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.533e-06/0.005168, allocations: 7.938 kB / 0.7916 GB, free: 7.926 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.024e-05/0.005179, allocations: 0.8438 kB / 0.7916 GB, free: 7.926 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.807e-06/0.005182, allocations: 0 / 0.7916 GB, free: 7.926 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.59e-05/0.005238, allocations: 161.9 kB / 0.7918 GB, free: 7.758 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.773e-06/0.005245, allocations: 0 / 0.7918 GB, free: 7.758 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.136e-05/0.005336, allocations: 77.67 kB / 0.7919 GB, free: 7.68 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.005339, allocations: 4.812 kB / 0.7919 GB, free: 7.676 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.005343, allocations: 4.062 kB / 0.7919 GB, free: 7.672 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.005346, allocations: 0 / 0.7919 GB, free: 7.672 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002196/0.005565, allocations: 318 kB / 0.7922 GB, free: 7.316 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.005567, allocations: 3.984 kB / 0.7922 GB, free: 7.312 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.066e-05/0.005608, allocations: 13.5 kB / 0.7922 GB, free: 7.301 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.00561, allocations: 0 / 0.7922 GB, free: 7.301 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.944e-06/0.005618, allocations: 7.938 kB / 0.7922 GB, free: 7.293 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/0.005619, allocations: 0 / 0.7922 GB, free: 7.293 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.00562, allocations: 1.156 kB / 0.7922 GB, free: 7.293 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001353/0.005755, allocations: 223.6 kB / 0.7924 GB, free: 7.051 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.026e-05/0.005776, allocations: 7.188 kB / 0.7924 GB, free: 7.047 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.989e-06/0.005786, allocations: 3.938 kB / 0.7924 GB, free: 7.043 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.053e-05/0.005826, allocations: 8 kB / 0.7924 GB, free: 7.035 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.573e-05/0.005842, allocations: 7.922 kB / 0.7924 GB, free: 7.027 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.508e-06/0.005846, allocations: 4 kB / 0.7924 GB, free: 7.023 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.217e-05/0.005878, allocations: 119.2 kB / 0.7926 GB, free: 6.906 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.005879, allocations: 4 kB / 0.7926 GB, free: 6.902 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001571/0.006036, allocations: 23.92 kB / 0.7926 GB, free: 6.879 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.0001201/0.006156, allocations: 119.6 kB / 0.7927 GB, free: 6.754 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 7.282e-05/0.006229, allocations: 37.84 kB / 0.7927 GB, free: 6.715 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.333e-06/0.00623, allocations: 0 / 0.7927 GB, free: 6.715 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.236e-05/0.006252, allocations: 27.62 kB / 0.7928 GB, free: 6.684 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001476/0.0064, allocations: 14.36 kB / 0.7928 GB, free: 6.672 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004389/0.006839, allocations: 197.4 kB / 0.793 GB, free: 6.461 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.92e-05/0.006868, allocations: 55.36 kB / 0.793 GB, free: 6.387 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.165e-05/0.00689, allocations: 8.391 kB / 0.793 GB, free: 6.379 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.818e-05/0.006908, allocations: 12.5 kB / 0.793 GB, free: 6.367 MB / 0.7448 GB Notification: Performance of SimCode: time 7.41e-07/0.006909, allocations: 0 / 0.793 GB, free: 6.367 MB / 0.7448 GB Notification: Performance of Templates: time 0.002149/0.009058, allocations: 0.6664 MB / 0.7937 GB, free: 5.742 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.074233062099665]