Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001084/0.001084, 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.001214/0.001214, 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.9587/0.9587, 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 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.813/1.813, allocations: 377.8 MB / 0.6239 GB, free: 8.562 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dp|dp_comp",fileNamePrefix="Buildings_12_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_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 0.8115 GB, free: 2.07 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.869e-05/2.009e-05, allocations: 3.625 kB / 0.8115 GB, free: 2.066 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.002129/0.002149, allocations: 1.34 MB / 0.8128 GB, free: 0.7383 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0009109/0.00306, allocations: 0.5744 MB / 0.8134 GB, free: 168 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.943e-05/0.00309, allocations: 1.531 kB / 0.8134 GB, free: 168 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 2.319e-05/0.003113, allocations: 7.922 kB / 0.8134 GB, free: 160 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 3.82e-05/0.003151, allocations: 7.938 kB / 0.8134 GB, free: 152 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005208/0.003672, allocations: 152.7 kB / 0.8136 GB, free: 0 / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 8.191e-05/0.003754, allocations: 15.98 kB / 0.8136 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 4.008e-05/0.003794, allocations: 7.938 kB / 0.8136 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 7.81e-05/0.003872, allocations: 5.531 kB / 0.8136 GB, free: 15.97 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 4.86e-05/0.00392, allocations: 11.92 kB / 0.8136 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.538e-05/0.003936, allocations: 0 / 0.8136 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003954/0.004331, allocations: 271.5 kB / 0.8139 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.462e-05/0.004346, allocations: 5 kB / 0.8139 GB, free: 15.69 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.363e-05/0.00437, allocations: 8 kB / 0.8139 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002545/0.004624, allocations: 156 kB / 0.814 GB, free: 15.53 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.004626, allocations: 0 / 0.814 GB, free: 15.53 MB / 0.7761 GB Notification: Performance of FrontEnd: time 8.62e-07/0.004627, allocations: 0.5312 kB / 0.814 GB, free: 15.53 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.038e-06/0.004631, allocations: 0.9688 kB / 0.814 GB, free: 15.53 MB / 0.7761 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.0003839/0.005015, allocations: 387.9 kB / 0.8144 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.005056, allocations: 12.03 kB / 0.8144 GB, free: 15.1 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.184e-05/0.005098, allocations: 5.953 kB / 0.8144 GB, free: 15.1 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.322e-05/0.005191, allocations: 112.6 kB / 0.8145 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.057e-05/0.005202, allocations: 0.9062 kB / 0.8145 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.021e-05/0.005222, allocations: 5.75 kB / 0.8145 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001018/0.005324, allocations: 67.94 kB / 0.8146 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.863e-06/0.00533, allocations: 192 / 0.8146 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.657e-06/0.005339, allocations: 384 / 0.8146 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.085e-05/0.00535, allocations: 5.531 kB / 0.8146 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.206e-05/0.005382, allocations: 11.92 kB / 0.8146 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001434/0.005525, allocations: 116.6 kB / 0.8147 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000177/0.005702, allocations: 48 kB / 0.8148 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.949e-05/0.005742, allocations: 20.61 kB / 0.8148 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.768e-05/0.005759, allocations: 0 / 0.8148 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.029e-05/0.00578, allocations: 38.48 kB / 0.8148 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=4): time 8.32e-07/0.005781, allocations: 0 / 0.8148 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of matching and sorting (n=6): time 0.0004815/0.006262, allocations: 245.5 kB / 0.815 GB, free: 14.31 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.819e-05/0.00629, allocations: 56.16 kB / 0.8151 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.14e-05/0.006352, allocations: 157.9 kB / 0.8153 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 9.728e-06/0.006361, allocations: 30.58 kB / 0.8153 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 3.152e-05/0.006393, allocations: 126.9 kB / 0.8154 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.365e-05/0.006417, allocations: 21.36 kB / 0.8154 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.838e-05/0.006445, allocations: 23.38 kB / 0.8154 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001061/0.006551, allocations: 0.4923 MB / 0.8159 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.591e-05/0.006567, allocations: 4 kB / 0.8159 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.436e-05/0.006581, allocations: 9.141 kB / 0.8159 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.842e-05/0.00662, allocations: 31.69 kB / 0.816 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.42e-07/0.00662, allocations: 0 / 0.816 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7) (initialization): time 7.054e-05/0.006691, allocations: 68.8 kB / 0.816 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.019e-05/0.006701, allocations: 8 kB / 0.816 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.006706, allocations: 0 / 0.816 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.045e-05/0.006716, allocations: 0 / 0.816 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.522e-05/0.006752, allocations: 8 kB / 0.816 GB, free: 13.22 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.381e-06/0.006757, allocations: 7.938 kB / 0.8161 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.075e-05/0.006768, allocations: 4.062 kB / 0.8161 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.967e-06/0.006772, allocations: 0 / 0.8161 GB, free: 13.21 MB / 0.7761 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.844e-05/0.00683, allocations: 165.1 kB / 0.8162 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.624e-06/0.006838, allocations: 4 kB / 0.8162 GB, free: 13.03 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.097e-05/0.006929, allocations: 76.09 kB / 0.8163 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-06/0.00693, allocations: 0 / 0.8163 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.748e-06/0.006935, allocations: 3.938 kB / 0.8163 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.006937, allocations: 0 / 0.8163 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002214/0.007159, allocations: 317.1 kB / 0.8166 GB, free: 12.6 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.00716, allocations: 0.875 kB / 0.8166 GB, free: 12.6 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.809e-05/0.007198, allocations: 8 kB / 0.8166 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.007201, allocations: 8.828 kB / 0.8166 GB, free: 12.58 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.518e-06/0.007211, allocations: 3.938 kB / 0.8166 GB, free: 12.58 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.007213, allocations: 5.266 kB / 0.8166 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.007213, allocations: 0 / 0.8166 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001531/0.007367, allocations: 219.9 kB / 0.8168 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.278e-05/0.007389, allocations: 18.31 kB / 0.8169 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.165e-05/0.007401, allocations: 7.938 kB / 0.8169 GB, free: 12.31 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.982e-05/0.007441, allocations: 3.938 kB / 0.8169 GB, free: 12.31 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.473e-05/0.007456, allocations: 4 kB / 0.8169 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.719e-06/0.00746, allocations: 4 kB / 0.8169 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.381e-05/0.007494, allocations: 127.2 kB / 0.817 GB, free: 12.18 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8e-08/0.007494, allocations: 0 / 0.817 GB, free: 12.18 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001603/0.007654, allocations: 18.94 kB / 0.817 GB, free: 12.16 MB / 0.7761 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.000129/0.007783, allocations: 123.2 kB / 0.8171 GB, free: 12.03 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 7.77e-05/0.007861, allocations: 43.59 kB / 0.8172 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.007863, allocations: 0 / 0.8172 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.039e-05/0.007883, allocations: 27.86 kB / 0.8172 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001588/0.008042, allocations: 11.55 kB / 0.8172 GB, free: 11.94 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004646/0.008506, allocations: 182.8 kB / 0.8174 GB, free: 11.75 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.204e-05/0.008539, allocations: 55.36 kB / 0.8174 GB, free: 11.67 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.58e-05/0.008564, allocations: 7.984 kB / 0.8174 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.981e-05/0.008584, allocations: 12.5 kB / 0.8175 GB, free: 11.65 MB / 0.7761 GB Notification: Performance of SimCode: time 6.61e-07/0.008585, allocations: 0 / 0.8175 GB, free: 11.65 MB / 0.7761 GB Notification: Performance of Templates: time 0.002218/0.0108, allocations: 0.6724 MB / 0.8181 GB, free: 11.03 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & ./Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.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.078982762992382]