Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Conversions.Validation.PressureDrop_massFlowRate.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.0009792/0.0009792, allocations: 81.05 kB / 9.981 MB, free: 0.7031 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001123/0.002102, allocations: 440 kB / 10.41 MB, free: 280 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.0007044/0.0007044, allocations: 157.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009348/0.001639, allocations: 475.6 kB / 11.79 MB, free: 2.371 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.9747/0.9747, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09188/1.067, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.367/2.367, allocations: 447.1 MB / 0.675 GB, free: 5.914 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2479/2.615, allocations: 146 MB / 0.8176 GB, free: 3.836 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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.Media.Conversions.Validation.PressureDrop_massFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dpRat_m_flow|dpRat_V_flow|dpRat_equalHeatFlowRate|dWFloRat_equalHeatFlowRate",fileNamePrefix="Buildings_latest_Buildings.Media.Conversions.Validation.PressureDrop_massFlowRate") translateModel(Buildings.Media.Conversions.Validation.PressureDrop_massFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dpRat_m_flow|dpRat_V_flow|dpRat_equalHeatFlowRate|dWFloRat_equalHeatFlowRate",fileNamePrefix="Buildings_latest_Buildings.Media.Conversions.Validation.PressureDrop_massFlowRate") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.342e-06/1.342e-06, allocations: 0 / 0.8189 GB, free: 2.559 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.918e-05/2.052e-05, allocations: 2.312 kB / 0.8189 GB, free: 2.555 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Conversions.Validation.PressureDrop_massFlowRate): time 0.002427/0.002448, allocations: 1.321 MB / 0.8202 GB, free: 1.215 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.02614/0.02859, allocations: 22.78 MB / 0.8424 GB, free: 10.35 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.001e-05/0.02862, allocations: 4 kB / 0.8424 GB, free: 10.34 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 1.071e-05/0.02863, allocations: 0 / 0.8424 GB, free: 10.34 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.0001496/0.02878, allocations: 51.69 kB / 0.8425 GB, free: 10.29 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 3.216e-06/0.02878, allocations: 0 / 0.8425 GB, free: 10.29 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 5.169e-05/0.02883, allocations: 15.88 kB / 0.8425 GB, free: 10.28 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 3.764e-05/0.02887, allocations: 11.92 kB / 0.8425 GB, free: 10.27 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 5.806e-05/0.02893, allocations: 8 kB / 0.8425 GB, free: 10.26 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 3.662e-05/0.02897, allocations: 15.91 kB / 0.8425 GB, free: 10.24 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.354e-05/0.02898, allocations: 0 / 0.8425 GB, free: 10.24 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01717/0.04615, allocations: 8.544 MB / 0.8509 GB, free: 1.66 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 1.677e-05/0.04617, allocations: 7.938 kB / 0.8509 GB, free: 1.652 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 1.952e-05/0.04619, allocations: 4 kB / 0.8509 GB, free: 1.648 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001304/0.04632, allocations: 31.92 kB / 0.8509 GB, free: 1.617 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 9.618e-06/0.04633, allocations: 0 / 0.8509 GB, free: 1.617 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.954e-06/0.04633, allocations: 0 / 0.8509 GB, free: 1.617 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.385e-05/0.04635, allocations: 0 / 0.8509 GB, free: 1.617 MB / 0.823 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.000291/0.04664, allocations: 256.4 kB / 0.8512 GB, free: 1.344 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 2.981e-05/0.04667, allocations: 8.031 kB / 0.8512 GB, free: 1.336 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.858e-05/0.0467, allocations: 4.938 kB / 0.8512 GB, free: 1.332 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.968e-05/0.04679, allocations: 109.7 kB / 0.8513 GB, free: 1.199 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.154e-05/0.0468, allocations: 12.38 kB / 0.8513 GB, free: 1.188 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.033e-05/0.04681, allocations: 384 / 0.8513 GB, free: 1.188 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.128e-05/0.04689, allocations: 47.97 kB / 0.8513 GB, free: 1.129 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.0469, allocations: 4.188 kB / 0.8513 GB, free: 1.125 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.532e-06/0.0469, allocations: 3.938 kB / 0.8513 GB, free: 1.121 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.04691, allocations: 0 / 0.8513 GB, free: 1.121 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.184e-05/0.04693, allocations: 11.92 kB / 0.8513 GB, free: 1.109 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.269e-05/0.04702, allocations: 73.8 kB / 0.8514 GB, free: 1.02 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 5.101e-05/0.04707, allocations: 41.27 kB / 0.8515 GB, free: 0.9609 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.904e-05/0.04709, allocations: 25.77 kB / 0.8515 GB, free: 0.9297 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001305/0.04722, allocations: 19.92 kB / 0.8515 GB, free: 0.9102 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.077e-05/0.04724, allocations: 38.56 kB / 0.8515 GB, free: 0.8633 MB / 0.823 GB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.04724, allocations: 0 / 0.8515 GB, free: 0.8633 MB / 0.823 GB Notification: Performance of matching and sorting (n=4): time 9.849e-05/0.04734, allocations: 45.62 kB / 0.8516 GB, free: 0.8125 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.362e-05/0.04738, allocations: 77.11 kB / 0.8517 GB, free: 0.7188 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.51e-05/0.04743, allocations: 114.9 kB / 0.8518 GB, free: 0.5938 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 9.027e-06/0.04744, allocations: 29.7 kB / 0.8518 GB, free: 0.5586 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 1.817e-05/0.04746, allocations: 80.14 kB / 0.8519 GB, free: 488 kB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.407e-05/0.04748, allocations: 7.953 kB / 0.8519 GB, free: 480 kB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.449e-05/0.04751, allocations: 13.72 kB / 0.8519 GB, free: 460 kB / 0.823 GB Notification: Performance of setup shared object (initialization): time 7.633e-05/0.04758, allocations: 322.8 kB / 0.8522 GB, free: 128 kB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.463e-06/0.04759, allocations: 0 / 0.8522 GB, free: 128 kB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.496e-05/0.04761, allocations: 13.72 kB / 0.8522 GB, free: 108 kB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.803e-05/0.04763, allocations: 25.64 kB / 0.8522 GB, free: 76 kB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.04764, allocations: 4 kB / 0.8522 GB, free: 72 kB / 0.823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 4.804e-05/0.04768, allocations: 45.92 kB / 0.8523 GB, free: 20 kB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.0477, allocations: 9.719 kB / 0.8523 GB, free: 12 kB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.0477, allocations: 3.984 kB / 0.8523 GB, free: 8 kB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.04772, allocations: 0 / 0.8523 GB, free: 8 kB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.148e-05/0.04777, allocations: 8 kB / 0.8523 GB, free: 0 / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.04777, allocations: 4.062 kB / 0.8523 GB, free: 15.99 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.447e-05/0.04779, allocations: 7.891 kB / 0.8523 GB, free: 15.98 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.593e-06/0.04779, allocations: 7.984 kB / 0.8523 GB, free: 15.98 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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.983e-05/0.04785, allocations: 105.8 kB / 0.8524 GB, free: 15.86 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.344e-06/0.04786, allocations: 8.062 kB / 0.8524 GB, free: 15.86 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.243e-05/0.04794, allocations: 53.42 kB / 0.8525 GB, free: 15.8 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.407e-06/0.04795, allocations: 4 kB / 0.8525 GB, free: 15.79 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.552e-06/0.04795, allocations: 0 / 0.8525 GB, free: 15.79 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.04795, allocations: 3.938 kB / 0.8525 GB, free: 15.79 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.882e-05/0.04801, allocations: 65.89 kB / 0.8526 GB, free: 15.71 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.04802, allocations: 4 kB / 0.8526 GB, free: 15.7 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.911e-05/0.04803, allocations: 11.98 kB / 0.8526 GB, free: 15.69 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.574e-05/0.04805, allocations: 7.938 kB / 0.8526 GB, free: 15.68 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.272e-06/0.04805, allocations: 0 / 0.8526 GB, free: 15.68 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.707e-06/0.04806, allocations: 4.062 kB / 0.8526 GB, free: 15.68 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.61e-07/0.04806, allocations: 0 / 0.8526 GB, free: 15.68 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.04806, allocations: 4 kB / 0.8526 GB, free: 15.68 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.907e-05/0.04812, allocations: 77.84 kB / 0.8527 GB, free: 15.58 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.176e-06/0.04812, allocations: 4 kB / 0.8527 GB, free: 15.57 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.536e-06/0.04813, allocations: 4 kB / 0.8527 GB, free: 15.57 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.245e-05/0.04815, allocations: 4 kB / 0.8527 GB, free: 15.57 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.104e-06/0.04815, allocations: 0 / 0.8527 GB, free: 15.57 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 1.251e-05/0.04816, allocations: 8.859 kB / 0.8527 GB, free: 15.55 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5e-08/0.04816, allocations: 0 / 0.8527 GB, free: 15.55 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001133/0.04827, allocations: 23.86 kB / 0.8527 GB, free: 15.53 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 simulation (4): * Single equations (assignments): 4 * 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.0001293/0.0484, allocations: 106.7 kB / 0.8528 GB, free: 15.42 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 5.995e-05/0.04846, allocations: 24.73 kB / 0.8528 GB, free: 15.39 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 5.64e-06/0.04847, allocations: 4 kB / 0.8528 GB, free: 15.39 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.469e-05/0.04848, allocations: 16.84 kB / 0.8528 GB, free: 15.37 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001357/0.04862, allocations: 70.27 kB / 0.8529 GB, free: 15.29 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005331/0.04915, allocations: 127.7 kB / 0.853 GB, free: 15.14 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.971e-05/0.04918, allocations: 59.36 kB / 0.8531 GB, free: 15.06 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.022e-05/0.04921, allocations: 9.234 kB / 0.8531 GB, free: 15.05 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.74e-05/0.04926, allocations: 59.31 kB / 0.8532 GB, free: 14.99 MB / 0.8386 GB Notification: Performance of SimCode: time 8.12e-07/0.04926, allocations: 0 / 0.8532 GB, free: 14.99 MB / 0.8386 GB Notification: Performance of Templates: time 0.002801/0.05206, allocations: 1.094 MB / 0.8542 GB, free: 13.92 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Media.Conversions.Validation.PressureDrop_massFlowRate.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Media.Conversions.Validation.PressureDrop_massFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Media.Conversions.Validation.PressureDrop_massFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Conversions.Validation.PressureDrop_massFlowRate.pipe >> ../files/Buildings_latest_Buildings.Media.Conversions.Validation.PressureDrop_massFlowRate.sim & ./Buildings_latest_Buildings.Media.Conversions.Validation.PressureDrop_massFlowRate -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Media.Conversions.Validation.PressureDrop_massFlowRate.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Media.Conversions.Validation.PressureDrop_massFlowRate_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Media.Conversions.Validation.PressureDrop_massFlowRate/Buildings_latest_Buildings.Media.Conversions.Validation.PressureDrop_massFlowRate.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: 5.306723104789853]