Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.002003/0.002003, allocations: 81.23 kB / 19.18 MB, free: 2.516 MB / 14.72 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.002465/0.002465, allocations: 162.3 kB / 22.46 MB, free: 5.375 MB / 14.72 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 1.533/1.533, allocations: 177.1 MB / 202.8 MB, free: 9.16 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.027/3.027, allocations: 389 MB / 0.633 GB, free: 1.02 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.184e-06/2.184e-06, allocations: 0 / 1 GB, free: 6.207 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.207e-05/3.425e-05, allocations: 2.281 kB / 1 GB, free: 6.203 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.004433/0.004467, allocations: 1.315 MB / 1.001 GB, free: 4.879 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.002109/0.006577, allocations: 0.537 MB / 1.002 GB, free: 4.34 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.895e-05/0.006626, allocations: 4 kB / 1.002 GB, free: 4.336 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 3.36e-05/0.006659, allocations: 3.938 kB / 1.002 GB, free: 4.332 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 6.354e-05/0.006723, allocations: 7.938 kB / 1.002 GB, free: 4.324 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001164/0.007887, allocations: 150.5 kB / 1.002 GB, free: 4.18 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0001086/0.007996, allocations: 31.86 kB / 1.002 GB, free: 4.148 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 5.987e-05/0.008056, allocations: 4 kB / 1.002 GB, free: 4.145 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 6.666e-05/0.008122, allocations: 19.97 kB / 1.002 GB, free: 4.125 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 7.371e-05/0.008196, allocations: 7.984 kB / 1.002 GB, free: 4.117 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 2.398e-05/0.00822, allocations: 8 kB / 1.002 GB, free: 4.109 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008909/0.009111, allocations: 267.4 kB / 1.002 GB, free: 3.848 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 3.386e-05/0.009145, allocations: 15.97 kB / 1.002 GB, free: 3.832 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 4.184e-05/0.009187, allocations: 7.938 kB / 1.002 GB, free: 3.824 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0005154/0.009702, allocations: 163.5 kB / 1.003 GB, free: 3.664 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.009706, allocations: 4 kB / 1.003 GB, free: 3.66 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.292e-06/0.009708, allocations: 0 / 1.003 GB, free: 3.66 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.168e-05/0.009719, allocations: 0 / 1.003 GB, free: 3.66 MB / 0.9044 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.0006958/0.01042, allocations: 290 kB / 1.003 GB, free: 3.344 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.787e-05/0.01046, allocations: 8.031 kB / 1.003 GB, free: 3.336 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.547e-05/0.01053, allocations: 12.89 kB / 1.003 GB, free: 3.324 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003365/0.01087, allocations: 109.7 kB / 1.003 GB, free: 3.191 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.591e-05/0.01088, allocations: 8.312 kB / 1.003 GB, free: 3.184 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.694e-05/0.01092, allocations: 384 / 1.003 GB, free: 3.184 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002572/0.01118, allocations: 101.7 kB / 1.003 GB, free: 3.066 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.791e-05/0.01119, allocations: 192 / 1.003 GB, free: 3.066 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.528e-05/0.01122, allocations: 8.344 kB / 1.003 GB, free: 3.059 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.077e-05/0.01123, allocations: 4.375 kB / 1.003 GB, free: 3.055 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.383e-05/0.01132, allocations: 15.94 kB / 1.003 GB, free: 3.039 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002838/0.01161, allocations: 113.3 kB / 1.003 GB, free: 2.898 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002114/0.01182, allocations: 62.5 kB / 1.003 GB, free: 2.828 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.709e-05/0.01192, allocations: 28.84 kB / 1.003 GB, free: 2.797 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 3.353e-05/0.01195, allocations: 4 kB / 1.003 GB, free: 2.793 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.637e-05/0.01205, allocations: 34.5 kB / 1.003 GB, free: 2.75 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=7): time 2.104e-06/0.01205, allocations: 0 / 1.003 GB, free: 2.75 MB / 0.9044 GB Notification: Performance of matching and sorting (n=11): time 0.001806/0.01385, allocations: 451.7 kB / 1.004 GB, free: 2.254 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.421e-05/0.01392, allocations: 55.41 kB / 1.004 GB, free: 2.188 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001176/0.01404, allocations: 97.86 kB / 1.004 GB, free: 2.082 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 4.171e-05/0.01408, allocations: 29.7 kB / 1.004 GB, free: 2.047 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 7.34e-05/0.01415, allocations: 80.14 kB / 1.004 GB, free: 1.965 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 7.581e-05/0.01423, allocations: 39.64 kB / 1.004 GB, free: 1.926 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.105e-05/0.01431, allocations: 29.7 kB / 1.004 GB, free: 1.891 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0002271/0.01453, allocations: 318.8 kB / 1.004 GB, free: 1.57 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.647e-05/0.01462, allocations: 19.98 kB / 1.004 GB, free: 1.551 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.533e-05/0.01471, allocations: 23.98 kB / 1.004 GB, free: 1.527 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001939/0.0149, allocations: 56.73 kB / 1.005 GB, free: 1.469 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.0149, allocations: 0 / 1.005 GB, free: 1.469 MB / 0.9044 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002984/0.0152, allocations: 104.3 kB / 1.005 GB, free: 1.363 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.468e-05/0.01522, allocations: 6.188 kB / 1.005 GB, free: 1.359 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.01523, allocations: 0 / 1.005 GB, free: 1.359 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.087e-05/0.01525, allocations: 7.922 kB / 1.005 GB, free: 1.352 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002417/0.01549, allocations: 20 kB / 1.005 GB, free: 1.332 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.0155, allocations: 0 / 1.005 GB, free: 1.332 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.971e-05/0.01555, allocations: 4 kB / 1.005 GB, free: 1.328 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.884e-05/0.01557, allocations: 11.94 kB / 1.005 GB, free: 1.316 MB / 0.9044 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 0.0001752/0.01574, allocations: 118.4 kB / 1.005 GB, free: 1.191 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.171e-05/0.01577, allocations: 3.953 kB / 1.005 GB, free: 1.188 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003707/0.01615, allocations: 105.9 kB / 1.005 GB, free: 1.078 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.045e-06/0.01615, allocations: 4.031 kB / 1.005 GB, free: 1.074 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.01616, allocations: 3.938 kB / 1.005 GB, free: 1.07 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.01616, allocations: 3.938 kB / 1.005 GB, free: 1.066 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006881/0.01685, allocations: 298.2 kB / 1.005 GB, free: 0.7383 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.01686, allocations: 0 / 1.005 GB, free: 0.7383 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002168/0.01707, allocations: 19.98 kB / 1.005 GB, free: 0.7188 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.666e-06/0.01708, allocations: 3.938 kB / 1.005 GB, free: 0.7148 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.245e-05/0.0171, allocations: 8 kB / 1.005 GB, free: 0.707 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.696e-06/0.01711, allocations: 0 / 1.005 GB, free: 0.707 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.01711, allocations: 0 / 1.005 GB, free: 0.707 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004889/0.0176, allocations: 219.4 kB / 1.005 GB, free: 488 kB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 1.148e-05/0.01761, allocations: 0 / 1.005 GB, free: 488 kB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.23e-05/0.01765, allocations: 11.95 kB / 1.005 GB, free: 476 kB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001557/0.01781, allocations: 4 kB / 1.005 GB, free: 472 kB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.584e-05/0.01785, allocations: 11.97 kB / 1.005 GB, free: 460 kB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.645e-05/0.01787, allocations: 4 kB / 1.005 GB, free: 456 kB / 0.9044 GB Notification: Performance of sorting global known variables: time 7.403e-05/0.01794, allocations: 79.28 kB / 1.006 GB, free: 376 kB / 0.9044 GB Notification: Performance of sort global known variables: time 1.3e-07/0.01794, allocations: 0 / 1.006 GB, free: 376 kB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0005297/0.01847, allocations: 35.88 kB / 1.006 GB, free: 340 kB / 0.9044 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.0003775/0.01885, allocations: 135.2 kB / 1.006 GB, free: 192 kB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002482/0.0191, allocations: 59.86 kB / 1.006 GB, free: 132 kB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.0191, allocations: 4 kB / 1.006 GB, free: 128 kB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001022/0.0192, allocations: 35.92 kB / 1.006 GB, free: 92 kB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004086/0.01961, allocations: 0 / 1.006 GB, free: 92 kB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008829/0.02049, allocations: 245.2 kB / 1.006 GB, free: 15.82 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001135/0.02061, allocations: 80.02 kB / 1.006 GB, free: 15.73 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 7.726e-05/0.02068, allocations: 8 kB / 1.006 GB, free: 15.72 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.92e-05/0.02075, allocations: 12.5 kB / 1.006 GB, free: 15.71 MB / 0.92 GB Notification: Performance of SimCode: time 5.31e-07/0.02075, allocations: 0 / 1.006 GB, free: 15.71 MB / 0.92 GB Notification: Performance of Templates: time 0.006562/0.02732, allocations: 0.929 MB / 1.007 GB, free: 14.82 MB / 0.92 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2 -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.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.208139427006245]