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.001872/0.001872, allocations: 85.38 kB / 19.44 MB, free: 1.988 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.0021/0.0021, allocations: 165.4 kB / 22.75 MB, free: 4.773 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.503/1.503, allocations: 177.1 MB / 203.1 MB, free: 9.074 MB / 190.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.026/3.026, allocations: 393.3 MB / 0.6375 GB, free: 12.79 MB / 0.6075 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 1.613e-06/1.613e-06, allocations: 3.938 kB / 0.8303 GB, free: 5.438 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.248e-05/3.409e-05, allocations: 3.531 kB / 0.8303 GB, free: 5.434 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Conversions.Validation.PressureDrop_massFlowRate): time 0.002478/0.002512, allocations: 1.242 MB / 0.8316 GB, free: 4.191 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.02912/0.03163, allocations: 20.58 MB / 0.8517 GB, free: 15.57 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.613e-05/0.03167, allocations: 0 / 0.8517 GB, free: 15.57 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.36e-05/0.03169, allocations: 0 / 0.8517 GB, free: 15.57 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.000317/0.03201, allocations: 47.7 kB / 0.8517 GB, free: 15.53 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 4.568e-06/0.03201, allocations: 0 / 0.8517 GB, free: 15.53 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 7.067e-05/0.03209, allocations: 19.86 kB / 0.8517 GB, free: 15.51 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 6.07e-05/0.03215, allocations: 4 kB / 0.8517 GB, free: 15.5 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 3.828e-05/0.03218, allocations: 7.938 kB / 0.8517 GB, free: 15.5 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.018e-05/0.03222, allocations: 11.97 kB / 0.8517 GB, free: 15.48 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.236e-05/0.03224, allocations: 4 kB / 0.8517 GB, free: 15.48 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0274/0.05963, allocations: 10.12 MB / 0.8616 GB, free: 5.293 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.529e-05/0.05965, allocations: 0 / 0.8616 GB, free: 5.293 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.18e-05/0.05968, allocations: 7.938 kB / 0.8616 GB, free: 5.285 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001835/0.05986, allocations: 39.84 kB / 0.8617 GB, free: 5.246 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.05987, allocations: 3.984 kB / 0.8617 GB, free: 5.242 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.094e-06/0.05987, allocations: 4 kB / 0.8617 GB, free: 5.238 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.214e-05/0.05988, allocations: 0 / 0.8617 GB, free: 5.238 MB / 0.8106 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.00046/0.06034, allocations: 262.2 kB / 0.8619 GB, free: 4.953 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.226e-05/0.06039, allocations: 8.625 kB / 0.8619 GB, free: 4.945 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.492e-05/0.06044, allocations: 8.938 kB / 0.8619 GB, free: 4.938 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001599/0.0606, allocations: 113.7 kB / 0.8621 GB, free: 4.801 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.598e-06/0.06061, allocations: 384 / 0.8621 GB, free: 4.801 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.714e-05/0.06063, allocations: 4.312 kB / 0.8621 GB, free: 4.797 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000129/0.06076, allocations: 51.97 kB / 0.8621 GB, free: 4.734 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.06077, allocations: 192 / 0.8621 GB, free: 4.734 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.231e-05/0.06078, allocations: 3.938 kB / 0.8621 GB, free: 4.73 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.535e-06/0.06079, allocations: 8 kB / 0.8621 GB, free: 4.723 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.264e-05/0.06083, allocations: 11.98 kB / 0.8621 GB, free: 4.711 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001926/0.06102, allocations: 110.2 kB / 0.8622 GB, free: 4.57 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 9.505e-05/0.06112, allocations: 53.2 kB / 0.8623 GB, free: 4.5 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.907e-05/0.06116, allocations: 13.78 kB / 0.8623 GB, free: 4.48 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002328/0.06139, allocations: 27.98 kB / 0.8623 GB, free: 4.453 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.496e-05/0.06142, allocations: 34.5 kB / 0.8624 GB, free: 4.41 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.06142, allocations: 4 kB / 0.8624 GB, free: 4.406 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0002054/0.06163, allocations: 61.56 kB / 0.8624 GB, free: 4.34 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.614e-05/0.06169, allocations: 77.11 kB / 0.8625 GB, free: 4.246 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000107/0.06179, allocations: 105.8 kB / 0.8626 GB, free: 4.133 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.969e-05/0.06181, allocations: 25.7 kB / 0.8626 GB, free: 4.102 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.739e-05/0.06186, allocations: 84.14 kB / 0.8627 GB, free: 4.016 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.463e-05/0.06189, allocations: 11.84 kB / 0.8627 GB, free: 4.004 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.767e-05/0.06194, allocations: 21.7 kB / 0.8627 GB, free: 3.977 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001553/0.0621, allocations: 314.8 kB / 0.863 GB, free: 3.66 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.953e-05/0.06212, allocations: 8.25 kB / 0.863 GB, free: 3.652 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.853e-05/0.06215, allocations: 17.72 kB / 0.8631 GB, free: 3.629 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.342e-05/0.0622, allocations: 29.64 kB / 0.8631 GB, free: 3.594 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.083e-06/0.0622, allocations: 0 / 0.8631 GB, free: 3.594 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.456e-05/0.0623, allocations: 45.7 kB / 0.8631 GB, free: 3.543 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/0.06231, allocations: 8 kB / 0.8631 GB, free: 3.535 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.06232, allocations: 0 / 0.8631 GB, free: 3.535 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.952e-05/0.06234, allocations: 7.922 kB / 0.8631 GB, free: 3.527 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.757e-05/0.06241, allocations: 12 kB / 0.8632 GB, free: 3.516 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.318e-05/0.06242, allocations: 4 kB / 0.8632 GB, free: 3.512 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.901e-05/0.06244, allocations: 0 / 0.8632 GB, free: 3.512 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.981e-06/0.06244, allocations: 0 / 0.8632 GB, free: 3.512 MB / 0.8106 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.586e-05/0.06253, allocations: 113.8 kB / 0.8633 GB, free: 3.391 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.671e-05/0.06255, allocations: 3.953 kB / 0.8633 GB, free: 3.387 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001436/0.06269, allocations: 68.86 kB / 0.8633 GB, free: 3.312 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.743e-06/0.0627, allocations: 7.938 kB / 0.8633 GB, free: 3.305 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.0627, allocations: 288 / 0.8633 GB, free: 3.305 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.06271, allocations: 0 / 0.8633 GB, free: 3.305 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001087/0.06281, allocations: 109.4 kB / 0.8634 GB, free: 3.168 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.06282, allocations: 0 / 0.8634 GB, free: 3.168 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.482e-05/0.06285, allocations: 15.97 kB / 0.8635 GB, free: 3.152 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.06285, allocations: 0 / 0.8635 GB, free: 3.152 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.623e-06/0.06286, allocations: 0 / 0.8635 GB, free: 3.152 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.471e-06/0.06286, allocations: 4 kB / 0.8635 GB, free: 3.148 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.06287, allocations: 3.938 kB / 0.8635 GB, free: 3.145 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001103/0.06298, allocations: 77.92 kB / 0.8635 GB, free: 3.047 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.852e-05/0.06302, allocations: 11.95 kB / 0.8636 GB, free: 3.035 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.134e-05/0.06303, allocations: 0 / 0.8636 GB, free: 3.035 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.964e-05/0.06305, allocations: 7.984 kB / 0.8636 GB, free: 3.027 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.621e-05/0.06306, allocations: 7.938 kB / 0.8636 GB, free: 3.02 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.086e-06/0.06307, allocations: 0 / 0.8636 GB, free: 3.02 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.928e-05/0.06312, allocations: 83.28 kB / 0.8637 GB, free: 2.938 MB / 0.8106 GB Notification: Performance of sort global known variables: time 7e-08/0.06312, allocations: 0 / 0.8637 GB, free: 2.938 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002203/0.06334, allocations: 19.92 kB / 0.8637 GB, free: 2.918 MB / 0.8106 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.0001722/0.06351, allocations: 111.1 kB / 0.8638 GB, free: 2.797 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 9.11e-05/0.0636, allocations: 23.92 kB / 0.8638 GB, free: 2.773 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.0636, allocations: 0 / 0.8638 GB, free: 2.773 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.687e-05/0.06362, allocations: 12.12 kB / 0.8638 GB, free: 2.762 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002827/0.0639, allocations: 19.98 kB / 0.8638 GB, free: 2.742 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002868/0.06419, allocations: 126.5 kB / 0.864 GB, free: 2.594 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.832e-05/0.06425, allocations: 59.34 kB / 0.864 GB, free: 2.516 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.397e-05/0.06428, allocations: 7.25 kB / 0.864 GB, free: 2.512 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.238e-05/0.0643, allocations: 12.5 kB / 0.864 GB, free: 2.5 MB / 0.8106 GB Notification: Performance of SimCode: time 4.5e-07/0.0643, allocations: 4.125 kB / 0.864 GB, free: 2.496 MB / 0.8106 GB Notification: Performance of Templates: time 0.004023/0.06833, allocations: 0.9654 MB / 0.865 GB, free: 1.59 MB / 0.8106 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: 8.042205143719912]