Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_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.0009678/0.0009678, allocations: 80.92 kB / 20.75 MB, free: 3.742 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.001074/0.001074, allocations: 161 kB / 24.17 MB, free: 332 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.933/0.933, allocations: 177.1 MB / 204.6 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.865/1.865, allocations: 377.9 MB / 0.624 GB, free: 8.359 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.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_DerivativeCheck2,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_comp|m_flow_turbulent|der.m_flow.|der.m_flow_comp.",fileNamePrefix="Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_comp|m_flow_turbulent|der.m_flow.|der.m_flow_comp.",fileNamePrefix="Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 0 / 0.76 GB, free: 6.668 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.583e-05/1.707e-05, allocations: 4.844 kB / 0.76 GB, free: 6.664 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.00175/0.001767, allocations: 1.343 MB / 0.7613 GB, free: 5.328 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0007359/0.002502, allocations: 0.5887 MB / 0.7619 GB, free: 4.75 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.219e-05/0.002525, allocations: 0 / 0.7619 GB, free: 4.75 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 1.771e-05/0.002542, allocations: 5 kB / 0.7619 GB, free: 4.746 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 4.204e-05/0.002584, allocations: 5.75 kB / 0.7619 GB, free: 4.742 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004241/0.003008, allocations: 151.7 kB / 0.7621 GB, free: 4.605 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 5.525e-05/0.003064, allocations: 33.88 kB / 0.7621 GB, free: 4.574 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 3.342e-05/0.003097, allocations: 3.938 kB / 0.7621 GB, free: 4.57 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 3.482e-05/0.003132, allocations: 20.94 kB / 0.7621 GB, free: 4.551 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 5.111e-05/0.003183, allocations: 11.98 kB / 0.7621 GB, free: 4.539 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.192e-05/0.003195, allocations: 4.625 kB / 0.7621 GB, free: 4.535 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002849/0.00348, allocations: 267.4 kB / 0.7624 GB, free: 4.273 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.873e-05/0.003499, allocations: 13.75 kB / 0.7624 GB, free: 4.262 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.417e-05/0.003513, allocations: 4 kB / 0.7624 GB, free: 4.258 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001805/0.003693, allocations: 163.5 kB / 0.7626 GB, free: 4.098 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.003695, allocations: 0 / 0.7626 GB, free: 4.098 MB / 0.7136 GB Notification: Performance of FrontEnd: time 5.51e-07/0.003696, allocations: 0 / 0.7626 GB, free: 4.098 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.156e-06/0.003699, allocations: 1.219 kB / 0.7626 GB, free: 4.098 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0002556/0.003955, allocations: 264.2 kB / 0.7628 GB, free: 3.812 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.962e-05/0.003984, allocations: 8.031 kB / 0.7628 GB, free: 3.805 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.667e-05/0.004011, allocations: 10.86 kB / 0.7628 GB, free: 3.797 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.038e-05/0.004081, allocations: 117.7 kB / 0.7629 GB, free: 3.656 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.237e-06/0.004091, allocations: 384 / 0.7629 GB, free: 3.656 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.27e-05/0.004113, allocations: 8.672 kB / 0.763 GB, free: 3.648 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.837e-05/0.004202, allocations: 101.6 kB / 0.7631 GB, free: 3.531 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.00421, allocations: 0.9375 kB / 0.7631 GB, free: 3.531 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.672e-06/0.004216, allocations: 4.375 kB / 0.7631 GB, free: 3.527 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.004221, allocations: 1.062 kB / 0.7631 GB, free: 3.527 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.152e-05/0.004243, allocations: 12.69 kB / 0.7631 GB, free: 3.516 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.415e-05/0.004327, allocations: 69.03 kB / 0.7631 GB, free: 3.434 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.212e-05/0.004399, allocations: 48.31 kB / 0.7632 GB, free: 3.379 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.001e-05/0.004419, allocations: 16.86 kB / 0.7632 GB, free: 3.359 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.311e-05/0.004432, allocations: 3.984 kB / 0.7632 GB, free: 3.355 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.133e-05/0.004453, allocations: 38.5 kB / 0.7632 GB, free: 3.309 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 6.11e-07/0.004454, allocations: 0.5 kB / 0.7632 GB, free: 3.309 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11): time 0.0006691/0.005123, allocations: 442.7 kB / 0.7637 GB, free: 2.824 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.072e-05/0.005154, allocations: 56.44 kB / 0.7637 GB, free: 2.758 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.597e-05/0.0052, allocations: 106.6 kB / 0.7638 GB, free: 2.641 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0002629/0.005463, allocations: 30.86 kB / 0.7638 GB, free: 2.605 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 1.947e-05/0.005482, allocations: 80.14 kB / 0.7639 GB, free: 2.523 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.189e-05/0.005514, allocations: 39.64 kB / 0.764 GB, free: 2.484 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.888e-05/0.005543, allocations: 31.39 kB / 0.764 GB, free: 2.449 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.089e-05/0.005614, allocations: 326.8 kB / 0.7643 GB, free: 2.121 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.424e-05/0.005628, allocations: 8 kB / 0.7643 GB, free: 2.113 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.307e-05/0.005641, allocations: 9.125 kB / 0.7643 GB, free: 2.105 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.948e-05/0.005681, allocations: 38.33 kB / 0.7644 GB, free: 2.07 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.005681, allocations: 0 / 0.7644 GB, free: 2.07 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 6.026e-05/0.005742, allocations: 65.67 kB / 0.7644 GB, free: 2 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.348e-06/0.005751, allocations: 4 kB / 0.7644 GB, free: 1.996 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.567e-06/0.005755, allocations: 0 / 0.7644 GB, free: 1.996 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.165e-05/0.005766, allocations: 4 kB / 0.7644 GB, free: 1.992 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.09e-05/0.005827, allocations: 23.92 kB / 0.7645 GB, free: 1.969 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.946e-06/0.00583, allocations: 7.875 kB / 0.7645 GB, free: 1.961 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.3e-05/0.005843, allocations: 5.969 kB / 0.7645 GB, free: 1.957 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.681e-06/0.005849, allocations: 4 kB / 0.7645 GB, free: 1.953 MB / 0.7136 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 4.647e-05/0.005895, allocations: 113.8 kB / 0.7646 GB, free: 1.832 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.256e-06/0.005903, allocations: 4 kB / 0.7646 GB, free: 1.828 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.072e-05/0.005994, allocations: 86.66 kB / 0.7647 GB, free: 1.734 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-06/0.005995, allocations: 0 / 0.7647 GB, free: 1.734 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-06/0.005997, allocations: 0 / 0.7647 GB, free: 1.734 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.006, allocations: 4.656 kB / 0.7647 GB, free: 1.73 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001885/0.006189, allocations: 222.8 kB / 0.7649 GB, free: 1.488 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.006189, allocations: 0.5 kB / 0.7649 GB, free: 1.488 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.76e-05/0.006247, allocations: 30.83 kB / 0.7649 GB, free: 1.461 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.322e-06/0.006248, allocations: 4 kB / 0.7649 GB, free: 1.457 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.859e-06/0.006253, allocations: 0 / 0.7649 GB, free: 1.457 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.11e-07/0.006254, allocations: 0 / 0.7649 GB, free: 1.457 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.006256, allocations: 3.938 kB / 0.7649 GB, free: 1.453 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001111/0.006367, allocations: 175.5 kB / 0.7651 GB, free: 1.266 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.833e-06/0.006374, allocations: 7.953 kB / 0.7651 GB, free: 1.258 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.658e-06/0.006383, allocations: 7.984 kB / 0.7651 GB, free: 1.25 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.555e-05/0.006419, allocations: 2.438 kB / 0.7651 GB, free: 1.25 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.149e-05/0.00643, allocations: 11.92 kB / 0.7651 GB, free: 1.238 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.222e-06/0.006437, allocations: 4 kB / 0.7651 GB, free: 1.234 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.612e-06/0.006443, allocations: 4.859 kB / 0.7651 GB, free: 1.227 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.006443, allocations: 3.938 kB / 0.7651 GB, free: 1.223 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000147/0.00659, allocations: 37.31 kB / 0.7652 GB, free: 1.188 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (m_flow_comp,der_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 (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.0001209/0.006711, allocations: 116.3 kB / 0.7653 GB, free: 1.066 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 6.624e-05/0.006778, allocations: 44.77 kB / 0.7653 GB, free: 1.02 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.006781, allocations: 7.156 kB / 0.7653 GB, free: 1.016 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.162e-05/0.006803, allocations: 28.78 kB / 0.7653 GB, free: 0.9844 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.597e-05/0.006899, allocations: 8.656 kB / 0.7654 GB, free: 0.9766 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004105/0.007309, allocations: 231.5 kB / 0.7656 GB, free: 0.7422 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.125e-05/0.007341, allocations: 64.28 kB / 0.7656 GB, free: 0.6602 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.827e-05/0.007369, allocations: 13.3 kB / 0.7657 GB, free: 0.6484 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.344e-05/0.007412, allocations: 63.36 kB / 0.7657 GB, free: 0.5859 MB / 0.7136 GB Notification: Performance of SimCode: time 5.51e-07/0.007413, allocations: 1.5 kB / 0.7657 GB, free: 0.5859 MB / 0.7136 GB Notification: Performance of Templates: time 0.002297/0.00971, allocations: 1.062 MB / 0.7668 GB, free: 15.62 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & ./Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_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: 4.844720265362412]