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.0008901/0.0008901, allocations: 76.5 kB / 19.93 MB, free: 4.629 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.0008974/0.0008974, allocations: 173.9 kB / 23.21 MB, free: 1.352 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.9037/0.9037, allocations: 177.1 MB / 203.5 MB, free: 5.746 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.924/1.924, allocations: 429.6 MB / 0.6734 GB, free: 4.051 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 1.423e-06/1.423e-06, allocations: 0 / 1.066 GB, free: 33.34 MB / 1.01 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.829e-05/2.972e-05, allocations: 2.281 kB / 1.066 GB, free: 33.34 MB / 1.01 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Conversions.Validation.PressureDrop_massFlowRate): time 0.001436/0.001466, allocations: 1.25 MB / 1.067 GB, free: 32.47 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.01346/0.01493, allocations: 20.57 MB / 1.087 GB, free: 19.18 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.835e-05/0.01497, allocations: 3.938 kB / 1.087 GB, free: 19.18 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 1.654e-05/0.01498, allocations: 3.938 kB / 1.087 GB, free: 19.17 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.0002517/0.01524, allocations: 49.3 kB / 1.087 GB, free: 19.14 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 4.959e-06/0.01524, allocations: 0 / 1.087 GB, free: 19.14 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 6.03e-05/0.0153, allocations: 15.84 kB / 1.087 GB, free: 19.14 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 4.425e-05/0.01535, allocations: 3.094 kB / 1.087 GB, free: 19.14 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 4.024e-05/0.01539, allocations: 21.39 kB / 1.087 GB, free: 19.12 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 3.557e-05/0.01542, allocations: 6.625 kB / 1.087 GB, free: 19.12 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 1.1e-05/0.01543, allocations: 0 / 1.087 GB, free: 19.12 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01791/0.03334, allocations: 10.12 MB / 1.097 GB, free: 14.82 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 1.388e-05/0.03335, allocations: 0 / 1.097 GB, free: 14.82 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 2.914e-05/0.03338, allocations: 7.75 kB / 1.097 GB, free: 14.82 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.0001468/0.03353, allocations: 37.17 kB / 1.097 GB, free: 14.8 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 2.786e-06/0.03353, allocations: 4 kB / 1.097 GB, free: 14.8 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.543e-06/0.03353, allocations: 0 / 1.097 GB, free: 14.8 MB / 1.01 GB Notification: Performance of Transformations before backend: time 5.551e-06/0.03354, allocations: 1.062 kB / 1.097 GB, free: 14.8 MB / 1.01 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.0002633/0.0338, allocations: 264.4 kB / 1.098 GB, free: 14.53 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/0.03384, allocations: 9.094 kB / 1.098 GB, free: 14.53 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.454e-05/0.03388, allocations: 9.844 kB / 1.098 GB, free: 14.52 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.181e-05/0.03396, allocations: 116.9 kB / 1.098 GB, free: 14.39 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.021e-05/0.03397, allocations: 1.812 kB / 1.098 GB, free: 14.39 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.001e-05/0.03398, allocations: 1.281 kB / 1.098 GB, free: 14.39 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.024e-05/0.03406, allocations: 50.94 kB / 1.098 GB, free: 14.34 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.03407, allocations: 3.656 kB / 1.098 GB, free: 14.34 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.437e-06/0.03408, allocations: 11.92 kB / 1.098 GB, free: 14.32 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.03408, allocations: 1.312 kB / 1.098 GB, free: 14.32 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.362e-05/0.03412, allocations: 9.625 kB / 1.098 GB, free: 14.32 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.983e-05/0.03422, allocations: 111.6 kB / 1.098 GB, free: 14.19 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 5.472e-05/0.03427, allocations: 46.62 kB / 1.098 GB, free: 14.13 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.785e-05/0.0343, allocations: 27.38 kB / 1.098 GB, free: 14.11 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001567/0.03446, allocations: 14.98 kB / 1.098 GB, free: 14.11 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.232e-05/0.03447, allocations: 40.5 kB / 1.098 GB, free: 14.06 MB / 1.01 GB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.03447, allocations: 0.9062 kB / 1.098 GB, free: 14.06 MB / 1.01 GB Notification: Performance of matching and sorting (n=4): time 0.0001411/0.03461, allocations: 58.14 kB / 1.098 GB, free: 14.02 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.302e-05/0.03463, allocations: 78.23 kB / 1.098 GB, free: 13.93 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.175e-05/0.03468, allocations: 103.8 kB / 1.098 GB, free: 13.82 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 5.65e-06/0.03469, allocations: 25.7 kB / 1.098 GB, free: 13.79 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 1.629e-05/0.03471, allocations: 80.98 kB / 1.098 GB, free: 13.71 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 2.306e-05/0.03473, allocations: 20.98 kB / 1.098 GB, free: 13.7 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.037e-05/0.03475, allocations: 13.56 kB / 1.098 GB, free: 13.68 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 3.132e-05/0.03478, allocations: 320.4 kB / 1.099 GB, free: 13.36 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.411e-05/0.0348, allocations: 6.375 kB / 1.099 GB, free: 13.36 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.677e-05/0.03481, allocations: 14.31 kB / 1.099 GB, free: 13.34 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.387e-05/0.03485, allocations: 27.44 kB / 1.099 GB, free: 13.32 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.03485, allocations: 1.062 kB / 1.099 GB, free: 13.32 MB / 1.01 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.398e-05/0.0349, allocations: 55.38 kB / 1.099 GB, free: 13.28 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.03492, allocations: 5.625 kB / 1.099 GB, free: 13.28 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.03492, allocations: 0 / 1.099 GB, free: 13.28 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/0.03493, allocations: 9.094 kB / 1.099 GB, free: 13.27 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.868e-05/0.03499, allocations: 12.69 kB / 1.099 GB, free: 13.27 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.035, allocations: 1.188 kB / 1.099 GB, free: 13.27 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.269e-05/0.03501, allocations: 1.156 kB / 1.099 GB, free: 13.27 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.929e-06/0.03501, allocations: 1.062 kB / 1.099 GB, free: 13.27 MB / 1.01 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 3.6e-05/0.03505, allocations: 108.1 kB / 1.099 GB, free: 13.15 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.791e-06/0.03506, allocations: 2.062 kB / 1.099 GB, free: 13.15 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.293e-05/0.03514, allocations: 65.52 kB / 1.099 GB, free: 13.11 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.616e-06/0.03514, allocations: 5.781 kB / 1.099 GB, free: 13.11 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.03515, allocations: 64 / 1.099 GB, free: 13.11 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.03515, allocations: 5.188 kB / 1.099 GB, free: 13.1 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.353e-05/0.03519, allocations: 108.4 kB / 1.099 GB, free: 12.97 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.03519, allocations: 4.906 kB / 1.099 GB, free: 12.97 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.752e-05/0.03521, allocations: 9.469 kB / 1.099 GB, free: 12.96 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.03521, allocations: 1.156 kB / 1.099 GB, free: 12.96 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.061e-06/0.03522, allocations: 4.094 kB / 1.099 GB, free: 12.96 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.03522, allocations: 5.438 kB / 1.099 GB, free: 12.96 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.03522, allocations: 3.938 kB / 1.099 GB, free: 12.96 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.5e-05/0.03528, allocations: 85.52 kB / 1.099 GB, free: 12.87 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 2.165e-05/0.0353, allocations: 5.453 kB / 1.099 GB, free: 12.87 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.749e-06/0.03531, allocations: 5.031 kB / 1.099 GB, free: 12.87 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.007e-06/0.03532, allocations: 1.062 kB / 1.099 GB, free: 12.87 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.752e-05/0.03533, allocations: 8.391 kB / 1.099 GB, free: 12.86 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.746e-06/0.03534, allocations: 2.156 kB / 1.099 GB, free: 12.86 MB / 1.01 GB Notification: Performance of sorting global known variables: time 1.7e-05/0.03535, allocations: 84.02 kB / 1.099 GB, free: 12.79 MB / 1.01 GB Notification: Performance of sort global known variables: time 6e-08/0.03535, allocations: 0 / 1.099 GB, free: 12.79 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.000143/0.0355, allocations: 15.41 kB / 1.099 GB, free: 12.78 MB / 1.01 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.0001187/0.03562, allocations: 112 kB / 1.099 GB, free: 12.69 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 7.768e-05/0.03569, allocations: 27.02 kB / 1.099 GB, free: 12.68 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.0357, allocations: 4.062 kB / 1.099 GB, free: 12.67 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 1.005e-05/0.03571, allocations: 7.5 kB / 1.099 GB, free: 12.67 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002073/0.03591, allocations: 16.12 kB / 1.099 GB, free: 12.66 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000224/0.03614, allocations: 150.6 kB / 1.1 GB, free: 12.51 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.968e-05/0.03617, allocations: 60.59 kB / 1.1 GB, free: 12.44 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.676e-05/0.03618, allocations: 15.78 kB / 1.1 GB, free: 12.43 MB / 1.01 GB Notification: Performance of SimCode: time 6.31e-07/0.03618, allocations: 0 / 1.1 GB, free: 12.43 MB / 1.01 GB Notification: Performance of Templates: time 0.001759/0.03794, allocations: 0.8754 MB / 1.101 GB, free: 12.32 MB / 1.01 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 -emit_protected > 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: 7.1146611869335175]