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.0007641/0.0007641, allocations: 92.2 kB / 20.21 MB, free: 4.211 MB / 18.57 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.0007452/0.0007452, allocations: 157.3 kB / 23.51 MB, free: 0.9023 MB / 18.57 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.8444/0.8444, allocations: 177.2 MB / 203.9 MB, free: 5.594 MB / 186.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 1.718/1.718, allocations: 393.3 MB / 0.6383 GB, free: 8.281 MB / 0.6042 GB " [Timeout remaining time 178] 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 1.302e-06/1.302e-06, allocations: 3.938 kB / 0.8312 GB, free: 10.86 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.779e-05/1.91e-05, allocations: 3.188 kB / 0.8312 GB, free: 10.86 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Conversions.Validation.PressureDrop_massFlowRate): time 0.001446/0.001465, allocations: 1.258 MB / 0.8324 GB, free: 9.617 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.01558/0.01704, allocations: 20.57 MB / 0.8525 GB, free: 5.023 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.088e-05/0.01707, allocations: 0 / 0.8525 GB, free: 5.023 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 1.631e-05/0.01709, allocations: 0 / 0.8525 GB, free: 5.023 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0002348/0.01732, allocations: 51.7 kB / 0.8525 GB, free: 4.973 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 3.847e-06/0.01733, allocations: 0 / 0.8525 GB, free: 4.973 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 5.797e-05/0.01739, allocations: 27.8 kB / 0.8525 GB, free: 4.945 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 4.021e-05/0.01743, allocations: 0 / 0.8525 GB, free: 4.945 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 3.385e-05/0.01746, allocations: 11.98 kB / 0.8526 GB, free: 4.934 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 3.687e-05/0.0175, allocations: 11.92 kB / 0.8526 GB, free: 4.922 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.111e-05/0.01751, allocations: 0 / 0.8526 GB, free: 4.922 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01399/0.0315, allocations: 10.11 MB / 0.8624 GB, free: 10.73 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 9.568e-06/0.03151, allocations: 0 / 0.8624 GB, free: 10.73 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 1.959e-05/0.03153, allocations: 4 kB / 0.8625 GB, free: 10.73 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001132/0.03164, allocations: 43.78 kB / 0.8625 GB, free: 10.69 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.03164, allocations: 0 / 0.8625 GB, free: 10.69 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.142e-06/0.03164, allocations: 0 / 0.8625 GB, free: 10.69 MB / 0.823 GB Notification: Performance of Transformations before backend: time 7.835e-06/0.03165, allocations: 0 / 0.8625 GB, free: 10.69 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.0002738/0.03192, allocations: 266.2 kB / 0.8627 GB, free: 10.4 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.437e-05/0.03196, allocations: 8.031 kB / 0.8628 GB, free: 10.39 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.887e-05/0.032, allocations: 8.938 kB / 0.8628 GB, free: 10.38 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.117e-05/0.03209, allocations: 113.8 kB / 0.8629 GB, free: 10.25 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.207e-06/0.0321, allocations: 384 / 0.8629 GB, free: 10.25 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.097e-05/0.03211, allocations: 384 / 0.8629 GB, free: 10.25 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.349e-05/0.03219, allocations: 55.91 kB / 0.8629 GB, free: 10.18 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.871e-06/0.0322, allocations: 192 / 0.8629 GB, free: 10.18 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.147e-06/0.03221, allocations: 3.938 kB / 0.8629 GB, free: 10.18 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.03221, allocations: 0 / 0.8629 GB, free: 10.18 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.342e-05/0.03225, allocations: 15.98 kB / 0.8629 GB, free: 10.16 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001115/0.03236, allocations: 106.2 kB / 0.863 GB, free: 10.02 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 6.002e-05/0.03242, allocations: 53.2 kB / 0.8631 GB, free: 9.953 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.677e-05/0.03244, allocations: 17.78 kB / 0.8631 GB, free: 9.93 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001492/0.03259, allocations: 15.98 kB / 0.8631 GB, free: 9.914 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.191e-05/0.03262, allocations: 38.56 kB / 0.8632 GB, free: 9.867 MB / 0.823 GB Notification: Performance of pre-optimization done (n=4): time 1.844e-06/0.03262, allocations: 3.984 kB / 0.8632 GB, free: 9.863 MB / 0.823 GB Notification: Performance of matching and sorting (n=4): time 0.0001487/0.03277, allocations: 61.56 kB / 0.8632 GB, free: 9.797 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.355e-05/0.0328, allocations: 81.05 kB / 0.8633 GB, free: 9.699 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.196e-05/0.03286, allocations: 106.1 kB / 0.8634 GB, free: 9.586 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 9.407e-06/0.03287, allocations: 33.64 kB / 0.8634 GB, free: 9.547 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 2.437e-05/0.0329, allocations: 80.14 kB / 0.8635 GB, free: 9.465 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.53e-05/0.03292, allocations: 15.84 kB / 0.8635 GB, free: 9.449 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.521e-05/0.03295, allocations: 17.72 kB / 0.8635 GB, free: 9.426 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 7.592e-05/0.03302, allocations: 318.8 kB / 0.8639 GB, free: 9.105 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.082e-05/0.03303, allocations: 4 kB / 0.8639 GB, free: 9.102 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.723e-05/0.03305, allocations: 17.72 kB / 0.8639 GB, free: 9.078 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.81e-05/0.03309, allocations: 25.72 kB / 0.8639 GB, free: 9.047 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.03309, allocations: 4 kB / 0.8639 GB, free: 9.043 MB / 0.823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.429e-05/0.03314, allocations: 53.62 kB / 0.864 GB, free: 8.984 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.111e-05/0.03315, allocations: 4 kB / 0.864 GB, free: 8.98 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.03316, allocations: 0 / 0.864 GB, free: 8.98 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.03317, allocations: 7.938 kB / 0.864 GB, free: 8.973 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.301e-05/0.03323, allocations: 11.98 kB / 0.864 GB, free: 8.961 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.78e-06/0.03323, allocations: 0 / 0.864 GB, free: 8.961 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.283e-05/0.03325, allocations: 4 kB / 0.864 GB, free: 8.957 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.218e-06/0.03325, allocations: 3.938 kB / 0.864 GB, free: 8.953 MB / 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 5.356e-05/0.0333, allocations: 117.9 kB / 0.8641 GB, free: 8.828 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.222e-06/0.03331, allocations: 3.953 kB / 0.8641 GB, free: 8.824 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.866e-05/0.0334, allocations: 63.56 kB / 0.8642 GB, free: 8.758 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.0334, allocations: 3.938 kB / 0.8642 GB, free: 8.754 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.03341, allocations: 4 kB / 0.8642 GB, free: 8.75 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.03341, allocations: 3.984 kB / 0.8642 GB, free: 8.746 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.616e-05/0.03347, allocations: 101.3 kB / 0.8643 GB, free: 8.617 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.71e-07/0.03347, allocations: 0 / 0.8643 GB, free: 8.617 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.408e-05/0.03348, allocations: 8 kB / 0.8643 GB, free: 8.609 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.011e-06/0.03348, allocations: 0 / 0.8643 GB, free: 8.609 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.714e-06/0.03349, allocations: 8.062 kB / 0.8643 GB, free: 8.602 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.03349, allocations: 3.984 kB / 0.8643 GB, free: 8.598 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.03349, allocations: 3.938 kB / 0.8643 GB, free: 8.594 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.335e-05/0.03356, allocations: 81.92 kB / 0.8644 GB, free: 8.492 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 1.871e-05/0.03358, allocations: 3.953 kB / 0.8644 GB, free: 8.488 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.226e-05/0.03359, allocations: 8 kB / 0.8644 GB, free: 8.48 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.225e-06/0.0336, allocations: 0 / 0.8644 GB, free: 8.48 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.349e-05/0.03361, allocations: 7.922 kB / 0.8644 GB, free: 8.473 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.304e-06/0.03361, allocations: 4 kB / 0.8644 GB, free: 8.469 MB / 0.823 GB Notification: Performance of sorting global known variables: time 2.436e-05/0.03364, allocations: 83.22 kB / 0.8645 GB, free: 8.387 MB / 0.823 GB Notification: Performance of sort global known variables: time 5e-08/0.03364, allocations: 0 / 0.8645 GB, free: 8.387 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001356/0.03377, allocations: 23.94 kB / 0.8645 GB, free: 8.363 MB / 0.823 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.0001176/0.03389, allocations: 115.1 kB / 0.8646 GB, free: 8.238 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 6.635e-05/0.03396, allocations: 23.92 kB / 0.8646 GB, free: 8.215 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.162e-06/0.03396, allocations: 0 / 0.8646 GB, free: 8.215 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 9.217e-06/0.03397, allocations: 8 kB / 0.8646 GB, free: 8.207 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001973/0.03416, allocations: 11.98 kB / 0.8646 GB, free: 8.195 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002196/0.03438, allocations: 149.2 kB / 0.8648 GB, free: 8.016 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.641e-05/0.03442, allocations: 63.3 kB / 0.8648 GB, free: 7.934 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.763e-05/0.03444, allocations: 16.48 kB / 0.8649 GB, free: 7.918 MB / 0.823 GB Notification: Performance of SimCode: time 5.21e-07/0.03444, allocations: 0 / 0.8649 GB, free: 7.918 MB / 0.823 GB Notification: Performance of Templates: time 0.001604/0.03604, allocations: 0.8789 MB / 0.8657 GB, free: 7.055 MB / 0.823 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=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: 5.893407819792628]