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.0008167/0.0008167, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001168/0.001985, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001015/0.001015, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001208/0.002223, allocations: 459.6 kB / 11.71 MB, free: 2.457 MB / 13.93 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.9539/0.9539, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08475/1.039, allocations: 53.65 MB / 243.3 MB, free: 15.58 MB / 250.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.84/1.84, allocations: 378.2 MB / 0.6076 GB, free: 7.824 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5002/2.34, allocations: 123.3 MB / 0.728 GB, free: 5.824 MB / 0.698 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_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 2.234e-06/2.234e-06, allocations: 0 / 0.7294 GB, free: 4.504 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.505e-05/1.728e-05, allocations: 4.375 kB / 0.7294 GB, free: 4.5 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.002343/0.00236, allocations: 1.383 MB / 0.7307 GB, free: 3.129 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0009338/0.003294, allocations: 0.5899 MB / 0.7313 GB, free: 2.551 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.325e-05/0.003317, allocations: 0.625 kB / 0.7313 GB, free: 2.551 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 9.738e-06/0.003327, allocations: 0 / 0.7313 GB, free: 2.551 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 3.012e-05/0.003357, allocations: 6.484 kB / 0.7313 GB, free: 2.547 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.000484/0.003841, allocations: 150.8 kB / 0.7314 GB, free: 2.41 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 7.083e-05/0.003912, allocations: 23.86 kB / 0.7315 GB, free: 2.391 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 3.955e-05/0.003951, allocations: 8.578 kB / 0.7315 GB, free: 2.383 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 6.867e-05/0.00402, allocations: 11.94 kB / 0.7315 GB, free: 2.371 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 5.881e-05/0.004079, allocations: 12.77 kB / 0.7315 GB, free: 2.359 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.243e-05/0.004091, allocations: 4 kB / 0.7315 GB, free: 2.355 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004444/0.004535, allocations: 256.7 kB / 0.7317 GB, free: 2.105 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.283e-05/0.004548, allocations: 3.938 kB / 0.7317 GB, free: 2.102 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 1.634e-05/0.004565, allocations: 4 kB / 0.7318 GB, free: 2.098 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002596/0.004824, allocations: 132.4 kB / 0.7319 GB, free: 1.969 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.52e-05/0.004839, allocations: 0 / 0.7319 GB, free: 1.969 MB / 0.698 GB Notification: Performance of FrontEnd: time 8.72e-07/0.00484, allocations: 4 kB / 0.7319 GB, free: 1.965 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.82e-05/0.004858, allocations: 0.5625 kB / 0.7319 GB, free: 1.965 MB / 0.698 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.0004221/0.005281, allocations: 278 kB / 0.7321 GB, free: 1.668 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.27e-05/0.005313, allocations: 8.031 kB / 0.7322 GB, free: 1.66 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.203e-05/0.005345, allocations: 4.938 kB / 0.7322 GB, free: 1.656 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.33e-05/0.005439, allocations: 113.7 kB / 0.7323 GB, free: 1.52 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.044e-05/0.005449, allocations: 384 / 0.7323 GB, free: 1.52 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.007e-05/0.005469, allocations: 5.188 kB / 0.7323 GB, free: 1.516 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.34e-05/0.005562, allocations: 63.95 kB / 0.7323 GB, free: 1.441 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.053e-06/0.00557, allocations: 1.688 kB / 0.7323 GB, free: 1.441 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.354e-06/0.005577, allocations: 4.312 kB / 0.7323 GB, free: 1.438 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.65e-06/0.005583, allocations: 4.375 kB / 0.7323 GB, free: 1.434 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.737e-05/0.00561, allocations: 7.938 kB / 0.7324 GB, free: 1.426 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.963e-05/0.00571, allocations: 57.92 kB / 0.7324 GB, free: 1.355 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001647/0.005874, allocations: 43.47 kB / 0.7324 GB, free: 1.305 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.474e-05/0.005899, allocations: 16.92 kB / 0.7325 GB, free: 1.285 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.345e-05/0.005922, allocations: 1.75 kB / 0.7325 GB, free: 1.285 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.944e-05/0.005952, allocations: 42.56 kB / 0.7325 GB, free: 1.234 MB / 0.698 GB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.005953, allocations: 0 / 0.7325 GB, free: 1.234 MB / 0.698 GB Notification: Performance of matching and sorting (n=6): time 0.0005549/0.006508, allocations: 225.7 kB / 0.7327 GB, free: 0.9805 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.128e-05/0.006539, allocations: 52.5 kB / 0.7328 GB, free: 0.918 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.62e-05/0.006595, allocations: 98.72 kB / 0.7329 GB, free: 0.8086 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.27e-05/0.006608, allocations: 25.7 kB / 0.7329 GB, free: 0.7773 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.59e-05/0.006634, allocations: 84.73 kB / 0.733 GB, free: 0.6914 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.382e-05/0.006668, allocations: 31.72 kB / 0.733 GB, free: 0.6602 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.325e-05/0.006701, allocations: 18.84 kB / 0.733 GB, free: 0.6367 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.393e-05/0.006795, allocations: 322.8 kB / 0.7333 GB, free: 320 kB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.392e-05/0.006809, allocations: 11.92 kB / 0.7333 GB, free: 308 kB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.271e-05/0.006822, allocations: 4.719 kB / 0.7333 GB, free: 304 kB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.538e-05/0.006867, allocations: 26.19 kB / 0.7334 GB, free: 276 kB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.01e-07/0.006868, allocations: 0 / 0.7334 GB, free: 276 kB / 0.698 GB Notification: Performance of matching and sorting (n=7) (initialization): time 7.327e-05/0.006941, allocations: 49.67 kB / 0.7334 GB, free: 220 kB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.14e-05/0.006953, allocations: 8 kB / 0.7334 GB, free: 212 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.006957, allocations: 1.031 kB / 0.7334 GB, free: 212 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.128e-06/0.006966, allocations: 0 / 0.7334 GB, free: 212 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.769e-05/0.007024, allocations: 15.98 kB / 0.7334 GB, free: 196 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.906e-06/0.007027, allocations: 0.5312 kB / 0.7334 GB, free: 196 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.661e-05/0.007043, allocations: 5.562 kB / 0.7334 GB, free: 192 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.679e-06/0.007048, allocations: 0 / 0.7334 GB, free: 192 kB / 0.698 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 6.118e-05/0.007109, allocations: 117.8 kB / 0.7336 GB, free: 64 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.061e-05/0.00712, allocations: 4 kB / 0.7336 GB, free: 60 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001151/0.007235, allocations: 58.95 kB / 0.7336 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.007236, allocations: 0 / 0.7336 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.393e-06/0.007238, allocations: 4 kB / 0.7336 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.247e-06/0.007241, allocations: 1.312 kB / 0.7336 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002095/0.007451, allocations: 211.6 kB / 0.7338 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.007452, allocations: 4 kB / 0.7338 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.834e-05/0.007511, allocations: 12.73 kB / 0.7338 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.771e-05/0.007528, allocations: 7.984 kB / 0.7338 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.007531, allocations: 0.625 kB / 0.7339 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.534e-06/0.007538, allocations: 4 kB / 0.7339 GB, free: 15.72 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.007542, allocations: 4.844 kB / 0.7339 GB, free: 15.72 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.007546, allocations: 4 kB / 0.7339 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001329/0.007678, allocations: 161.1 kB / 0.734 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.062e-05/0.007689, allocations: 0.8125 kB / 0.734 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.032e-05/0.007749, allocations: 0 / 0.734 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.238e-05/0.007772, allocations: 17.3 kB / 0.734 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.029e-06/0.007777, allocations: 0 / 0.734 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.165e-05/0.007788, allocations: 9.375 kB / 0.734 GB, free: 15.51 MB / 0.7136 GB Notification: Performance of sort global known variables: time 7e-08/0.007788, allocations: 0 / 0.734 GB, free: 15.51 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002579/0.008046, allocations: 37.11 kB / 0.7341 GB, free: 15.48 MB / 0.7136 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.0001809/0.008227, allocations: 130.7 kB / 0.7342 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 7.764e-05/0.008305, allocations: 29.94 kB / 0.7342 GB, free: 15.31 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.159e-06/0.00831, allocations: 0 / 0.7342 GB, free: 15.31 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.363e-05/0.008334, allocations: 24.78 kB / 0.7343 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001621/0.008496, allocations: 8.812 kB / 0.7343 GB, free: 15.28 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001282/0.009778, allocations: 152.1 kB / 0.7344 GB, free: 15.1 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.057e-05/0.009818, allocations: 59.34 kB / 0.7345 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.248e-05/0.009851, allocations: 4.141 kB / 0.7345 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.054e-05/0.009901, allocations: 54.22 kB / 0.7345 GB, free: 14.97 MB / 0.7136 GB Notification: Performance of SimCode: time 7.31e-07/0.009902, allocations: 0 / 0.7345 GB, free: 14.97 MB / 0.7136 GB Notification: Performance of Templates: time 0.003225/0.01313, allocations: 0.9902 MB / 0.7355 GB, free: 14.06 MB / 0.7136 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 -ignoreHideResult -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.ref.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.740688922815025]