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.0009788/0.0009788, allocations: 92.22 kB / 19.65 MB, free: 280 kB / 13.93 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.001018/0.001018, allocations: 173 kB / 23.03 MB, free: 1.547 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.9816/0.9816, allocations: 177.1 MB / 203.4 MB, free: 5.668 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 2.03/2.03, allocations: 429.5 MB / 0.6732 GB, free: 4.059 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 4.218e-06/4.218e-06, allocations: 0 / 0.8781 GB, free: 6.391 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.631e-05/2.053e-05, allocations: 2.312 kB / 0.8781 GB, free: 6.387 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Conversions.Validation.PressureDrop_massFlowRate): time 0.001473/0.001493, allocations: 1.282 MB / 0.8794 GB, free: 5.113 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.01785/0.01934, allocations: 22.71 MB / 0.9016 GB, free: 14.35 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.688e-05/0.01937, allocations: 4 kB / 0.9016 GB, free: 14.35 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 2.042e-05/0.01939, allocations: 0 / 0.9016 GB, free: 14.35 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.0002563/0.01965, allocations: 51.64 kB / 0.9016 GB, free: 14.3 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 2.805e-06/0.01965, allocations: 0 / 0.9016 GB, free: 14.3 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 4.75e-05/0.0197, allocations: 19.86 kB / 0.9016 GB, free: 14.28 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 3.701e-05/0.01974, allocations: 4 kB / 0.9016 GB, free: 14.27 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 3.242e-05/0.01977, allocations: 7.938 kB / 0.9016 GB, free: 14.27 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 3.506e-05/0.0198, allocations: 11.97 kB / 0.9016 GB, free: 14.25 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 1.075e-05/0.01981, allocations: 4 kB / 0.9016 GB, free: 14.25 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01524/0.03506, allocations: 10.14 MB / 0.9116 GB, free: 4.035 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 9.167e-06/0.03507, allocations: 0 / 0.9116 GB, free: 4.035 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 1.995e-05/0.03509, allocations: 7.938 kB / 0.9116 GB, free: 4.027 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001124/0.0352, allocations: 39.83 kB / 0.9116 GB, free: 3.988 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.0352, allocations: 4 kB / 0.9116 GB, free: 3.984 MB / 0.8698 GB Notification: Performance of FrontEnd: time 9.72e-07/0.0352, allocations: 0 / 0.9116 GB, free: 3.984 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 4.559e-06/0.03521, allocations: 4 kB / 0.9116 GB, free: 3.98 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.0002776/0.03549, allocations: 364.2 kB / 0.912 GB, free: 3.59 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.565e-05/0.03552, allocations: 8.031 kB / 0.912 GB, free: 3.582 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.598e-05/0.03556, allocations: 0.9375 kB / 0.912 GB, free: 3.582 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.005e-05/0.03565, allocations: 116.6 kB / 0.9121 GB, free: 3.441 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.101e-05/0.03566, allocations: 8.359 kB / 0.9121 GB, free: 3.434 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.488e-06/0.03567, allocations: 8.312 kB / 0.9121 GB, free: 3.426 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.244e-05/0.03575, allocations: 49.64 kB / 0.9121 GB, free: 3.363 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.62e-06/0.03576, allocations: 192 / 0.9121 GB, free: 3.363 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.516e-06/0.03577, allocations: 7.938 kB / 0.9121 GB, free: 3.355 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.03577, allocations: 0 / 0.9121 GB, free: 3.355 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.42e-05/0.0358, allocations: 11.98 kB / 0.9122 GB, free: 3.344 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001219/0.03592, allocations: 120.3 kB / 0.9123 GB, free: 3.188 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.206e-05/0.03598, allocations: 70.17 kB / 0.9123 GB, free: 3.094 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.134e-05/0.03601, allocations: 19.44 kB / 0.9124 GB, free: 3.066 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001671/0.03618, allocations: 19.98 kB / 0.9124 GB, free: 3.047 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.424e-05/0.0362, allocations: 49.25 kB / 0.9124 GB, free: 2.988 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=4): time 9.51e-07/0.0362, allocations: 4 kB / 0.9124 GB, free: 2.984 MB / 0.8698 GB Notification: Performance of matching and sorting (n=4): time 0.0001385/0.03634, allocations: 53.58 kB / 0.9125 GB, free: 2.926 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.053e-05/0.03637, allocations: 77.11 kB / 0.9126 GB, free: 2.832 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.537e-05/0.03644, allocations: 165.9 kB / 0.9127 GB, free: 2.652 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 8.777e-06/0.03645, allocations: 25.7 kB / 0.9127 GB, free: 2.621 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 3.166e-05/0.03648, allocations: 126.9 kB / 0.9129 GB, free: 2.492 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.717e-05/0.03651, allocations: 23.83 kB / 0.9129 GB, free: 2.469 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.399e-05/0.03653, allocations: 19.38 kB / 0.9129 GB, free: 2.441 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 9.681e-05/0.03663, allocations: 496.1 kB / 0.9134 GB, free: 1.945 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.113e-05/0.03664, allocations: 4.25 kB / 0.9134 GB, free: 1.941 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.726e-05/0.03665, allocations: 27.36 kB / 0.9134 GB, free: 1.906 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.322e-05/0.03669, allocations: 31.31 kB / 0.9134 GB, free: 1.867 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.03669, allocations: 0 / 0.9134 GB, free: 1.867 MB / 0.8698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.151e-05/0.03674, allocations: 49.69 kB / 0.9135 GB, free: 1.812 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.097e-05/0.03675, allocations: 4 kB / 0.9135 GB, free: 1.809 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.03676, allocations: 0 / 0.9135 GB, free: 1.809 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.03677, allocations: 3.938 kB / 0.9135 GB, free: 1.805 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.99e-05/0.03683, allocations: 11.94 kB / 0.9135 GB, free: 1.793 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.03684, allocations: 4.062 kB / 0.9135 GB, free: 1.789 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.276e-05/0.03685, allocations: 3.953 kB / 0.9135 GB, free: 1.785 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.819e-06/0.03685, allocations: 4 kB / 0.9135 GB, free: 1.781 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.584e-05/0.03691, allocations: 156.6 kB / 0.9137 GB, free: 1.617 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.174e-06/0.03692, allocations: 4 kB / 0.9137 GB, free: 1.613 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.071e-05/0.03701, allocations: 60.05 kB / 0.9137 GB, free: 1.551 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.03701, allocations: 8.219 kB / 0.9137 GB, free: 1.543 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.995e-06/0.03701, allocations: 0 / 0.9137 GB, free: 1.543 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.03702, allocations: 3.984 kB / 0.9137 GB, free: 1.539 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.022e-05/0.03708, allocations: 120.7 kB / 0.9138 GB, free: 1.387 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.82e-07/0.03708, allocations: 0 / 0.9138 GB, free: 1.387 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.453e-05/0.03709, allocations: 11.98 kB / 0.9139 GB, free: 1.375 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.03709, allocations: 0 / 0.9139 GB, free: 1.375 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.951e-06/0.0371, allocations: 0 / 0.9139 GB, free: 1.375 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.0371, allocations: 4 kB / 0.9139 GB, free: 1.371 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.0371, allocations: 3.938 kB / 0.9139 GB, free: 1.367 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.321e-05/0.03717, allocations: 100 kB / 0.914 GB, free: 1.242 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 1.969e-05/0.03719, allocations: 7.922 kB / 0.914 GB, free: 1.234 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.065e-05/0.0372, allocations: 8 kB / 0.914 GB, free: 1.227 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.604e-06/0.0372, allocations: 0 / 0.914 GB, free: 1.227 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.514e-05/0.03722, allocations: 7.938 kB / 0.914 GB, free: 1.219 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.817e-06/0.03722, allocations: 8 kB / 0.914 GB, free: 1.211 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 2.961e-05/0.03725, allocations: 127.2 kB / 0.9141 GB, free: 1.086 MB / 0.8698 GB Notification: Performance of sort global known variables: time 6e-08/0.03725, allocations: 0 / 0.9141 GB, free: 1.086 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0001354/0.03739, allocations: 19.88 kB / 0.9141 GB, free: 1.066 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.0001206/0.03751, allocations: 107.2 kB / 0.9142 GB, free: 0.9531 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 8.157e-05/0.03759, allocations: 31.61 kB / 0.9143 GB, free: 0.918 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.03759, allocations: 0 / 0.9143 GB, free: 0.918 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 1.403e-05/0.03761, allocations: 23.86 kB / 0.9143 GB, free: 0.8906 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001574/0.03776, allocations: 11.98 kB / 0.9143 GB, free: 0.8789 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003871/0.03815, allocations: 139.8 kB / 0.9144 GB, free: 0.7109 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.636e-05/0.03818, allocations: 51.36 kB / 0.9145 GB, free: 0.6406 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 2.307e-05/0.0382, allocations: 4 kB / 0.9145 GB, free: 0.6367 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.827e-05/0.03822, allocations: 12.5 kB / 0.9145 GB, free: 0.625 MB / 0.8698 GB Notification: Performance of SimCode: time 8.12e-07/0.03822, allocations: 4.062 kB / 0.9145 GB, free: 0.6211 MB / 0.8698 GB Notification: Performance of Templates: time 0.002538/0.04076, allocations: 1.061 MB / 0.9155 GB, free: 15.59 MB / 0.8855 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Conversions.Validation.PressureDrop_massFlowRate.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Media.Conversions.Validation.PressureDrop_massFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Conversions_Validation_PressureDrop_massFlowRate.csv","",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.140953901223838]