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.0008372/0.0008372, allocations: 92.7 kB / 20.2 MB, free: 4.223 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.0008503/0.0008503, allocations: 161.3 kB / 23.51 MB, free: 0.9141 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.92/0.92, allocations: 177.1 MB / 203.9 MB, free: 5.57 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.954/1.954, allocations: 428.5 MB / 0.6727 GB, free: 4.906 MB / 0.6355 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 9.72e-07/9.72e-07, allocations: 0 / 0.877 GB, free: 7.957 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.813e-05/1.911e-05, allocations: 6.172 kB / 0.877 GB, free: 7.953 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Conversions.Validation.PressureDrop_massFlowRate): time 0.00135/0.001369, allocations: 1.245 MB / 0.8782 GB, free: 6.719 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.01664/0.01801, allocations: 20.57 MB / 0.8983 GB, free: 2.098 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.892e-05/0.01804, allocations: 4 kB / 0.8983 GB, free: 2.094 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 1.461e-05/0.01806, allocations: 3.938 kB / 0.8983 GB, free: 2.09 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0002263/0.01828, allocations: 47.77 kB / 0.8984 GB, free: 2.043 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 4.268e-06/0.01829, allocations: 0 / 0.8984 GB, free: 2.043 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 5.988e-05/0.01835, allocations: 19.81 kB / 0.8984 GB, free: 2.023 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 3.722e-05/0.01838, allocations: 7.984 kB / 0.8984 GB, free: 2.016 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 3.672e-05/0.01842, allocations: 11.92 kB / 0.8984 GB, free: 2.004 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 3.33e-05/0.01845, allocations: 4 kB / 0.8984 GB, free: 2 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.092e-05/0.01847, allocations: 8 kB / 0.8984 GB, free: 1.992 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01578/0.03425, allocations: 10.1 MB / 0.9083 GB, free: 7.82 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 1.191e-05/0.03426, allocations: 4 kB / 0.9083 GB, free: 7.816 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 2.332e-05/0.03428, allocations: 4 kB / 0.9083 GB, free: 7.812 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001419/0.03442, allocations: 43.77 kB / 0.9083 GB, free: 7.77 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.03443, allocations: 7.938 kB / 0.9083 GB, free: 7.762 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.123e-06/0.03443, allocations: 4 kB / 0.9083 GB, free: 7.758 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 4.899e-06/0.03443, allocations: 0 / 0.9083 GB, free: 7.758 MB / 0.8698 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.0002835/0.03471, allocations: 262.2 kB / 0.9086 GB, free: 7.473 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.03475, allocations: 8.031 kB / 0.9086 GB, free: 7.465 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.262e-05/0.0348, allocations: 4.938 kB / 0.9086 GB, free: 7.461 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.956e-05/0.0349, allocations: 113.7 kB / 0.9087 GB, free: 7.324 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.124e-05/0.03491, allocations: 4.375 kB / 0.9087 GB, free: 7.32 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.17e-05/0.03492, allocations: 384 / 0.9087 GB, free: 7.32 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001152/0.03504, allocations: 55.95 kB / 0.9088 GB, free: 7.254 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.783e-06/0.03504, allocations: 192 / 0.9088 GB, free: 7.254 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.03505, allocations: 7.938 kB / 0.9088 GB, free: 7.246 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.03506, allocations: 0 / 0.9088 GB, free: 7.246 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.174e-05/0.03509, allocations: 11.94 kB / 0.9088 GB, free: 7.234 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001248/0.03521, allocations: 110.2 kB / 0.9089 GB, free: 7.094 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.329e-05/0.03529, allocations: 45.19 kB / 0.9089 GB, free: 7.031 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.909e-05/0.03532, allocations: 21.78 kB / 0.9089 GB, free: 7.004 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001527/0.03547, allocations: 19.97 kB / 0.909 GB, free: 6.984 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.839e-05/0.03549, allocations: 38.56 kB / 0.909 GB, free: 6.938 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=4): time 8.51e-07/0.03549, allocations: 0 / 0.909 GB, free: 6.938 MB / 0.8698 GB Notification: Performance of matching and sorting (n=4): time 0.0001576/0.03565, allocations: 61.56 kB / 0.9091 GB, free: 6.871 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.562e-05/0.03568, allocations: 85.05 kB / 0.9091 GB, free: 6.77 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.63e-05/0.03575, allocations: 97.86 kB / 0.9092 GB, free: 6.664 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.093e-05/0.03576, allocations: 25.7 kB / 0.9093 GB, free: 6.633 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 2.834e-05/0.03579, allocations: 84.14 kB / 0.9093 GB, free: 6.547 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.562e-05/0.03581, allocations: 15.83 kB / 0.9094 GB, free: 6.531 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.637e-05/0.03584, allocations: 21.72 kB / 0.9094 GB, free: 6.504 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.124e-05/0.03592, allocations: 311.1 kB / 0.9097 GB, free: 6.191 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.413e-05/0.03593, allocations: 12 kB / 0.9097 GB, free: 6.18 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.677e-05/0.03595, allocations: 21.64 kB / 0.9097 GB, free: 6.152 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.064e-05/0.03599, allocations: 25.72 kB / 0.9097 GB, free: 6.121 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.03599, allocations: 0 / 0.9097 GB, free: 6.121 MB / 0.8698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.239e-05/0.03605, allocations: 57.62 kB / 0.9098 GB, free: 6.059 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/0.03606, allocations: 4 kB / 0.9098 GB, free: 6.055 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.03606, allocations: 0 / 0.9098 GB, free: 6.055 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.03608, allocations: 3.938 kB / 0.9098 GB, free: 6.051 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.305e-05/0.03613, allocations: 12.06 kB / 0.9098 GB, free: 6.039 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.03614, allocations: 0 / 0.9098 GB, free: 6.039 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.299e-05/0.03615, allocations: 3.953 kB / 0.9098 GB, free: 6.035 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.352e-06/0.03615, allocations: 4 kB / 0.9098 GB, free: 6.031 MB / 0.8698 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.755e-05/0.03621, allocations: 109.8 kB / 0.9099 GB, free: 5.914 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.163e-06/0.03622, allocations: 4 kB / 0.9099 GB, free: 5.91 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.473e-05/0.0363, allocations: 64.56 kB / 0.91 GB, free: 5.848 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.03631, allocations: 3.938 kB / 0.91 GB, free: 5.844 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.03631, allocations: 4 kB / 0.91 GB, free: 5.84 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.03631, allocations: 4.062 kB / 0.91 GB, free: 5.836 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.178e-05/0.03638, allocations: 113.3 kB / 0.9101 GB, free: 5.695 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.81e-07/0.03638, allocations: 0 / 0.9101 GB, free: 5.695 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.344e-05/0.03639, allocations: 4 kB / 0.9101 GB, free: 5.691 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.03639, allocations: 4 kB / 0.9101 GB, free: 5.688 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.112e-06/0.0364, allocations: 0 / 0.9101 GB, free: 5.688 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.0364, allocations: 3.938 kB / 0.9101 GB, free: 5.684 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.0364, allocations: 3.938 kB / 0.9101 GB, free: 5.68 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.47e-05/0.03647, allocations: 81.94 kB / 0.9102 GB, free: 5.578 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.187e-05/0.03649, allocations: 7.984 kB / 0.9102 GB, free: 5.57 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.268e-06/0.0365, allocations: 0 / 0.9102 GB, free: 5.57 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.876e-06/0.03651, allocations: 8.328 kB / 0.9102 GB, free: 5.562 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.733e-05/0.03653, allocations: 11.88 kB / 0.9102 GB, free: 5.551 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.333e-06/0.03653, allocations: 0 / 0.9102 GB, free: 5.551 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 2.558e-05/0.03655, allocations: 87.25 kB / 0.9103 GB, free: 5.465 MB / 0.8698 GB Notification: Performance of sort global known variables: time 6e-08/0.03655, allocations: 4 kB / 0.9103 GB, free: 5.461 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0001347/0.03669, allocations: 15.94 kB / 0.9103 GB, free: 5.445 MB / 0.8698 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.0001264/0.03681, allocations: 123 kB / 0.9104 GB, free: 5.316 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 6.888e-05/0.03688, allocations: 12 kB / 0.9105 GB, free: 5.305 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.232e-06/0.03688, allocations: 128 / 0.9105 GB, free: 5.305 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 1.327e-05/0.0369, allocations: 23.92 kB / 0.9105 GB, free: 5.281 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002024/0.0371, allocations: 4 kB / 0.9105 GB, free: 5.277 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002158/0.03732, allocations: 119.3 kB / 0.9106 GB, free: 5.133 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.889e-05/0.03735, allocations: 65.53 kB / 0.9107 GB, free: 5.051 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 2.206e-05/0.03738, allocations: 4 kB / 0.9107 GB, free: 5.047 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.472e-05/0.03739, allocations: 8.625 kB / 0.9107 GB, free: 5.039 MB / 0.8698 GB Notification: Performance of SimCode: time 3.51e-07/0.03739, allocations: 4 kB / 0.9107 GB, free: 5.035 MB / 0.8698 GB Notification: Performance of Templates: time 0.002389/0.03978, allocations: 0.9788 MB / 0.9116 GB, free: 4.09 MB / 0.8698 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 -s gbode -gbm=radauIIA3 -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: 4.967416739091277]