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.001233/0.001233, allocations: 96.38 kB / 19.7 MB, free: 448 kB / 13.93 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.000876/0.000876, allocations: 211.3 kB / 23 MB, free: 2.977 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.9136/0.9136, allocations: 230.6 MB / 256.8 MB, free: 9.59 MB / 202.7 MB " [Timeout remaining time 179] 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 2.303/2.303, allocations: 0.5569 GB / 0.8628 GB, free: 29.37 MB / 0.6667 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/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.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 0.0009521/0.0009521, allocations: 68.64 kB / 1.255 GB, free: 22.46 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3509/0.3519, allocations: 193.6 MB / 1.444 GB, free: 9.16 MB / 1.12 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Conversions.Validation.PressureDrop_massFlowRate): time 0.001728/0.3536, allocations: 1.245 MB / 1.446 GB, free: 7.906 MB / 1.12 GB Notification: Performance of NFInst.instExpressions: time 0.01781/0.3714, allocations: 20.6 MB / 1.466 GB, free: 3.219 MB / 1.135 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.29e-05/0.3715, allocations: 0 / 1.466 GB, free: 3.219 MB / 1.135 GB Notification: Performance of NFTyping.typeComponents: time 2.789e-05/0.3715, allocations: 0 / 1.466 GB, free: 3.219 MB / 1.135 GB Notification: Performance of NFTyping.typeBindings: time 0.00028/0.3718, allocations: 51.7 kB / 1.466 GB, free: 3.168 MB / 1.135 GB Notification: Performance of NFTyping.typeClassSections: time 4.698e-06/0.3718, allocations: 0 / 1.466 GB, free: 3.168 MB / 1.135 GB Notification: Performance of NFFlatten.flatten: time 6.496e-05/0.3718, allocations: 19.81 kB / 1.466 GB, free: 3.148 MB / 1.135 GB Notification: Performance of NFFlatten.resolveConnections: time 5.173e-05/0.3719, allocations: 7.984 kB / 1.466 GB, free: 3.141 MB / 1.135 GB Notification: Performance of NFEvalConstants.evaluate: time 2.952e-05/0.3719, allocations: 11.98 kB / 1.466 GB, free: 3.129 MB / 1.135 GB Notification: Performance of NFSimplifyModel.simplify: time 3.831e-05/0.372, allocations: 11.94 kB / 1.466 GB, free: 3.117 MB / 1.135 GB Notification: Performance of NFPackage.collectConstants: time 1.082e-05/0.372, allocations: 0 / 1.466 GB, free: 3.117 MB / 1.135 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01511/0.3871, allocations: 10.03 MB / 1.476 GB, free: 9.039 MB / 1.151 GB Notification: Performance of NFScalarize.scalarize: time 1.526e-05/0.3871, allocations: 4 kB / 1.476 GB, free: 9.035 MB / 1.151 GB Notification: Performance of NFVerifyModel.verify: time 2.329e-05/0.3871, allocations: 11.92 kB / 1.476 GB, free: 9.023 MB / 1.151 GB Notification: Performance of NFConvertDAE.convert: time 0.000124/0.3872, allocations: 43.78 kB / 1.476 GB, free: 8.98 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.3872, allocations: 4 kB / 1.476 GB, free: 8.977 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.724e-06/0.3873, allocations: 0 / 1.476 GB, free: 8.977 MB / 1.151 GB Notification: Performance of Transformations before backend: time 6.332e-06/0.3873, allocations: 0 / 1.476 GB, free: 8.977 MB / 1.151 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.0002924/0.3875, allocations: 262.2 kB / 1.476 GB, free: 8.691 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/0.3876, allocations: 8.031 kB / 1.476 GB, free: 8.684 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.598e-05/0.3876, allocations: 8.891 kB / 1.476 GB, free: 8.676 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001054/0.3877, allocations: 114.5 kB / 1.476 GB, free: 8.539 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.276e-05/0.3877, allocations: 384 / 1.476 GB, free: 8.539 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.368e-06/0.3878, allocations: 4.375 kB / 1.476 GB, free: 8.535 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.517e-05/0.3878, allocations: 51.3 kB / 1.476 GB, free: 8.473 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.178e-06/0.3879, allocations: 3.984 kB / 1.476 GB, free: 8.469 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.021e-05/0.3879, allocations: 8 kB / 1.476 GB, free: 8.461 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.3879, allocations: 0 / 1.476 GB, free: 8.461 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.634e-05/0.3879, allocations: 8 kB / 1.476 GB, free: 8.453 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000129/0.388, allocations: 110.2 kB / 1.476 GB, free: 8.312 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 7.076e-05/0.3881, allocations: 57.14 kB / 1.476 GB, free: 8.238 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.668e-05/0.3881, allocations: 21.72 kB / 1.476 GB, free: 8.211 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001683/0.3883, allocations: 15.98 kB / 1.476 GB, free: 8.195 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.51e-05/0.3883, allocations: 46.48 kB / 1.476 GB, free: 8.141 MB / 1.151 GB Notification: Performance of pre-optimization done (n=4): time 1.412e-06/0.3883, allocations: 0 / 1.476 GB, free: 8.141 MB / 1.151 GB Notification: Performance of matching and sorting (n=4): time 0.0001679/0.3885, allocations: 53.64 kB / 1.476 GB, free: 8.082 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.72e-05/0.3885, allocations: 85.09 kB / 1.477 GB, free: 7.98 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.735e-05/0.3886, allocations: 97.8 kB / 1.477 GB, free: 7.875 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 9.928e-06/0.3886, allocations: 29.7 kB / 1.477 GB, free: 7.84 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 3.067e-05/0.3886, allocations: 84.14 kB / 1.477 GB, free: 7.754 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 2.56e-05/0.3887, allocations: 15.83 kB / 1.477 GB, free: 7.738 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.397e-05/0.3887, allocations: 17.72 kB / 1.477 GB, free: 7.715 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.518e-05/0.3888, allocations: 311.1 kB / 1.477 GB, free: 7.402 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.499e-05/0.3888, allocations: 12 kB / 1.477 GB, free: 7.391 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.61e-05/0.3888, allocations: 17.7 kB / 1.477 GB, free: 7.367 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.377e-05/0.3888, allocations: 25.72 kB / 1.477 GB, free: 7.336 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.3888, allocations: 0 / 1.477 GB, free: 7.336 MB / 1.151 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.439e-05/0.3889, allocations: 57.58 kB / 1.477 GB, free: 7.273 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/0.3889, allocations: 7.938 kB / 1.477 GB, free: 7.266 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.3889, allocations: 0 / 1.477 GB, free: 7.266 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.3889, allocations: 0 / 1.477 GB, free: 7.266 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.481e-05/0.389, allocations: 12.06 kB / 1.477 GB, free: 7.254 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.628e-06/0.389, allocations: 0 / 1.477 GB, free: 7.254 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.127e-05/0.389, allocations: 0 / 1.477 GB, free: 7.254 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.41e-06/0.389, allocations: 4 kB / 1.477 GB, free: 7.25 MB / 1.151 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.695e-05/0.3891, allocations: 113.8 kB / 1.477 GB, free: 7.129 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.373e-06/0.3891, allocations: 11.92 kB / 1.477 GB, free: 7.117 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.264e-05/0.3892, allocations: 59.94 kB / 1.477 GB, free: 7.059 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.616e-06/0.3892, allocations: 4 kB / 1.477 GB, free: 7.055 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.3892, allocations: 4 kB / 1.477 GB, free: 7.051 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.3892, allocations: 4.062 kB / 1.477 GB, free: 7.047 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.159e-05/0.3892, allocations: 105.3 kB / 1.477 GB, free: 6.914 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.3892, allocations: 7.984 kB / 1.477 GB, free: 6.906 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.468e-05/0.3892, allocations: 4 kB / 1.477 GB, free: 6.902 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.202e-06/0.3892, allocations: 288 / 1.477 GB, free: 6.902 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.825e-06/0.3893, allocations: 3.938 kB / 1.477 GB, free: 6.898 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.644e-06/0.3893, allocations: 4 kB / 1.477 GB, free: 6.895 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.3893, allocations: 3.938 kB / 1.477 GB, free: 6.891 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.776e-05/0.3893, allocations: 85.91 kB / 1.478 GB, free: 6.785 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 2.013e-05/0.3893, allocations: 3.984 kB / 1.478 GB, free: 6.781 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.253e-05/0.3894, allocations: 7.938 kB / 1.478 GB, free: 6.773 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.525e-06/0.3894, allocations: 4 kB / 1.478 GB, free: 6.77 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.207e-05/0.3894, allocations: 3.938 kB / 1.478 GB, free: 6.766 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.875e-06/0.3894, allocations: 4 kB / 1.478 GB, free: 6.762 MB / 1.151 GB Notification: Performance of sorting global known variables: time 2.929e-05/0.3894, allocations: 87.27 kB / 1.478 GB, free: 6.676 MB / 1.151 GB Notification: Performance of sort global known variables: time 5e-08/0.3894, allocations: 0 / 1.478 GB, free: 6.676 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0001351/0.3895, allocations: 15.94 kB / 1.478 GB, free: 6.66 MB / 1.151 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.0001221/0.3897, allocations: 115.1 kB / 1.478 GB, free: 6.535 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 8.231e-05/0.3897, allocations: 23.92 kB / 1.478 GB, free: 6.512 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.3897, allocations: 128 / 1.478 GB, free: 6.512 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 1.184e-05/0.3898, allocations: 16 kB / 1.478 GB, free: 6.496 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002125/0.39, allocations: 9.359 kB / 1.478 GB, free: 6.488 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002605/0.3902, allocations: 152.7 kB / 1.478 GB, free: 6.305 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.343e-05/0.3903, allocations: 67.28 kB / 1.478 GB, free: 6.219 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.816e-05/0.3903, allocations: 7.438 kB / 1.478 GB, free: 6.211 MB / 1.151 GB Notification: Performance of SimCode: time 6.91e-07/0.3903, allocations: 0 / 1.478 GB, free: 6.211 MB / 1.151 GB Notification: Performance of Templates: time 0.001752/0.392, allocations: 0.8688 MB / 1.479 GB, free: 5.355 MB / 1.151 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 -emit_protected > Buildings_latest_Buildings.Media.Conversions.Validation.PressureDrop_massFlowRate.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Media.Conversions.Validation.PressureDrop_massFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Conversions_Validation_PressureDrop_massFlowRate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Conversions.Validation.PressureDrop_massFlowRate.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.107039024005644]