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.001475/0.001475, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.001681/0.001681, allocations: 212.4 kB / 22.24 MB, free: 5.242 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.502/1.502, allocations: 230.6 MB / 256 MB, free: 7.809 MB / 206.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.603/3.603, allocations: 0.5569 GB / 0.862 GB, free: 4.535 MB / 0.6544 GB " [Timeout remaining time 176] 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.002168/0.002168, allocations: 63.89 kB / 1.255 GB, free: 1.449 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4339/0.4361, allocations: 193.6 MB / 1.444 GB, free: 15.5 MB / 1.139 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Conversions.Validation.PressureDrop_massFlowRate): time 0.002395/0.4385, allocations: 1.246 MB / 1.446 GB, free: 14.25 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.02885/0.4673, allocations: 20.6 MB / 1.466 GB, free: 9.559 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.869e-05/0.4673, allocations: 0 / 1.466 GB, free: 9.559 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 1.874e-05/0.4674, allocations: 0 / 1.466 GB, free: 9.559 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.0003191/0.4677, allocations: 51.77 kB / 1.466 GB, free: 9.508 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 5.029e-06/0.4677, allocations: 0 / 1.466 GB, free: 9.508 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 7.999e-05/0.4678, allocations: 19.81 kB / 1.466 GB, free: 9.488 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 4.69e-05/0.4678, allocations: 0 / 1.466 GB, free: 9.488 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 2.718e-05/0.4678, allocations: 7.984 kB / 1.466 GB, free: 9.48 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 4.504e-05/0.4679, allocations: 15.86 kB / 1.466 GB, free: 9.465 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 1.137e-05/0.4679, allocations: 4 kB / 1.466 GB, free: 9.461 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02686/0.4948, allocations: 10.04 MB / 1.476 GB, free: 15.38 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 1.513e-05/0.4948, allocations: 0 / 1.476 GB, free: 15.38 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 3.113e-05/0.4948, allocations: 11.88 kB / 1.476 GB, free: 15.36 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.0001534/0.495, allocations: 39.84 kB / 1.476 GB, free: 15.32 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.495, allocations: 0 / 1.476 GB, free: 15.32 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.613e-06/0.495, allocations: 0 / 1.476 GB, free: 15.32 MB / 1.17 GB Notification: Performance of Transformations before backend: time 5.15e-06/0.495, allocations: 0 / 1.476 GB, free: 15.32 MB / 1.17 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.0003839/0.4953, allocations: 266.2 kB / 1.476 GB, free: 15.04 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.4954, allocations: 12.03 kB / 1.476 GB, free: 15.02 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.792e-05/0.4954, allocations: 8.891 kB / 1.476 GB, free: 15.02 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001362/0.4956, allocations: 106.5 kB / 1.476 GB, free: 14.89 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.179e-05/0.4956, allocations: 4.375 kB / 1.476 GB, free: 14.88 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.216e-06/0.4956, allocations: 384 / 1.476 GB, free: 14.88 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001209/0.4957, allocations: 55.34 kB / 1.476 GB, free: 14.82 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.4957, allocations: 0 / 1.476 GB, free: 14.82 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.997e-06/0.4957, allocations: 0 / 1.476 GB, free: 14.82 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.678e-06/0.4957, allocations: 0 / 1.476 GB, free: 14.82 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.456e-05/0.4958, allocations: 19.92 kB / 1.476 GB, free: 14.8 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001643/0.4959, allocations: 114.2 kB / 1.476 GB, free: 14.65 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 8.732e-05/0.496, allocations: 57.17 kB / 1.476 GB, free: 14.58 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.086e-05/0.4961, allocations: 13.78 kB / 1.476 GB, free: 14.56 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002054/0.4963, allocations: 19.98 kB / 1.476 GB, free: 14.54 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.903e-05/0.4963, allocations: 38.5 kB / 1.476 GB, free: 14.49 MB / 1.17 GB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.4963, allocations: 0 / 1.476 GB, free: 14.49 MB / 1.17 GB Notification: Performance of matching and sorting (n=4): time 0.0001728/0.4965, allocations: 53.62 kB / 1.476 GB, free: 14.43 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.241e-05/0.4966, allocations: 89.3 kB / 1.476 GB, free: 14.33 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.247e-05/0.4967, allocations: 101.8 kB / 1.477 GB, free: 14.22 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 1.728e-05/0.4967, allocations: 25.7 kB / 1.477 GB, free: 14.19 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 4.258e-05/0.4967, allocations: 80.14 kB / 1.477 GB, free: 14.11 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 3.888e-05/0.4968, allocations: 19.89 kB / 1.477 GB, free: 14.09 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.215e-05/0.4968, allocations: 21.64 kB / 1.477 GB, free: 14.06 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001439/0.4969, allocations: 314.8 kB / 1.477 GB, free: 13.74 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.78e-05/0.4969, allocations: 4 kB / 1.477 GB, free: 13.74 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.488e-05/0.497, allocations: 21.66 kB / 1.477 GB, free: 13.71 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.275e-05/0.497, allocations: 33.7 kB / 1.477 GB, free: 13.67 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.497, allocations: 0 / 1.477 GB, free: 13.67 MB / 1.17 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.02e-05/0.4971, allocations: 49.59 kB / 1.477 GB, free: 13.62 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.4971, allocations: 11.94 kB / 1.477 GB, free: 13.61 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.4971, allocations: 288 / 1.477 GB, free: 13.61 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.624e-05/0.4972, allocations: 3.984 kB / 1.477 GB, free: 13.6 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.239e-05/0.4972, allocations: 8 kB / 1.477 GB, free: 13.59 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.4972, allocations: 0 / 1.477 GB, free: 13.59 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.845e-05/0.4972, allocations: 0 / 1.477 GB, free: 13.59 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.037e-06/0.4972, allocations: 0 / 1.477 GB, free: 13.59 MB / 1.17 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 8.174e-05/0.4973, allocations: 117.9 kB / 1.477 GB, free: 13.47 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.614e-05/0.4973, allocations: 11.92 kB / 1.477 GB, free: 13.46 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001295/0.4975, allocations: 56.92 kB / 1.477 GB, free: 13.39 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.386e-06/0.4975, allocations: 4 kB / 1.477 GB, free: 13.39 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.4975, allocations: 0 / 1.477 GB, free: 13.39 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.4975, allocations: 0 / 1.477 GB, free: 13.39 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.437e-05/0.4976, allocations: 105.3 kB / 1.477 GB, free: 13.26 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.4976, allocations: 0 / 1.477 GB, free: 13.26 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.17e-05/0.4976, allocations: 8 kB / 1.477 GB, free: 13.25 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.4976, allocations: 7.984 kB / 1.477 GB, free: 13.24 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.885e-06/0.4976, allocations: 7.938 kB / 1.477 GB, free: 13.23 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.915e-06/0.4976, allocations: 4 kB / 1.477 GB, free: 13.23 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.4976, allocations: 0 / 1.477 GB, free: 13.23 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001104/0.4977, allocations: 77.98 kB / 1.478 GB, free: 13.13 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 2.737e-05/0.4978, allocations: 7.938 kB / 1.478 GB, free: 13.12 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.611e-05/0.4978, allocations: 7.938 kB / 1.478 GB, free: 13.12 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.631e-05/0.4978, allocations: 0 / 1.478 GB, free: 13.12 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.598e-05/0.4978, allocations: 7.922 kB / 1.478 GB, free: 13.11 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.434e-06/0.4978, allocations: 8 kB / 1.478 GB, free: 13.1 MB / 1.17 GB Notification: Performance of sorting global known variables: time 4.659e-05/0.4979, allocations: 79.28 kB / 1.478 GB, free: 13.02 MB / 1.17 GB Notification: Performance of sort global known variables: time 9e-08/0.4979, allocations: 4 kB / 1.478 GB, free: 13.02 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0002082/0.4981, allocations: 23.92 kB / 1.478 GB, free: 13 MB / 1.17 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.0001731/0.4983, allocations: 115.1 kB / 1.478 GB, free: 12.87 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0001024/0.4984, allocations: 19.98 kB / 1.478 GB, free: 12.85 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.4984, allocations: 0 / 1.478 GB, free: 12.85 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 1.928e-05/0.4984, allocations: 11.94 kB / 1.478 GB, free: 12.84 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002801/0.4987, allocations: 17.48 kB / 1.478 GB, free: 12.82 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002892/0.4989, allocations: 130.7 kB / 1.478 GB, free: 12.67 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.439e-05/0.499, allocations: 59.34 kB / 1.478 GB, free: 12.59 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 3.035e-05/0.499, allocations: 4 kB / 1.478 GB, free: 12.59 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.108e-05/0.499, allocations: 11.44 kB / 1.478 GB, free: 12.58 MB / 1.17 GB Notification: Performance of SimCode: time 3.01e-07/0.499, allocations: 0 / 1.478 GB, free: 12.58 MB / 1.17 GB Notification: Performance of Templates: time 0.003691/0.5027, allocations: 0.9663 MB / 1.479 GB, free: 11.64 MB / 1.17 GB " [Timeout remaining time 299] 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=800 -emit_protected -lv LOG_STATS > 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: 9.766517363488674]