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.0009393/0.0009393, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001328/0.002268, allocations: 435.8 kB / 10.33 MB, free: 368 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.0009798/0.0009798, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.009958/0.01094, allocations: 463.6 kB / 11.68 MB, free: 2.484 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 1.075/1.075, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09683/1.172, allocations: 53.66 MB / 243.2 MB, free: 15.58 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.329/2.329, allocations: 446.7 MB / 0.6745 GB, free: 6.234 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2434/2.572, allocations: 145.9 MB / 0.817 GB, free: 4.223 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.693e-06/1.693e-06, allocations: 0 / 0.8183 GB, free: 2.961 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.911e-05/2.08e-05, allocations: 2.312 kB / 0.8183 GB, free: 2.957 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Conversions.Validation.PressureDrop_massFlowRate): time 0.001629/0.00165, allocations: 1.323 MB / 0.8196 GB, free: 1.625 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0189/0.02055, allocations: 22.78 MB / 0.8418 GB, free: 10.77 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.869e-05/0.02058, allocations: 0 / 0.8418 GB, free: 10.77 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 1.386e-05/0.02059, allocations: 3.938 kB / 0.8418 GB, free: 10.76 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.0001578/0.02075, allocations: 51.75 kB / 0.8419 GB, free: 10.71 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 3.206e-06/0.02075, allocations: 0 / 0.8419 GB, free: 10.71 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 5.44e-05/0.02081, allocations: 15.88 kB / 0.8419 GB, free: 10.7 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 3.851e-05/0.02084, allocations: 4 kB / 0.8419 GB, free: 10.69 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 6.184e-05/0.02091, allocations: 15.92 kB / 0.8419 GB, free: 10.68 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 3.849e-05/0.02094, allocations: 11.94 kB / 0.8419 GB, free: 10.66 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.187e-05/0.02096, allocations: 0 / 0.8419 GB, free: 10.66 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01803/0.03899, allocations: 8.546 MB / 0.8502 GB, free: 2.074 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 1.604e-05/0.03901, allocations: 3.938 kB / 0.8502 GB, free: 2.07 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 3.296e-05/0.03904, allocations: 8 kB / 0.8503 GB, free: 2.062 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001872/0.03923, allocations: 31.86 kB / 0.8503 GB, free: 2.031 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 1.705e-05/0.03924, allocations: 0 / 0.8503 GB, free: 2.031 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.104e-06/0.03925, allocations: 0 / 0.8503 GB, free: 2.031 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.686e-05/0.03926, allocations: 4 kB / 0.8503 GB, free: 2.027 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.0003795/0.03964, allocations: 248.5 kB / 0.8505 GB, free: 1.762 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/0.03969, allocations: 12.62 kB / 0.8505 GB, free: 1.75 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.594e-05/0.03972, allocations: 4.922 kB / 0.8505 GB, free: 1.746 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000118/0.03984, allocations: 113.8 kB / 0.8506 GB, free: 1.609 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.174e-05/0.03985, allocations: 384 / 0.8506 GB, free: 1.609 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.417e-06/0.03986, allocations: 4.375 kB / 0.8507 GB, free: 1.605 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.438e-05/0.03996, allocations: 47.97 kB / 0.8507 GB, free: 1.547 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.03996, allocations: 192 / 0.8507 GB, free: 1.547 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.115e-06/0.03997, allocations: 3.938 kB / 0.8507 GB, free: 1.543 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.03998, allocations: 0 / 0.8507 GB, free: 1.543 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.691e-05/0.04, allocations: 11.92 kB / 0.8507 GB, free: 1.531 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001165/0.04012, allocations: 81.83 kB / 0.8508 GB, free: 1.434 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 6.326e-05/0.04018, allocations: 49.17 kB / 0.8508 GB, free: 1.367 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.086e-05/0.04021, allocations: 13.78 kB / 0.8509 GB, free: 1.348 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001778/0.04038, allocations: 19.97 kB / 0.8509 GB, free: 1.328 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.877e-05/0.04041, allocations: 38.56 kB / 0.8509 GB, free: 1.281 MB / 0.823 GB Notification: Performance of pre-optimization done (n=4): time 1.463e-06/0.04041, allocations: 0 / 0.8509 GB, free: 1.281 MB / 0.823 GB Notification: Performance of matching and sorting (n=4): time 0.0001378/0.04055, allocations: 45.62 kB / 0.851 GB, free: 1.23 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.591e-05/0.0406, allocations: 81.11 kB / 0.851 GB, free: 1.133 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.735e-05/0.04066, allocations: 102.9 kB / 0.8511 GB, free: 1.02 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.297e-05/0.04068, allocations: 29.7 kB / 0.8512 GB, free: 0.9844 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 2.806e-05/0.04071, allocations: 84.12 kB / 0.8512 GB, free: 0.8984 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 3.917e-05/0.04074, allocations: 15.94 kB / 0.8513 GB, free: 0.8828 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.318e-05/0.04077, allocations: 13.72 kB / 0.8513 GB, free: 0.8633 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 8.369e-05/0.04085, allocations: 314.8 kB / 0.8516 GB, free: 0.5469 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.059e-05/0.04086, allocations: 4 kB / 0.8516 GB, free: 0.543 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.988e-05/0.04088, allocations: 21.64 kB / 0.8516 GB, free: 0.5156 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.124e-05/0.04091, allocations: 17.72 kB / 0.8516 GB, free: 0.4922 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.04092, allocations: 0 / 0.8516 GB, free: 0.4922 MB / 0.823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.397e-05/0.04097, allocations: 53.62 kB / 0.8517 GB, free: 444 kB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.04099, allocations: 6.188 kB / 0.8517 GB, free: 440 kB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.992e-06/0.04099, allocations: 0 / 0.8517 GB, free: 440 kB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.04101, allocations: 4 kB / 0.8517 GB, free: 436 kB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.81e-05/0.04108, allocations: 7.984 kB / 0.8517 GB, free: 428 kB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.04108, allocations: 7.922 kB / 0.8517 GB, free: 420 kB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.581e-05/0.0411, allocations: 7.953 kB / 0.8517 GB, free: 412 kB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.308e-06/0.0411, allocations: 3.938 kB / 0.8517 GB, free: 408 kB / 0.823 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 6.322e-05/0.04116, allocations: 105.8 kB / 0.8518 GB, free: 292 kB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.945e-06/0.04117, allocations: 8.062 kB / 0.8518 GB, free: 284 kB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.748e-05/0.04127, allocations: 56.92 kB / 0.8519 GB, free: 220 kB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.04127, allocations: 0 / 0.8519 GB, free: 220 kB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.04128, allocations: 4 kB / 0.8519 GB, free: 216 kB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.04128, allocations: 3.938 kB / 0.8519 GB, free: 212 kB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.753e-05/0.04135, allocations: 73.89 kB / 0.8519 GB, free: 120 kB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.04135, allocations: 0 / 0.8519 GB, free: 120 kB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.889e-05/0.04138, allocations: 8.281 kB / 0.8519 GB, free: 112 kB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 2.008e-05/0.0414, allocations: 7.922 kB / 0.852 GB, free: 104 kB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.0414, allocations: 3.938 kB / 0.852 GB, free: 100 kB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.099e-06/0.04141, allocations: 12.05 kB / 0.852 GB, free: 88 kB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.04141, allocations: 0 / 0.852 GB, free: 88 kB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.04141, allocations: 0 / 0.852 GB, free: 88 kB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.325e-05/0.0415, allocations: 69.97 kB / 0.852 GB, free: 15.99 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.112e-05/0.04151, allocations: 4 kB / 0.852 GB, free: 15.99 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.858e-06/0.04152, allocations: 4 kB / 0.852 GB, free: 15.98 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.501e-05/0.04154, allocations: 3.938 kB / 0.852 GB, free: 15.98 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.22e-06/0.04154, allocations: 4 kB / 0.852 GB, free: 15.98 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 1.401e-05/0.04156, allocations: 4.859 kB / 0.8521 GB, free: 15.97 MB / 0.8386 GB Notification: Performance of sort global known variables: time 4e-08/0.04156, allocations: 4 kB / 0.8521 GB, free: 15.97 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001412/0.0417, allocations: 23.88 kB / 0.8521 GB, free: 15.95 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.0001527/0.04185, allocations: 100.3 kB / 0.8522 GB, free: 15.84 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 7.5e-05/0.04192, allocations: 24.84 kB / 0.8522 GB, free: 15.81 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 7.013e-06/0.04193, allocations: 0 / 0.8522 GB, free: 15.81 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.394e-05/0.04195, allocations: 16.8 kB / 0.8522 GB, free: 15.79 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001565/0.0421, allocations: 15.98 kB / 0.8522 GB, free: 15.77 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006489/0.04275, allocations: 131.5 kB / 0.8524 GB, free: 15.62 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.981e-05/0.04279, allocations: 55.36 kB / 0.8524 GB, free: 15.54 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.498e-05/0.04283, allocations: 3 kB / 0.8524 GB, free: 15.54 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.008e-05/0.04289, allocations: 67.36 kB / 0.8525 GB, free: 15.48 MB / 0.8386 GB Notification: Performance of SimCode: time 1.393e-06/0.04289, allocations: 0 / 0.8525 GB, free: 15.48 MB / 0.8386 GB Notification: Performance of Templates: time 0.003273/0.04616, allocations: 1.122 MB / 0.8536 GB, free: 14.38 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,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.335798150859773]