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.001379/0.001379, allocations: 81.95 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.00154/0.00154, allocations: 165.4 kB / 24.87 MB, free: 9.281 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.9812/0.9812, allocations: 177.1 MB / 205.3 MB, free: 5.496 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.887/1.887, allocations: 377.9 MB / 0.6247 GB, free: 8.426 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.342e-06/1.342e-06, allocations: 0 / 0.8128 GB, free: 316 kB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.733e-05/1.867e-05, allocations: 2.312 kB / 0.8128 GB, free: 312 kB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.002038/0.002057, allocations: 1.334 MB / 0.8141 GB, free: 14.98 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0007133/0.00277, allocations: 0.5748 MB / 0.8146 GB, free: 14.41 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.376e-05/0.002794, allocations: 0 / 0.8146 GB, free: 14.41 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 1.904e-05/0.002813, allocations: 0.9375 kB / 0.8146 GB, free: 14.41 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 4.086e-05/0.002854, allocations: 3.938 kB / 0.8146 GB, free: 14.41 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004179/0.003272, allocations: 152.3 kB / 0.8148 GB, free: 14.26 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 6.044e-05/0.003332, allocations: 24.7 kB / 0.8148 GB, free: 14.23 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 3.661e-05/0.003369, allocations: 0 / 0.8148 GB, free: 14.23 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 4.976e-05/0.003419, allocations: 16.97 kB / 0.8148 GB, free: 14.22 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 4.221e-05/0.003461, allocations: 7.984 kB / 0.8148 GB, free: 14.21 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.085e-05/0.003472, allocations: 0 / 0.8148 GB, free: 14.21 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000274/0.003746, allocations: 267.9 kB / 0.8151 GB, free: 13.95 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.415e-05/0.00376, allocations: 4 kB / 0.8151 GB, free: 13.95 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 1.74e-05/0.003777, allocations: 20.5 kB / 0.8151 GB, free: 13.93 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001748/0.003952, allocations: 148.8 kB / 0.8153 GB, free: 13.78 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.834e-06/0.003954, allocations: 0 / 0.8153 GB, free: 13.78 MB / 0.7292 GB Notification: Performance of FrontEnd: time 6.71e-07/0.003954, allocations: 0 / 0.8153 GB, free: 13.78 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.406e-06/0.003958, allocations: 0 / 0.8153 GB, free: 13.78 MB / 0.7292 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.0002906/0.004248, allocations: 390.3 kB / 0.8156 GB, free: 13.36 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.535e-05/0.004284, allocations: 8.031 kB / 0.8156 GB, free: 13.36 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.646e-05/0.00431, allocations: 9.234 kB / 0.8156 GB, free: 13.35 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.204e-05/0.004382, allocations: 116.6 kB / 0.8158 GB, free: 13.21 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.345e-06/0.004391, allocations: 384 / 0.8158 GB, free: 13.21 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.44e-05/0.004405, allocations: 4.375 kB / 0.8158 GB, free: 13.2 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.956e-05/0.004475, allocations: 68.45 kB / 0.8158 GB, free: 13.12 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.061e-06/0.004481, allocations: 0.875 kB / 0.8158 GB, free: 13.12 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.583e-06/0.004487, allocations: 384 / 0.8158 GB, free: 13.12 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-06/0.004491, allocations: 1.625 kB / 0.8158 GB, free: 13.12 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.77e-05/0.004509, allocations: 7.938 kB / 0.8158 GB, free: 13.12 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.923e-05/0.004608, allocations: 101.3 kB / 0.8159 GB, free: 12.99 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001191/0.004727, allocations: 44.58 kB / 0.816 GB, free: 12.94 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.982e-05/0.004747, allocations: 23.62 kB / 0.816 GB, free: 12.91 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.018e-05/0.004757, allocations: 0 / 0.816 GB, free: 12.91 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.748e-05/0.004775, allocations: 34.67 kB / 0.816 GB, free: 12.87 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=4): time 6.01e-07/0.004775, allocations: 0 / 0.816 GB, free: 12.87 MB / 0.7292 GB Notification: Performance of matching and sorting (n=6): time 0.0003405/0.005116, allocations: 237.6 kB / 0.8163 GB, free: 12.6 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.327e-05/0.005139, allocations: 52.75 kB / 0.8163 GB, free: 12.54 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.252e-05/0.005192, allocations: 161.9 kB / 0.8165 GB, free: 12.36 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 9.007e-06/0.005201, allocations: 25.7 kB / 0.8165 GB, free: 12.33 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.194e-05/0.005233, allocations: 130.9 kB / 0.8166 GB, free: 12.2 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.551e-05/0.005258, allocations: 29.03 kB / 0.8166 GB, free: 12.17 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.578e-05/0.005284, allocations: 23.36 kB / 0.8167 GB, free: 12.14 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.802e-05/0.005382, allocations: 0.4884 MB / 0.8171 GB, free: 11.64 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.018e-05/0.005392, allocations: 8.516 kB / 0.8171 GB, free: 11.63 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.157e-06/0.005401, allocations: 4 kB / 0.8172 GB, free: 11.62 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.053e-05/0.005432, allocations: 32.14 kB / 0.8172 GB, free: 11.59 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.22e-07/0.005432, allocations: 0.875 kB / 0.8172 GB, free: 11.59 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7) (initialization): time 5.481e-05/0.005487, allocations: 57.64 kB / 0.8172 GB, free: 11.53 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.092e-05/0.005498, allocations: 8.812 kB / 0.8172 GB, free: 11.52 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.436e-06/0.005502, allocations: 0 / 0.8172 GB, free: 11.52 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.133e-06/0.005509, allocations: 4.453 kB / 0.8172 GB, free: 11.52 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.195e-05/0.005541, allocations: 12.52 kB / 0.8173 GB, free: 11.5 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.164e-06/0.005543, allocations: 1.375 kB / 0.8173 GB, free: 11.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.328e-05/0.005556, allocations: 12 kB / 0.8173 GB, free: 11.49 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.927e-06/0.00556, allocations: 3.938 kB / 0.8173 GB, free: 11.49 MB / 0.7292 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.04e-05/0.00561, allocations: 157.7 kB / 0.8174 GB, free: 11.32 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.634e-06/0.005618, allocations: 4 kB / 0.8174 GB, free: 11.32 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.422e-05/0.005692, allocations: 66.03 kB / 0.8175 GB, free: 11.25 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.005694, allocations: 4.734 kB / 0.8175 GB, free: 11.24 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.132e-06/0.005695, allocations: 0 / 0.8175 GB, free: 11.24 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.005699, allocations: 4.562 kB / 0.8175 GB, free: 11.24 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001709/0.00587, allocations: 294.6 kB / 0.8178 GB, free: 10.91 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.005871, allocations: 0 / 0.8178 GB, free: 10.91 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.646e-05/0.005907, allocations: 15.98 kB / 0.8178 GB, free: 10.9 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.072e-06/0.005908, allocations: 0.8438 kB / 0.8178 GB, free: 10.9 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.66e-06/0.005914, allocations: 4 kB / 0.8178 GB, free: 10.89 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.81e-07/0.005915, allocations: 1.281 kB / 0.8178 GB, free: 10.89 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.005917, allocations: 7.922 kB / 0.8178 GB, free: 10.89 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001092/0.006026, allocations: 227.5 kB / 0.818 GB, free: 10.64 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.304e-05/0.006039, allocations: 8.641 kB / 0.818 GB, free: 10.63 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.384e-06/0.006047, allocations: 0 / 0.818 GB, free: 10.63 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.414e-05/0.006081, allocations: 0.8438 kB / 0.818 GB, free: 10.63 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.179e-05/0.006093, allocations: 11.92 kB / 0.8181 GB, free: 10.62 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.848e-06/0.006096, allocations: 5.594 kB / 0.8181 GB, free: 10.62 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 3.224e-05/0.006129, allocations: 123.2 kB / 0.8182 GB, free: 10.5 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.006129, allocations: 0 / 0.8182 GB, free: 10.5 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000156/0.006285, allocations: 19.94 kB / 0.8182 GB, free: 10.48 MB / 0.7292 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.0001012/0.006386, allocations: 120.1 kB / 0.8183 GB, free: 10.35 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 5.754e-05/0.006443, allocations: 35.23 kB / 0.8183 GB, free: 10.32 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.262e-06/0.006445, allocations: 0 / 0.8183 GB, free: 10.32 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.846e-05/0.006463, allocations: 35.59 kB / 0.8184 GB, free: 10.28 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000139/0.006602, allocations: 4 kB / 0.8184 GB, free: 10.27 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003503/0.006952, allocations: 179.9 kB / 0.8186 GB, free: 10.08 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.989e-05/0.006982, allocations: 63.28 kB / 0.8186 GB, free: 10 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 1.911e-05/0.007001, allocations: 12.91 kB / 0.8186 GB, free: 9.988 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.649e-05/0.007038, allocations: 75.39 kB / 0.8187 GB, free: 9.914 MB / 0.7292 GB Notification: Performance of SimCode: time 6.52e-07/0.007039, allocations: 0 / 0.8187 GB, free: 9.914 MB / 0.7292 GB Notification: Performance of Templates: time 0.001958/0.008997, allocations: 0.7605 MB / 0.8194 GB, free: 9.199 MB / 0.7292 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.043110270984471]