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.001111/0.001111, allocations: 80.88 kB / 19.94 MB, free: 4.547 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.001478/0.001478, allocations: 181 kB / 23.36 MB, free: 1.133 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.9899/0.9899, allocations: 177.1 MB / 203.8 MB, free: 5.484 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.353/2.353, allocations: 438.8 MB / 0.6826 GB, free: 13.57 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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.242e-06/1.242e-06, allocations: 0 / 0.8385 GB, free: 14.24 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.32e-05/1.444e-05, allocations: 5.547 kB / 0.8385 GB, free: 14.24 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Conversions.Validation.PressureDrop_massFlowRate): time 0.001816/0.001831, allocations: 1.283 MB / 0.8398 GB, free: 12.95 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.02402/0.02585, allocations: 22.67 MB / 0.8619 GB, free: 6.191 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.063e-05/0.02588, allocations: 0 / 0.8619 GB, free: 6.191 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 2.041e-05/0.0259, allocations: 4 kB / 0.8619 GB, free: 6.188 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.0002705/0.02617, allocations: 47.75 kB / 0.862 GB, free: 6.141 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 3.076e-06/0.02618, allocations: 0 / 0.862 GB, free: 6.141 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 5.742e-05/0.02624, allocations: 27.73 kB / 0.862 GB, free: 6.113 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 3.46e-05/0.02627, allocations: 0 / 0.862 GB, free: 6.113 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 3.991e-05/0.02631, allocations: 8 kB / 0.862 GB, free: 6.105 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 3.505e-05/0.02634, allocations: 15.92 kB / 0.862 GB, free: 6.09 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 9.878e-06/0.02635, allocations: 0 / 0.862 GB, free: 6.09 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01883/0.04519, allocations: 10.16 MB / 0.8719 GB, free: 11.86 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.119e-05/0.0452, allocations: 3.938 kB / 0.8719 GB, free: 11.85 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.921e-05/0.04522, allocations: 7.984 kB / 0.8719 GB, free: 11.84 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001106/0.04533, allocations: 47.72 kB / 0.872 GB, free: 11.8 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.04533, allocations: 0 / 0.872 GB, free: 11.8 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.312e-06/0.04533, allocations: 0 / 0.872 GB, free: 11.8 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.233e-06/0.04534, allocations: 0 / 0.872 GB, free: 11.8 MB / 0.8386 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.0001756/0.04552, allocations: 244.5 kB / 0.8722 GB, free: 11.54 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 2.468e-05/0.04554, allocations: 8.625 kB / 0.8722 GB, free: 11.53 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.653e-05/0.04556, allocations: 4.938 kB / 0.8722 GB, free: 11.52 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006305/0.04619, allocations: 109.7 kB / 0.8723 GB, free: 11.39 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.705e-06/0.0462, allocations: 4.375 kB / 0.8723 GB, free: 11.39 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.674e-06/0.0462, allocations: 4.359 kB / 0.8723 GB, free: 11.38 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.77e-05/0.04626, allocations: 55.91 kB / 0.8724 GB, free: 11.32 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.711e-06/0.04627, allocations: 4.188 kB / 0.8724 GB, free: 11.31 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.821e-06/0.04627, allocations: 3.938 kB / 0.8724 GB, free: 11.31 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.266e-06/0.04628, allocations: 0 / 0.8724 GB, free: 11.31 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.542e-05/0.04629, allocations: 8 kB / 0.8724 GB, free: 11.3 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.661e-05/0.04637, allocations: 69.89 kB / 0.8725 GB, free: 11.21 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 4.037e-05/0.04641, allocations: 45.2 kB / 0.8725 GB, free: 11.15 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.501e-05/0.04642, allocations: 17.78 kB / 0.8725 GB, free: 11.13 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001003/0.04652, allocations: 19.98 kB / 0.8726 GB, free: 11.11 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.705e-05/0.04654, allocations: 38.56 kB / 0.8726 GB, free: 11.06 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 6.71e-07/0.04654, allocations: 0 / 0.8726 GB, free: 11.06 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4): time 7.165e-05/0.04661, allocations: 49.62 kB / 0.8726 GB, free: 11.01 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.79e-05/0.04664, allocations: 77.11 kB / 0.8727 GB, free: 10.91 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.584e-05/0.04669, allocations: 114.6 kB / 0.8728 GB, free: 10.79 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 6.823e-06/0.04669, allocations: 25.7 kB / 0.8729 GB, free: 10.76 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 1.646e-05/0.04671, allocations: 80.14 kB / 0.8729 GB, free: 10.68 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.375e-05/0.04673, allocations: 19.78 kB / 0.8729 GB, free: 10.66 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.807e-05/0.04675, allocations: 21.64 kB / 0.873 GB, free: 10.63 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 6.293e-05/0.04681, allocations: 318.8 kB / 0.8733 GB, free: 10.31 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.619e-06/0.04682, allocations: 0 / 0.8733 GB, free: 10.31 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.27e-05/0.04683, allocations: 17.97 kB / 0.8733 GB, free: 10.29 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.177e-05/0.04685, allocations: 25.7 kB / 0.8733 GB, free: 10.25 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.04686, allocations: 4 kB / 0.8733 GB, free: 10.25 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 3.572e-05/0.04689, allocations: 45.62 kB / 0.8734 GB, free: 10.2 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 9.508e-06/0.0469, allocations: 8 kB / 0.8734 GB, free: 10.19 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.046e-06/0.0469, allocations: 0 / 0.8734 GB, free: 10.19 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.923e-06/0.04691, allocations: 0 / 0.8734 GB, free: 10.19 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.164e-05/0.04694, allocations: 4 kB / 0.8734 GB, free: 10.19 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.106e-06/0.04694, allocations: 7.938 kB / 0.8734 GB, free: 10.18 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.979e-06/0.04695, allocations: 4.062 kB / 0.8734 GB, free: 10.18 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.066e-06/0.04696, allocations: 0 / 0.8734 GB, free: 10.18 MB / 0.8386 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 4.215e-05/0.047, allocations: 113.8 kB / 0.8735 GB, free: 10.05 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.108e-06/0.047, allocations: 3.938 kB / 0.8735 GB, free: 10.05 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.748e-05/0.04706, allocations: 49 kB / 0.8735 GB, free: 10 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.022e-06/0.04706, allocations: 0 / 0.8735 GB, free: 10 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.234e-06/0.04707, allocations: 4 kB / 0.8735 GB, free: 9.996 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.04707, allocations: 3.938 kB / 0.8736 GB, free: 9.992 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.565e-05/0.04711, allocations: 69.88 kB / 0.8736 GB, free: 9.906 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.22e-07/0.04712, allocations: 4.062 kB / 0.8736 GB, free: 9.902 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.306e-05/0.04713, allocations: 15.94 kB / 0.8736 GB, free: 9.887 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.81e-07/0.04713, allocations: 0 / 0.8736 GB, free: 9.887 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.825e-06/0.04713, allocations: 0 / 0.8736 GB, free: 9.887 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.04713, allocations: 0 / 0.8736 GB, free: 9.887 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.04713, allocations: 4 kB / 0.8736 GB, free: 9.883 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.374e-05/0.04718, allocations: 70.2 kB / 0.8737 GB, free: 9.793 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.057e-05/0.04719, allocations: 4.031 kB / 0.8737 GB, free: 9.789 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.021e-05/0.0472, allocations: 7.984 kB / 0.8737 GB, free: 9.781 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.348e-06/0.04721, allocations: 8 kB / 0.8737 GB, free: 9.773 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.132e-05/0.04722, allocations: 3.938 kB / 0.8737 GB, free: 9.77 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.284e-06/0.04722, allocations: 8 kB / 0.8737 GB, free: 9.762 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 1.006e-05/0.04723, allocations: 12.84 kB / 0.8738 GB, free: 9.746 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5.1e-08/0.04723, allocations: 0 / 0.8738 GB, free: 9.746 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000101/0.04733, allocations: 23.81 kB / 0.8738 GB, free: 9.723 MB / 0.8386 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 9.226e-05/0.04743, allocations: 100.3 kB / 0.8739 GB, free: 9.617 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001817/0.04761, allocations: 20.86 kB / 0.8739 GB, free: 9.594 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.04761, allocations: 0 / 0.8739 GB, free: 9.594 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 8.957e-06/0.04762, allocations: 16.78 kB / 0.8739 GB, free: 9.574 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.204e-05/0.04769, allocations: 12.25 kB / 0.8739 GB, free: 9.562 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002594/0.04795, allocations: 130.8 kB / 0.874 GB, free: 9.41 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.358e-05/0.04797, allocations: 55.36 kB / 0.8741 GB, free: 9.336 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 1.831e-05/0.04799, allocations: 4 kB / 0.8741 GB, free: 9.332 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.002e-05/0.04803, allocations: 59.36 kB / 0.8742 GB, free: 9.273 MB / 0.8386 GB Notification: Performance of SimCode: time 2.8e-07/0.04803, allocations: 0 / 0.8742 GB, free: 9.273 MB / 0.8386 GB Notification: Performance of Templates: time 0.001986/0.05002, allocations: 1.106 MB / 0.8752 GB, free: 8.191 MB / 0.8386 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.313783359713852]