Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_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.0007353/0.0007353, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009517/0.001687, 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.0006608/0.0006608, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008311/0.001492, 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.948/0.948, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1029/1.051, allocations: 53.65 MB / 243.3 MB, free: 15.59 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.873/1.873, allocations: 378.2 MB / 0.6076 GB, free: 7.828 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4851/2.358, allocations: 123.3 MB / 0.728 GB, free: 5.805 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_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_comp|m_flow_turbulent|der.m_flow.|der.m_flow_comp.",fileNamePrefix="Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_comp|m_flow_turbulent|der.m_flow.|der.m_flow_comp.",fileNamePrefix="Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 0.7293 GB, free: 4.496 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 9.358e-06/1.073e-05, allocations: 2.312 kB / 0.7293 GB, free: 4.492 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.001417/0.001428, allocations: 1.398 MB / 0.7307 GB, free: 3.109 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0006141/0.002042, allocations: 0.6142 MB / 0.7313 GB, free: 2.508 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.926e-05/0.002062, allocations: 0.5312 kB / 0.7313 GB, free: 2.508 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 6.933e-06/0.002069, allocations: 1.812 kB / 0.7313 GB, free: 2.508 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 1.929e-05/0.002088, allocations: 1.422 kB / 0.7313 GB, free: 2.508 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003166/0.002404, allocations: 164.4 kB / 0.7315 GB, free: 2.359 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 5.324e-05/0.002458, allocations: 33.28 kB / 0.7315 GB, free: 2.328 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 3.222e-05/0.00249, allocations: 5.375 kB / 0.7315 GB, free: 2.324 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 4.466e-05/0.002535, allocations: 19.98 kB / 0.7315 GB, free: 2.305 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 4.963e-05/0.002584, allocations: 11.97 kB / 0.7315 GB, free: 2.293 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.099e-05/0.002595, allocations: 0.6562 kB / 0.7315 GB, free: 2.293 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002806/0.002876, allocations: 259.5 kB / 0.7318 GB, free: 2.039 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.004e-05/0.002886, allocations: 0.6875 kB / 0.7318 GB, free: 2.039 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 1.508e-05/0.002901, allocations: 11.94 kB / 0.7318 GB, free: 2.027 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001729/0.003074, allocations: 133.4 kB / 0.7319 GB, free: 1.898 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.122e-05/0.003085, allocations: 3.984 kB / 0.7319 GB, free: 1.895 MB / 0.698 GB Notification: Performance of FrontEnd: time 7.22e-07/0.003086, allocations: 0 / 0.7319 GB, free: 1.895 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.087e-06/0.003095, allocations: 0 / 0.7319 GB, free: 1.895 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0002861/0.003381, allocations: 293.2 kB / 0.7322 GB, free: 1.582 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 2.581e-05/0.003407, allocations: 8.031 kB / 0.7322 GB, free: 1.574 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.591e-05/0.003433, allocations: 8.922 kB / 0.7322 GB, free: 1.566 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.39e-05/0.003497, allocations: 114.9 kB / 0.7323 GB, free: 1.43 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.255e-06/0.003505, allocations: 4.375 kB / 0.7323 GB, free: 1.426 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.064e-05/0.003525, allocations: 8.891 kB / 0.7324 GB, free: 1.418 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.496e-05/0.00361, allocations: 97.59 kB / 0.7324 GB, free: 1.305 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.224e-06/0.003618, allocations: 5.047 kB / 0.7324 GB, free: 1.301 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.991e-06/0.003624, allocations: 384 / 0.7324 GB, free: 1.301 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.003629, allocations: 9.141 kB / 0.7325 GB, free: 1.293 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.399e-05/0.003652, allocations: 11.94 kB / 0.7325 GB, free: 1.281 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.048e-05/0.003733, allocations: 69.69 kB / 0.7325 GB, free: 1.199 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.705e-05/0.0038, allocations: 48.36 kB / 0.7326 GB, free: 1.145 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.144e-05/0.003821, allocations: 25.08 kB / 0.7326 GB, free: 1.117 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.576e-05/0.003837, allocations: 0 / 0.7326 GB, free: 1.117 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.699e-05/0.003854, allocations: 34.5 kB / 0.7326 GB, free: 1.074 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 6.11e-07/0.003855, allocations: 4 kB / 0.7326 GB, free: 1.07 MB / 0.698 GB Notification: Performance of matching and sorting (n=11): time 0.000655/0.00451, allocations: 435 kB / 0.7331 GB, free: 0.5938 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.345e-05/0.004533, allocations: 55.41 kB / 0.7331 GB, free: 0.5273 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.194e-05/0.004575, allocations: 99.56 kB / 0.7332 GB, free: 428 kB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.012e-05/0.004585, allocations: 30.73 kB / 0.7332 GB, free: 392 kB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 1.803e-05/0.004603, allocations: 84.12 kB / 0.7333 GB, free: 304 kB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.842e-05/0.004632, allocations: 39.64 kB / 0.7334 GB, free: 264 kB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.677e-05/0.004659, allocations: 34.28 kB / 0.7334 GB, free: 224 kB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.884e-05/0.004737, allocations: 314.8 kB / 0.7337 GB, free: 15.9 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.282e-05/0.00475, allocations: 13.77 kB / 0.7337 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.315e-05/0.004763, allocations: 16 kB / 0.7337 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.805e-05/0.004801, allocations: 36.81 kB / 0.7337 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.51e-07/0.004802, allocations: 0 / 0.7337 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 5.899e-05/0.004861, allocations: 68.8 kB / 0.7338 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.008e-05/0.004871, allocations: 8.344 kB / 0.7338 GB, free: 15.76 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.004875, allocations: 0 / 0.7338 GB, free: 15.76 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.581e-06/0.00488, allocations: 0 / 0.7338 GB, free: 15.76 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.591e-05/0.004946, allocations: 33.83 kB / 0.7339 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.078e-06/0.00495, allocations: 7.938 kB / 0.7339 GB, free: 15.72 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.28e-05/0.004963, allocations: 4 kB / 0.7339 GB, free: 15.72 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.927e-06/0.004967, allocations: 0 / 0.7339 GB, free: 15.72 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 4.429e-05/0.005011, allocations: 113.8 kB / 0.734 GB, free: 15.6 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.654e-06/0.005019, allocations: 4.75 kB / 0.734 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.662e-05/0.005106, allocations: 77.72 kB / 0.7341 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.005108, allocations: 4.719 kB / 0.7341 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.262e-06/0.005109, allocations: 0.75 kB / 0.7341 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.005113, allocations: 3.938 kB / 0.7341 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001741/0.005288, allocations: 220.5 kB / 0.7343 GB, free: 15.26 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.005288, allocations: 3.938 kB / 0.7343 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.198e-05/0.00535, allocations: 35.92 kB / 0.7343 GB, free: 15.22 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.8e-06/0.005356, allocations: 3.953 kB / 0.7343 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.155e-06/0.005358, allocations: 4 kB / 0.7343 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.062e-06/0.005364, allocations: 5.125 kB / 0.7343 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.005365, allocations: 0 / 0.7343 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.41e-07/0.005366, allocations: 0 / 0.7343 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001063/0.005472, allocations: 176 kB / 0.7345 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.102e-05/0.005483, allocations: 8.688 kB / 0.7345 GB, free: 15.01 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.828e-05/0.005521, allocations: 8 kB / 0.7345 GB, free: 15 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.281e-05/0.005534, allocations: 8.453 kB / 0.7345 GB, free: 15 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.747e-06/0.005538, allocations: 4 kB / 0.7345 GB, free: 14.99 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.432e-06/0.005544, allocations: 9.766 kB / 0.7345 GB, free: 14.98 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.005544, allocations: 1.156 kB / 0.7345 GB, free: 14.98 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001682/0.005713, allocations: 51.81 kB / 0.7346 GB, free: 14.93 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (m_flow_comp,der_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 (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.0001409/0.005853, allocations: 138 kB / 0.7347 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 6.585e-05/0.005919, allocations: 44.78 kB / 0.7348 GB, free: 14.74 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.005924, allocations: 0 / 0.7348 GB, free: 14.74 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.362e-05/0.005948, allocations: 45.14 kB / 0.7348 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.937e-05/0.006047, allocations: 10.75 kB / 0.7348 GB, free: 14.69 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007616/0.006809, allocations: 180.2 kB / 0.735 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.086e-05/0.00685, allocations: 64.52 kB / 0.735 GB, free: 14.4 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.244e-05/0.006892, allocations: 5.844 kB / 0.735 GB, free: 14.4 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.066e-05/0.006953, allocations: 63.36 kB / 0.7351 GB, free: 14.34 MB / 0.7136 GB Notification: Performance of SimCode: time 7.92e-07/0.006953, allocations: 4.5 kB / 0.7351 GB, free: 14.33 MB / 0.7136 GB Notification: Performance of Templates: time 0.002539/0.009492, allocations: 1.298 MB / 0.7364 GB, free: 13.14 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & ./Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.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.719100103713572]