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.001006/0.001006, allocations: 80.94 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.001796/0.001796, allocations: 177.3 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 1.03/1.03, allocations: 177.2 MB / 203.8 MB, free: 5.473 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.476/2.476, allocations: 438.8 MB / 0.6826 GB, free: 13.62 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 2.184e-06/2.184e-06, allocations: 0 / 0.8386 GB, free: 14.24 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.838e-05/3.057e-05, allocations: 4.281 kB / 0.8386 GB, free: 14.24 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Conversions.Validation.PressureDrop_massFlowRate): time 0.002909/0.002939, allocations: 1.321 MB / 0.8399 GB, free: 12.91 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.02043/0.02337, allocations: 22.67 MB / 0.862 GB, free: 6.152 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.605e-05/0.02341, allocations: 0 / 0.862 GB, free: 6.152 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 2.34e-05/0.02343, allocations: 0 / 0.862 GB, free: 6.152 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.0002286/0.02366, allocations: 43.7 kB / 0.862 GB, free: 6.109 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 3.276e-06/0.02366, allocations: 0 / 0.862 GB, free: 6.109 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 5.496e-05/0.02372, allocations: 23.81 kB / 0.8621 GB, free: 6.086 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 4.075e-05/0.02376, allocations: 7.984 kB / 0.8621 GB, free: 6.078 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 4.121e-05/0.0238, allocations: 7.984 kB / 0.8621 GB, free: 6.07 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 3.496e-05/0.02383, allocations: 7.938 kB / 0.8621 GB, free: 6.062 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.109e-05/0.02384, allocations: 0 / 0.8621 GB, free: 6.062 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01713/0.04098, allocations: 9.664 MB / 0.8715 GB, free: 12.32 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.403e-05/0.04099, allocations: 15.91 kB / 0.8715 GB, free: 12.31 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.958e-05/0.04101, allocations: 4 kB / 0.8715 GB, free: 12.3 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001143/0.04113, allocations: 31.86 kB / 0.8716 GB, free: 12.27 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.04113, allocations: 4 kB / 0.8716 GB, free: 12.27 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.303e-06/0.04113, allocations: 0 / 0.8716 GB, free: 12.27 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.028e-06/0.04113, allocations: 0 / 0.8716 GB, free: 12.27 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.0001993/0.04133, allocations: 240.5 kB / 0.8718 GB, free: 12.01 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 2.928e-05/0.04136, allocations: 12.61 kB / 0.8718 GB, free: 12 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.79e-05/0.04138, allocations: 4.938 kB / 0.8718 GB, free: 12 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.362e-05/0.04144, allocations: 109.7 kB / 0.8719 GB, free: 11.86 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.774e-06/0.04145, allocations: 4.375 kB / 0.8719 GB, free: 11.86 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.039e-06/0.04146, allocations: 8.375 kB / 0.8719 GB, free: 11.85 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.647e-05/0.04151, allocations: 47.91 kB / 0.872 GB, free: 11.79 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.378e-06/0.04152, allocations: 192 / 0.872 GB, free: 11.79 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.601e-06/0.04152, allocations: 7.938 kB / 0.872 GB, free: 11.79 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.04153, allocations: 0 / 0.872 GB, free: 11.79 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.557e-05/0.04154, allocations: 11.98 kB / 0.872 GB, free: 11.77 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.415e-05/0.04162, allocations: 73.83 kB / 0.8721 GB, free: 11.68 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 4.185e-05/0.04166, allocations: 41.22 kB / 0.8721 GB, free: 11.62 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.74e-05/0.04168, allocations: 21.78 kB / 0.8721 GB, free: 11.6 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001013/0.04178, allocations: 19.97 kB / 0.8722 GB, free: 11.58 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.002e-05/0.0418, allocations: 34.56 kB / 0.8722 GB, free: 11.54 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 5.82e-07/0.0418, allocations: 4 kB / 0.8722 GB, free: 11.53 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4): time 7.084e-05/0.04187, allocations: 45.62 kB / 0.8722 GB, free: 11.48 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.219e-05/0.0419, allocations: 81.05 kB / 0.8723 GB, free: 11.38 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.811e-05/0.04195, allocations: 110.6 kB / 0.8724 GB, free: 11.26 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 9.007e-06/0.04196, allocations: 25.95 kB / 0.8724 GB, free: 11.23 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 1.811e-05/0.04198, allocations: 84.14 kB / 0.8725 GB, free: 11.14 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.034e-05/0.042, allocations: 15.89 kB / 0.8725 GB, free: 11.13 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.061e-05/0.04202, allocations: 13.72 kB / 0.8726 GB, free: 11.11 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 6.913e-05/0.04209, allocations: 318.8 kB / 0.8729 GB, free: 10.79 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.338e-06/0.04209, allocations: 0 / 0.8729 GB, free: 10.79 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.431e-05/0.04211, allocations: 17.7 kB / 0.8729 GB, free: 10.77 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.23e-05/0.04213, allocations: 17.72 kB / 0.8729 GB, free: 10.74 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.04213, allocations: 3.938 kB / 0.8729 GB, free: 10.74 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 3.896e-05/0.04217, allocations: 53.62 kB / 0.8729 GB, free: 10.68 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/0.04218, allocations: 8 kB / 0.873 GB, free: 10.67 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.04219, allocations: 0 / 0.873 GB, free: 10.67 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.013e-06/0.0422, allocations: 0 / 0.873 GB, free: 10.67 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.042e-05/0.04223, allocations: 7.984 kB / 0.873 GB, free: 10.66 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.686e-06/0.04223, allocations: 7.938 kB / 0.873 GB, free: 10.66 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.679e-06/0.04224, allocations: 0 / 0.873 GB, free: 10.66 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.605e-06/0.04224, allocations: 0 / 0.873 GB, free: 10.66 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.313e-05/0.04228, allocations: 113.8 kB / 0.8731 GB, free: 10.54 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.44e-06/0.04229, allocations: 0 / 0.8731 GB, free: 10.54 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.335e-05/0.04235, allocations: 60.98 kB / 0.8731 GB, free: 10.47 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-06/0.04235, allocations: 0 / 0.8731 GB, free: 10.47 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.033e-06/0.04236, allocations: 4 kB / 0.8731 GB, free: 10.47 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.04236, allocations: 3.938 kB / 0.8731 GB, free: 10.46 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.73e-05/0.04241, allocations: 65.89 kB / 0.8732 GB, free: 10.38 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.02e-07/0.04241, allocations: 0 / 0.8732 GB, free: 10.38 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.345e-05/0.04242, allocations: 12 kB / 0.8732 GB, free: 10.37 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.71e-07/0.04242, allocations: 0 / 0.8732 GB, free: 10.37 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.488e-06/0.04243, allocations: 4.266 kB / 0.8732 GB, free: 10.37 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.21e-07/0.04243, allocations: 0 / 0.8732 GB, free: 10.37 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.04243, allocations: 4.062 kB / 0.8732 GB, free: 10.36 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.023e-05/0.04248, allocations: 77.91 kB / 0.8733 GB, free: 10.27 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.15e-05/0.04249, allocations: 7.875 kB / 0.8733 GB, free: 10.26 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.232e-06/0.0425, allocations: 4 kB / 0.8733 GB, free: 10.25 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.165e-06/0.0425, allocations: 4 kB / 0.8733 GB, free: 10.25 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.205e-06/0.04251, allocations: 3.984 kB / 0.8733 GB, free: 10.25 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.184e-06/0.04251, allocations: 8 kB / 0.8733 GB, free: 10.24 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 8.386e-06/0.04252, allocations: 8.859 kB / 0.8733 GB, free: 10.23 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5e-08/0.04252, allocations: 0 / 0.8733 GB, free: 10.23 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001105/0.04263, allocations: 19.88 kB / 0.8734 GB, free: 10.21 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 0.0001018/0.04273, allocations: 100.3 kB / 0.8735 GB, free: 10.1 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 4.946e-05/0.04278, allocations: 36.72 kB / 0.8735 GB, free: 10.06 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.04279, allocations: 0 / 0.8735 GB, free: 10.06 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 9.217e-06/0.0428, allocations: 8.859 kB / 0.8735 GB, free: 10.05 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.8e-05/0.04287, allocations: 11.98 kB / 0.8735 GB, free: 10.04 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002867/0.04316, allocations: 127.1 kB / 0.8736 GB, free: 9.887 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.805e-05/0.04319, allocations: 61.62 kB / 0.8737 GB, free: 9.809 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.053e-05/0.04321, allocations: 11.25 kB / 0.8737 GB, free: 9.801 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.259e-05/0.04325, allocations: 59.36 kB / 0.8738 GB, free: 9.742 MB / 0.8386 GB Notification: Performance of SimCode: time 3.41e-07/0.04325, allocations: 0 / 0.8738 GB, free: 9.742 MB / 0.8386 GB Notification: Performance of Templates: time 0.002163/0.04541, allocations: 1.104 MB / 0.8748 GB, free: 8.664 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 -s gbode -gbm=radauIIA3 -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.372694042045623]