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.001036/0.001036, allocations: 93.06 kB / 19.65 MB, free: 276 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.00127/0.00127, allocations: 169 kB / 23.02 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 1.029/1.029, allocations: 177.1 MB / 203.4 MB, free: 5.559 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.134/2.134, 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 8.22e-07/8.22e-07, allocations: 0 / 0.8781 GB, free: 6.355 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.073e-05/1.155e-05, allocations: 2.312 kB / 0.8781 GB, free: 6.352 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Conversions.Validation.PressureDrop_massFlowRate): time 0.001358/0.001369, allocations: 1.29 MB / 0.8794 GB, free: 5.066 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.01801/0.01937, allocations: 22.71 MB / 0.9016 GB, free: 14.29 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.637e-05/0.0194, allocations: 0 / 0.9016 GB, free: 14.29 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 2.002e-05/0.01942, allocations: 4 kB / 0.9016 GB, free: 14.29 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.0002238/0.01965, allocations: 51.69 kB / 0.9016 GB, free: 14.24 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 1.834e-06/0.01965, allocations: 0 / 0.9016 GB, free: 14.24 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 4.627e-05/0.01969, allocations: 19.88 kB / 0.9016 GB, free: 14.22 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 3.587e-05/0.01973, allocations: 0 / 0.9016 GB, free: 14.22 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 3.691e-05/0.01977, allocations: 11.92 kB / 0.9016 GB, free: 14.21 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 2.959e-05/0.0198, allocations: 7.984 kB / 0.9016 GB, free: 14.2 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 9.959e-06/0.01981, allocations: 0 / 0.9016 GB, free: 14.2 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01492/0.03472, allocations: 10.13 MB / 0.9115 GB, free: 3.992 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 9.568e-06/0.03473, allocations: 0 / 0.9115 GB, free: 3.992 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 1.671e-05/0.03475, allocations: 11.94 kB / 0.9116 GB, free: 3.98 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 9.628e-05/0.03484, allocations: 43.83 kB / 0.9116 GB, free: 3.938 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.03485, allocations: 0 / 0.9116 GB, free: 3.938 MB / 0.8698 GB Notification: Performance of FrontEnd: time 6.91e-07/0.03485, allocations: 0 / 0.9116 GB, free: 3.938 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 4.719e-06/0.03485, allocations: 0 / 0.9116 GB, free: 3.938 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.0002337/0.03509, allocations: 368.2 kB / 0.9119 GB, free: 3.543 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.011e-05/0.03512, allocations: 15.97 kB / 0.912 GB, free: 3.527 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.404e-05/0.03514, allocations: 0.9375 kB / 0.912 GB, free: 3.527 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.479e-05/0.03521, allocations: 116.6 kB / 0.9121 GB, free: 3.387 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.025e-06/0.03522, allocations: 384 / 0.9121 GB, free: 3.387 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.437e-06/0.03523, allocations: 8.375 kB / 0.9121 GB, free: 3.379 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.529e-05/0.03531, allocations: 53.56 kB / 0.9121 GB, free: 3.312 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.116e-06/0.03531, allocations: 192 / 0.9121 GB, free: 3.312 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.143e-06/0.03532, allocations: 3.938 kB / 0.9121 GB, free: 3.309 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.03533, allocations: 4 kB / 0.9121 GB, free: 3.305 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.058e-05/0.03535, allocations: 12 kB / 0.9122 GB, free: 3.293 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001036/0.03545, allocations: 124.3 kB / 0.9123 GB, free: 3.133 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.527e-05/0.03551, allocations: 62.17 kB / 0.9123 GB, free: 3.047 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.206e-05/0.03554, allocations: 31.42 kB / 0.9124 GB, free: 3.008 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001131/0.03565, allocations: 15.98 kB / 0.9124 GB, free: 2.992 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.048e-05/0.03567, allocations: 37.39 kB / 0.9124 GB, free: 2.945 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=4): time 6.71e-07/0.03567, allocations: 4 kB / 0.9124 GB, free: 2.941 MB / 0.8698 GB Notification: Performance of matching and sorting (n=4): time 0.0001156/0.03579, allocations: 65.56 kB / 0.9125 GB, free: 2.871 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.799e-05/0.03582, allocations: 81.05 kB / 0.9126 GB, free: 2.773 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.206e-05/0.03588, allocations: 161.9 kB / 0.9127 GB, free: 2.598 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 7.674e-06/0.03589, allocations: 25.7 kB / 0.9127 GB, free: 2.566 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 3.609e-05/0.03592, allocations: 130.9 kB / 0.9129 GB, free: 2.434 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.044e-05/0.03594, allocations: 11.84 kB / 0.9129 GB, free: 2.422 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.477e-05/0.03597, allocations: 23.38 kB / 0.9129 GB, free: 2.391 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001031/0.03607, allocations: 496.1 kB / 0.9134 GB, free: 1.895 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.598e-06/0.03608, allocations: 3.984 kB / 0.9134 GB, free: 1.891 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.625e-05/0.0361, allocations: 23.62 kB / 0.9134 GB, free: 1.859 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.066e-05/0.03613, allocations: 31.38 kB / 0.9134 GB, free: 1.82 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.03613, allocations: 0 / 0.9134 GB, free: 1.82 MB / 0.8698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 4.697e-05/0.03618, allocations: 49.62 kB / 0.9135 GB, free: 1.766 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.03619, allocations: 10.19 kB / 0.9135 GB, free: 1.758 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.379e-06/0.0362, allocations: 0 / 0.9135 GB, free: 1.758 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/0.03621, allocations: 3.938 kB / 0.9135 GB, free: 1.754 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.059e-05/0.03625, allocations: 8 kB / 0.9135 GB, free: 1.746 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.058e-06/0.03625, allocations: 0 / 0.9135 GB, free: 1.746 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.441e-05/0.03627, allocations: 19.94 kB / 0.9135 GB, free: 1.727 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.349e-06/0.03627, allocations: 0 / 0.9135 GB, free: 1.727 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 6.537e-05/0.03634, allocations: 160.5 kB / 0.9137 GB, free: 1.559 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.643e-06/0.03634, allocations: 4 kB / 0.9137 GB, free: 1.555 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.338e-05/0.03643, allocations: 59.69 kB / 0.9137 GB, free: 1.492 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.255e-06/0.03643, allocations: 3.938 kB / 0.9137 GB, free: 1.488 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.03643, allocations: 4 kB / 0.9137 GB, free: 1.484 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.03644, allocations: 0 / 0.9137 GB, free: 1.484 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.099e-05/0.0365, allocations: 116.6 kB / 0.9138 GB, free: 1.336 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-07/0.0365, allocations: 4.062 kB / 0.9138 GB, free: 1.332 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.282e-05/0.03651, allocations: 8 kB / 0.9139 GB, free: 1.324 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.052e-06/0.03651, allocations: 0 / 0.9139 GB, free: 1.324 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.549e-06/0.03652, allocations: 0 / 0.9139 GB, free: 1.324 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.02e-07/0.03652, allocations: 0 / 0.9139 GB, free: 1.324 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.03652, allocations: 3.938 kB / 0.9139 GB, free: 1.32 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.752e-05/0.03658, allocations: 96.02 kB / 0.9139 GB, free: 1.199 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 1.817e-05/0.0366, allocations: 11.98 kB / 0.914 GB, free: 1.188 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.765e-06/0.03661, allocations: 0 / 0.914 GB, free: 1.188 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.807e-06/0.03662, allocations: 4 kB / 0.914 GB, free: 1.184 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.558e-05/0.03663, allocations: 7.922 kB / 0.914 GB, free: 1.176 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.343e-06/0.03664, allocations: 4 kB / 0.914 GB, free: 1.172 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 3.141e-05/0.03667, allocations: 123.2 kB / 0.9141 GB, free: 1.051 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5.1e-08/0.03667, allocations: 0 / 0.9141 GB, free: 1.051 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0001336/0.0368, allocations: 23.88 kB / 0.9141 GB, free: 1.027 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.0001197/0.03692, allocations: 119.2 kB / 0.9142 GB, free: 0.9023 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 6.834e-05/0.03699, allocations: 28.08 kB / 0.9143 GB, free: 0.8711 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 9.92e-07/0.03699, allocations: 0 / 0.9143 GB, free: 0.8711 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 1.145e-05/0.037, allocations: 15.69 kB / 0.9143 GB, free: 0.8516 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001374/0.03714, allocations: 24.22 kB / 0.9143 GB, free: 0.8281 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003698/0.03751, allocations: 135.8 kB / 0.9144 GB, free: 0.6641 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.617e-05/0.03755, allocations: 55.36 kB / 0.9145 GB, free: 0.5898 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 2.375e-05/0.03757, allocations: 14.97 kB / 0.9145 GB, free: 0.5781 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.447e-05/0.03758, allocations: 8.5 kB / 0.9145 GB, free: 0.5703 MB / 0.8698 GB Notification: Performance of SimCode: time 4.61e-07/0.03758, allocations: 0 / 0.9145 GB, free: 0.5703 MB / 0.8698 GB Notification: Performance of Templates: time 0.002379/0.03996, allocations: 0.9794 MB / 0.9155 GB, free: 15.62 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.679446130990982]