Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_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.0007747/0.0007747, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001113/0.001888, allocations: 449.8 kB / 10.44 MB, free: 252 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.0006791/0.0006791, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009276/0.001607, allocations: 479.5 kB / 11.82 MB, free: 2.344 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.9825/0.9825, allocations: 177.2 MB / 189.8 MB, free: 5.258 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0912/1.074, allocations: 53.66 MB / 243.4 MB, free: 15.52 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.843/1.843, allocations: 378.4 MB / 0.6079 GB, free: 7.719 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.469/2.312, allocations: 123.3 MB / 0.7283 GB, free: 5.754 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_DerivativeCheck2,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dp|dp_comp|der.dp.|der.dp_comp.",fileNamePrefix="Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dp|dp_comp|der.dp.|der.dp_comp.",fileNamePrefix="Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 0.7297 GB, free: 4.41 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.246e-05/2.401e-05, allocations: 7.625 kB / 0.7297 GB, free: 4.402 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.002339/0.002363, allocations: 1.58 MB / 0.7312 GB, free: 2.844 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.003851/0.006214, allocations: 0.6162 MB / 0.7318 GB, free: 2.238 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.855e-05/0.006243, allocations: 4 kB / 0.7318 GB, free: 2.234 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.624e-05/0.006269, allocations: 0 / 0.7318 GB, free: 2.234 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 3.589e-05/0.006305, allocations: 11.38 kB / 0.7318 GB, free: 2.227 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004226/0.006728, allocations: 162.9 kB / 0.732 GB, free: 2.078 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 8.626e-05/0.006814, allocations: 55.56 kB / 0.732 GB, free: 2.027 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 4.067e-05/0.006854, allocations: 4.531 kB / 0.7321 GB, free: 2.023 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 9.955e-05/0.006954, allocations: 35.89 kB / 0.7321 GB, free: 1.988 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 4.445e-05/0.006998, allocations: 20.78 kB / 0.7321 GB, free: 1.969 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.367e-05/0.007012, allocations: 4 kB / 0.7321 GB, free: 1.965 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004095/0.007422, allocations: 265.1 kB / 0.7324 GB, free: 1.707 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.982e-05/0.007441, allocations: 8 kB / 0.7324 GB, free: 1.699 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 2.365e-05/0.007465, allocations: 15.94 kB / 0.7324 GB, free: 1.684 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002456/0.007711, allocations: 151.5 kB / 0.7325 GB, free: 1.535 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.309e-05/0.007724, allocations: 0 / 0.7325 GB, free: 1.535 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.262e-06/0.007725, allocations: 0.5 kB / 0.7325 GB, free: 1.535 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.335e-05/0.007738, allocations: 1.594 kB / 0.7325 GB, free: 1.535 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004379/0.008176, allocations: 324.1 kB / 0.7328 GB, free: 1.191 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.008214, allocations: 8.031 kB / 0.7329 GB, free: 1.184 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.209e-05/0.008256, allocations: 9.656 kB / 0.7329 GB, free: 1.176 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001014/0.008357, allocations: 109.7 kB / 0.733 GB, free: 1.043 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.929e-05/0.008387, allocations: 13.39 kB / 0.733 GB, free: 1.031 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.669e-05/0.008413, allocations: 12.31 kB / 0.733 GB, free: 1.02 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001567/0.00857, allocations: 127.5 kB / 0.7331 GB, free: 0.875 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.779e-06/0.00858, allocations: 192 / 0.7331 GB, free: 0.875 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.021e-05/0.00859, allocations: 4.375 kB / 0.7331 GB, free: 0.8711 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.008596, allocations: 384 / 0.7331 GB, free: 0.8711 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.448e-05/0.00864, allocations: 27.45 kB / 0.7331 GB, free: 0.8477 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002979/0.008938, allocations: 209.4 kB / 0.7333 GB, free: 0.6289 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 9.755e-05/0.009036, allocations: 62.52 kB / 0.7334 GB, free: 0.5586 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.615e-05/0.009052, allocations: 9.984 kB / 0.7334 GB, free: 0.5469 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.649e-05/0.009068, allocations: 4 kB / 0.7334 GB, free: 0.543 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.007e-05/0.009088, allocations: 38.5 kB / 0.7335 GB, free: 0.4961 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 1.944e-06/0.00909, allocations: 4.953 kB / 0.7335 GB, free: 0.4922 MB / 0.698 GB Notification: Performance of matching and sorting (n=11): time 0.0007226/0.009813, allocations: 451.7 kB / 0.7339 GB, free: 0 / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.447e-05/0.009847, allocations: 51.41 kB / 0.7339 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.859e-05/0.009896, allocations: 106.7 kB / 0.734 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.078e-05/0.009907, allocations: 29.7 kB / 0.7341 GB, free: 15.79 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.78e-05/0.009935, allocations: 94.22 kB / 0.7342 GB, free: 15.69 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.703e-05/0.009962, allocations: 39.67 kB / 0.7342 GB, free: 15.65 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.829e-05/0.00999, allocations: 21.72 kB / 0.7342 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.762e-05/0.01006, allocations: 322.8 kB / 0.7345 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.612e-05/0.01007, allocations: 8 kB / 0.7345 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.651e-05/0.01009, allocations: 15.98 kB / 0.7345 GB, free: 15.28 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.38e-05/0.01013, allocations: 46.22 kB / 0.7346 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.01013, allocations: 0 / 0.7346 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 7.587e-05/0.01021, allocations: 73.73 kB / 0.7347 GB, free: 15.15 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.119e-05/0.01022, allocations: 8 kB / 0.7347 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.01023, allocations: 1.25 kB / 0.7347 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.044e-05/0.01024, allocations: 0 / 0.7347 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.808e-05/0.01032, allocations: 27.98 kB / 0.7347 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.016e-06/0.01032, allocations: 1.25 kB / 0.7347 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.048e-05/0.01034, allocations: 4 kB / 0.7347 GB, free: 15.11 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.541e-06/0.01034, allocations: 7.938 kB / 0.7347 GB, free: 15.11 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 5.11e-05/0.0104, allocations: 118.4 kB / 0.7348 GB, free: 14.98 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.815e-05/0.01041, allocations: 8.469 kB / 0.7348 GB, free: 14.97 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00011/0.01052, allocations: 89.7 kB / 0.7349 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.01052, allocations: 1.562 kB / 0.7349 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.302e-06/0.01053, allocations: 0 / 0.7349 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.01053, allocations: 0 / 0.7349 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001973/0.01073, allocations: 238.7 kB / 0.7351 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.01073, allocations: 1.031 kB / 0.7351 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.365e-05/0.0108, allocations: 31.98 kB / 0.7352 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.859e-06/0.01081, allocations: 2.781 kB / 0.7352 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.01081, allocations: 0 / 0.7352 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.614e-06/0.01082, allocations: 4 kB / 0.7352 GB, free: 14.58 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.01082, allocations: 4 kB / 0.7352 GB, free: 14.58 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.01082, allocations: 0 / 0.7352 GB, free: 14.58 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001292/0.01095, allocations: 196.8 kB / 0.7354 GB, free: 14.37 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.118e-05/0.01096, allocations: 4 kB / 0.7354 GB, free: 14.37 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.319e-05/0.011, allocations: 4.75 kB / 0.7354 GB, free: 14.36 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.458e-05/0.01102, allocations: 3.984 kB / 0.7354 GB, free: 14.36 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.502e-06/0.01102, allocations: 8.75 kB / 0.7354 GB, free: 14.35 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.055e-05/0.01103, allocations: 9.047 kB / 0.7354 GB, free: 14.34 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.01103, allocations: 0.75 kB / 0.7354 GB, free: 14.34 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001828/0.01122, allocations: 51.8 kB / 0.7355 GB, free: 14.29 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (dp_comp,der_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 (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.0002544/0.01147, allocations: 140.9 kB / 0.7356 GB, free: 14.14 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.367e-05/0.01156, allocations: 57.42 kB / 0.7356 GB, free: 14.09 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.01156, allocations: 7 kB / 0.7356 GB, free: 14.08 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.142e-05/0.01159, allocations: 32.78 kB / 0.7357 GB, free: 14.05 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001649/0.01176, allocations: 75.94 kB / 0.7358 GB, free: 13.96 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009375/0.01269, allocations: 219.9 kB / 0.736 GB, free: 13.72 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.554e-05/0.01273, allocations: 63.34 kB / 0.736 GB, free: 13.64 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.214e-05/0.01277, allocations: 12.72 kB / 0.736 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.691e-05/0.01283, allocations: 67.36 kB / 0.7361 GB, free: 13.56 MB / 0.7136 GB Notification: Performance of SimCode: time 1.082e-06/0.01283, allocations: 1.812 kB / 0.7361 GB, free: 13.56 MB / 0.7136 GB Notification: Performance of Templates: time 0.003212/0.01604, allocations: 1.56 MB / 0.7376 GB, free: 12.12 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & ./Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.815550459548831]