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.001875/0.001875, allocations: 79.7 kB / 19.18 MB, free: 2.527 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.002283/0.002283, allocations: 167.9 kB / 22.46 MB, free: 5.359 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.577/1.577, allocations: 177.2 MB / 202.8 MB, free: 9.168 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 2.923/2.923, allocations: 393.3 MB / 0.6372 GB, free: 12.98 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.623e-06/1.623e-06, allocations: 0 / 1.007 GB, free: 72 kB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0001008/0.0001024, allocations: 2.281 kB / 1.007 GB, free: 68 kB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Conversions.Validation.PressureDrop_massFlowRate): time 0.002302/0.002404, allocations: 1.247 MB / 1.008 GB, free: 14.81 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.02875/0.03116, allocations: 20.56 MB / 1.028 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.721e-05/0.03121, allocations: 0 / 1.028 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.248e-05/0.03123, allocations: 3.938 kB / 1.028 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0003001/0.03153, allocations: 51.69 kB / 1.028 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 5.06e-06/0.03153, allocations: 8 kB / 1.028 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 7.588e-05/0.03161, allocations: 19.88 kB / 1.028 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.104e-05/0.03165, allocations: 0 / 1.028 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 4.596e-05/0.0317, allocations: 11.92 kB / 1.028 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.118e-05/0.03174, allocations: 7.984 kB / 1.028 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.185e-05/0.03175, allocations: 0 / 1.028 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02713/0.05888, allocations: 10.12 MB / 1.038 GB, free: 15.9 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.195e-05/0.0589, allocations: 7.984 kB / 1.038 GB, free: 15.89 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.779e-05/0.05893, allocations: 3.938 kB / 1.038 GB, free: 15.89 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001782/0.05911, allocations: 39.84 kB / 1.038 GB, free: 15.85 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.05911, allocations: 0 / 1.038 GB, free: 15.85 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.844e-06/0.05912, allocations: 0 / 1.038 GB, free: 15.85 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.881e-06/0.05912, allocations: 0 / 1.038 GB, free: 15.85 MB / 0.9981 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.0004279/0.05955, allocations: 267.8 kB / 1.039 GB, free: 15.56 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.43e-05/0.05959, allocations: 12.03 kB / 1.039 GB, free: 15.55 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.482e-05/0.05963, allocations: 0.9375 kB / 1.039 GB, free: 15.55 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001422/0.05977, allocations: 117.7 kB / 1.039 GB, free: 15.41 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.469e-05/0.05979, allocations: 4.375 kB / 1.039 GB, free: 15.4 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.4e-05/0.0598, allocations: 384 / 1.039 GB, free: 15.4 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001206/0.05992, allocations: 59.84 kB / 1.039 GB, free: 15.34 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.719e-06/0.05993, allocations: 192 / 1.039 GB, free: 15.34 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.061e-05/0.05994, allocations: 3.938 kB / 1.039 GB, free: 15.33 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.135e-06/0.05995, allocations: 4 kB / 1.039 GB, free: 15.33 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.132e-05/0.05999, allocations: 11.94 kB / 1.039 GB, free: 15.32 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001646/0.06015, allocations: 114.2 kB / 1.039 GB, free: 15.17 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.315e-05/0.06025, allocations: 41.22 kB / 1.039 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.204e-05/0.06029, allocations: 25.77 kB / 1.039 GB, free: 15.08 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002206/0.06051, allocations: 27.92 kB / 1.039 GB, free: 15.05 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.091e-05/0.06054, allocations: 34.5 kB / 1.039 GB, free: 15.01 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.06054, allocations: 0 / 1.039 GB, free: 15.01 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4): time 0.0001821/0.06072, allocations: 61.56 kB / 1.039 GB, free: 14.95 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.514e-05/0.06078, allocations: 77.11 kB / 1.039 GB, free: 14.85 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.21e-05/0.06087, allocations: 101.8 kB / 1.039 GB, free: 14.74 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.292e-05/0.06089, allocations: 29.95 kB / 1.039 GB, free: 14.71 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.982e-05/0.06094, allocations: 84.14 kB / 1.039 GB, free: 14.62 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.991e-05/0.06097, allocations: 15.84 kB / 1.039 GB, free: 14.61 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.469e-05/0.06101, allocations: 13.72 kB / 1.039 GB, free: 14.59 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001507/0.06116, allocations: 322.8 kB / 1.04 GB, free: 14.26 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.484e-05/0.06117, allocations: 0 / 1.04 GB, free: 14.26 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.629e-05/0.0612, allocations: 21.72 kB / 1.04 GB, free: 14.23 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.926e-05/0.06125, allocations: 25.66 kB / 1.04 GB, free: 14.2 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.06125, allocations: 0 / 1.04 GB, free: 14.2 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.193e-05/0.06134, allocations: 53.69 kB / 1.04 GB, free: 14.14 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.06136, allocations: 4 kB / 1.04 GB, free: 14.14 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.06136, allocations: 0 / 1.04 GB, free: 14.14 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.627e-05/0.06138, allocations: 3.938 kB / 1.04 GB, free: 14.14 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.97e-05/0.06144, allocations: 11.94 kB / 1.04 GB, free: 14.12 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.533e-06/0.06145, allocations: 3.984 kB / 1.04 GB, free: 14.12 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.976e-05/0.06147, allocations: 3.953 kB / 1.04 GB, free: 14.12 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.316e-06/0.06147, allocations: 4 kB / 1.04 GB, free: 14.11 MB / 0.9981 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.088e-05/0.06155, allocations: 110.4 kB / 1.04 GB, free: 14 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.239e-05/0.06157, allocations: 4 kB / 1.04 GB, free: 13.99 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001259/0.06169, allocations: 61 kB / 1.04 GB, free: 13.93 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.948e-06/0.0617, allocations: 3.938 kB / 1.04 GB, free: 13.93 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.0617, allocations: 0 / 1.04 GB, free: 13.93 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.0617, allocations: 0 / 1.04 GB, free: 13.93 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.963e-05/0.0618, allocations: 113.3 kB / 1.04 GB, free: 13.79 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.0618, allocations: 0 / 1.04 GB, free: 13.79 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.021e-05/0.06183, allocations: 4 kB / 1.04 GB, free: 13.78 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.06184, allocations: 0 / 1.04 GB, free: 13.78 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.027e-05/0.06185, allocations: 4 kB / 1.04 GB, free: 13.78 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.06185, allocations: 7.938 kB / 1.04 GB, free: 13.77 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.06185, allocations: 8 kB / 1.04 GB, free: 13.76 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001153/0.06197, allocations: 89.86 kB / 1.04 GB, free: 13.65 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.435e-05/0.06199, allocations: 8.266 kB / 1.04 GB, free: 13.64 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.116e-05/0.062, allocations: 0 / 1.04 GB, free: 13.64 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.599e-05/0.06202, allocations: 0 / 1.04 GB, free: 13.64 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.642e-05/0.06205, allocations: 15.92 kB / 1.04 GB, free: 13.63 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.719e-06/0.06205, allocations: 3.984 kB / 1.04 GB, free: 13.62 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 4.687e-05/0.0621, allocations: 79.28 kB / 1.04 GB, free: 13.55 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.0621, allocations: 0 / 1.04 GB, free: 13.55 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002198/0.06232, allocations: 15.94 kB / 1.04 GB, free: 13.53 MB / 0.9981 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.0001821/0.0625, allocations: 123.1 kB / 1.041 GB, free: 13.4 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 8.99e-05/0.06259, allocations: 19.92 kB / 1.041 GB, free: 13.38 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.06259, allocations: 4 kB / 1.041 GB, free: 13.38 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.82e-05/0.06261, allocations: 8 kB / 1.041 GB, free: 13.37 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002335/0.06284, allocations: 10.19 kB / 1.041 GB, free: 13.36 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002916/0.06314, allocations: 125.5 kB / 1.041 GB, free: 13.21 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.026e-05/0.0632, allocations: 63.59 kB / 1.041 GB, free: 13.13 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 3.271e-05/0.06323, allocations: 6.375 kB / 1.041 GB, free: 13.12 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.396e-05/0.06325, allocations: 16.48 kB / 1.041 GB, free: 13.11 MB / 0.9981 GB Notification: Performance of SimCode: time 3.2e-07/0.06325, allocations: 0 / 1.041 GB, free: 13.11 MB / 0.9981 GB Notification: Performance of Templates: time 0.004004/0.06726, allocations: 0.9615 MB / 1.042 GB, free: 12.18 MB / 0.9981 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.373583629727364]