Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001627/0.001627, allocations: 114.8 kB / 18.89 MB, free: 2.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001957/0.001957, allocations: 197.5 kB / 22.17 MB, free: 5.211 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.509/1.509, allocations: 225.6 MB / 250.9 MB, free: 13.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.822/2.822, allocations: 476.7 MB / 0.7645 GB, free: 10.11 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_comp",fileNamePrefix="Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_comp",fileNamePrefix="Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002042/0.002042, allocations: 71.89 kB / 1.109 GB, free: 6.547 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7635/0.7656, allocations: 168.7 MB / 1.274 GB, free: 4.527 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.002382/0.7679, allocations: 1.284 MB / 1.275 GB, free: 3.238 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001079/0.769, allocations: 0.615 MB / 1.276 GB, free: 2.621 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.326e-05/0.769, allocations: 3.938 kB / 1.276 GB, free: 2.617 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.945e-05/0.7691, allocations: 0 / 1.276 GB, free: 2.617 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.293e-05/0.7691, allocations: 3.938 kB / 1.276 GB, free: 2.613 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005203/0.7696, allocations: 146.9 kB / 1.276 GB, free: 2.473 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 6.987e-05/0.7697, allocations: 23.91 kB / 1.276 GB, free: 2.449 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.592e-05/0.7697, allocations: 0 / 1.276 GB, free: 2.449 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 3.895e-05/0.7698, allocations: 15.92 kB / 1.276 GB, free: 2.434 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.708e-05/0.7698, allocations: 8 kB / 1.276 GB, free: 2.426 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.03e-05/0.7698, allocations: 0 / 1.276 GB, free: 2.426 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005364/0.7704, allocations: 347.3 kB / 1.276 GB, free: 2.086 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.201e-05/0.7704, allocations: 3.938 kB / 1.276 GB, free: 2.082 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.293e-05/0.7704, allocations: 8 kB / 1.276 GB, free: 2.074 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002604/0.7707, allocations: 154.2 kB / 1.277 GB, free: 1.926 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.7707, allocations: 4 kB / 1.277 GB, free: 1.922 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.382e-06/0.7707, allocations: 0 / 1.277 GB, free: 1.922 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.578e-06/0.7707, allocations: 0 / 1.277 GB, free: 1.922 MB / 0.9669 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.000462/0.7711, allocations: 363.1 kB / 1.277 GB, free: 1.516 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.546e-05/0.7712, allocations: 11.97 kB / 1.277 GB, free: 1.504 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.285e-05/0.7712, allocations: 4.922 kB / 1.277 GB, free: 1.5 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001445/0.7714, allocations: 168.3 kB / 1.277 GB, free: 1.297 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.24e-05/0.7714, allocations: 384 / 1.277 GB, free: 1.297 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.187e-05/0.7714, allocations: 384 / 1.277 GB, free: 1.297 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001099/0.7715, allocations: 42.25 kB / 1.277 GB, free: 1.25 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.7715, allocations: 192 / 1.277 GB, free: 1.25 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.239e-05/0.7715, allocations: 3.938 kB / 1.277 GB, free: 1.246 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.997e-06/0.7715, allocations: 4 kB / 1.277 GB, free: 1.242 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.24e-05/0.7716, allocations: 15.94 kB / 1.277 GB, free: 1.227 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002023/0.7718, allocations: 153.7 kB / 1.277 GB, free: 1.027 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002033/0.772, allocations: 42.61 kB / 1.277 GB, free: 0.9766 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.861e-05/0.772, allocations: 16.94 kB / 1.277 GB, free: 0.957 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.814e-05/0.772, allocations: 0 / 1.277 GB, free: 0.957 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.682e-05/0.7721, allocations: 42.56 kB / 1.277 GB, free: 0.9062 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 8.92e-07/0.7721, allocations: 0 / 1.277 GB, free: 0.9062 MB / 0.9669 GB Notification: Performance of matching and sorting (n=6): time 0.0006534/0.7727, allocations: 314.4 kB / 1.278 GB, free: 0.5469 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.142e-05/0.7728, allocations: 55.39 kB / 1.278 GB, free: 492 kB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.785e-05/0.7728, allocations: 97.86 kB / 1.278 GB, free: 384 kB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.589e-05/0.7729, allocations: 25.7 kB / 1.278 GB, free: 352 kB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.841e-05/0.7729, allocations: 80.14 kB / 1.278 GB, free: 268 kB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.046e-05/0.7729, allocations: 23.84 kB / 1.278 GB, free: 244 kB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.646e-05/0.773, allocations: 21.72 kB / 1.278 GB, free: 216 kB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000158/0.7731, allocations: 322.8 kB / 1.278 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.959e-05/0.7732, allocations: 7.984 kB / 1.278 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.298e-05/0.7732, allocations: 12 kB / 1.278 GB, free: 15.87 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.41e-05/0.7732, allocations: 36.84 kB / 1.278 GB, free: 15.83 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.91e-07/0.7732, allocations: 0 / 1.278 GB, free: 15.83 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001098/0.7733, allocations: 69.64 kB / 1.278 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.7734, allocations: 7.938 kB / 1.278 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.7734, allocations: 8 kB / 1.278 GB, free: 15.74 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.7734, allocations: 0 / 1.278 GB, free: 15.74 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.481e-05/0.7734, allocations: 15.98 kB / 1.278 GB, free: 15.72 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.529e-06/0.7734, allocations: 0 / 1.278 GB, free: 15.72 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.814e-05/0.7735, allocations: 0 / 1.278 GB, free: 15.72 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.065e-06/0.7735, allocations: 4 kB / 1.278 GB, free: 15.72 MB / 0.9825 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 9.163e-05/0.7736, allocations: 115.3 kB / 1.279 GB, free: 15.6 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.281e-05/0.7736, allocations: 3.938 kB / 1.279 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001566/0.7737, allocations: 85.52 kB / 1.279 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.7737, allocations: 4 kB / 1.279 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.7737, allocations: 0 / 1.279 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.7737, allocations: 0 / 1.279 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003701/0.7741, allocations: 311.4 kB / 1.279 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.7741, allocations: 0 / 1.279 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.744e-05/0.7742, allocations: 15.98 kB / 1.279 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.7742, allocations: 0 / 1.279 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.662e-06/0.7742, allocations: 0 / 1.279 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.7742, allocations: 4 kB / 1.279 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.7742, allocations: 4.031 kB / 1.279 GB, free: 15.11 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002117/0.7744, allocations: 180.5 kB / 1.279 GB, free: 14.92 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.771e-05/0.7745, allocations: 85.12 kB / 1.279 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.263e-05/0.7745, allocations: 0 / 1.279 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.742e-05/0.7745, allocations: 4.188 kB / 1.279 GB, free: 14.81 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.138e-05/0.7746, allocations: 7.984 kB / 1.279 GB, free: 14.8 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.468e-06/0.7746, allocations: 12.06 kB / 1.279 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.931e-05/0.7746, allocations: 75.28 kB / 1.279 GB, free: 14.72 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.7746, allocations: 0 / 1.279 GB, free: 14.72 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002611/0.7749, allocations: 23.94 kB / 1.279 GB, free: 14.7 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (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 (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.0001967/0.7751, allocations: 119.7 kB / 1.279 GB, free: 14.57 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001327/0.7752, allocations: 39.91 kB / 1.28 GB, free: 14.53 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.7752, allocations: 0 / 1.28 GB, free: 14.53 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.53e-05/0.7753, allocations: 19.98 kB / 1.28 GB, free: 14.51 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002397/0.7755, allocations: 13.56 kB / 1.28 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004205/0.7759, allocations: 205.8 kB / 1.28 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003433/0.7763, allocations: 0.6884 MB / 1.28 GB, free: 13.55 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.654e-05/0.7763, allocations: 4 kB / 1.28 GB, free: 13.55 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.152e-05/0.7763, allocations: 11.44 kB / 1.28 GB, free: 13.54 MB / 0.9825 GB Notification: Performance of SimCode: time 3.41e-07/0.7763, allocations: 0 / 1.28 GB, free: 13.54 MB / 0.9825 GB Notification: Performance of Templates: time 0.003278/0.7796, allocations: 0.6488 MB / 1.281 GB, free: 12.92 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & ./Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.60932072903961]