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.0008485/0.0008485, allocations: 92.7 kB / 20.2 MB, free: 4.23 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.0008572/0.0008572, allocations: 161.3 kB / 23.51 MB, free: 0.9258 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.9423/0.9423, allocations: 177.2 MB / 203.9 MB, free: 5.586 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.085/2.085, allocations: 428.6 MB / 0.6727 GB, free: 4.891 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.683e-06/1.683e-06, allocations: 0.7656 kB / 0.877 GB, free: 7.945 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.042e-05/3.21e-05, allocations: 2.312 kB / 0.877 GB, free: 7.941 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Conversions.Validation.PressureDrop_massFlowRate): time 0.001746/0.001778, allocations: 1.26 MB / 0.8782 GB, free: 6.695 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.01811/0.01989, allocations: 20.56 MB / 0.8983 GB, free: 2.086 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.076e-05/0.01993, allocations: 0 / 0.8983 GB, free: 2.086 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 1.766e-05/0.01995, allocations: 0 / 0.8983 GB, free: 2.086 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0002757/0.02022, allocations: 63.56 kB / 0.8984 GB, free: 2.023 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 4.258e-06/0.02023, allocations: 0 / 0.8984 GB, free: 2.023 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 5.937e-05/0.02029, allocations: 15.88 kB / 0.8984 GB, free: 2.008 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 4.232e-05/0.02033, allocations: 11.98 kB / 0.8984 GB, free: 1.996 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 4.548e-05/0.02038, allocations: 7.938 kB / 0.8984 GB, free: 1.988 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 3.868e-05/0.02041, allocations: 8 kB / 0.8984 GB, free: 1.98 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.304e-05/0.02043, allocations: 0 / 0.8984 GB, free: 1.98 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01744/0.03786, allocations: 10.1 MB / 0.9083 GB, free: 7.809 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 1.357e-05/0.03788, allocations: 3.984 kB / 0.9083 GB, free: 7.805 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 2.576e-05/0.0379, allocations: 15.92 kB / 0.9083 GB, free: 7.789 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001399/0.03804, allocations: 31.92 kB / 0.9083 GB, free: 7.758 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.03805, allocations: 0 / 0.9083 GB, free: 7.758 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.292e-06/0.03805, allocations: 0 / 0.9083 GB, free: 7.758 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 5.25e-06/0.03805, allocations: 0 / 0.9083 GB, free: 7.758 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.0003962/0.03845, allocations: 270.2 kB / 0.9086 GB, free: 7.465 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.159e-05/0.0385, allocations: 8.031 kB / 0.9086 GB, free: 7.457 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.759e-05/0.03856, allocations: 4.938 kB / 0.9086 GB, free: 7.453 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001331/0.03869, allocations: 117.7 kB / 0.9087 GB, free: 7.312 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.073e-05/0.0387, allocations: 384 / 0.9087 GB, free: 7.312 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.529e-05/0.03872, allocations: 384 / 0.9087 GB, free: 7.312 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001194/0.03884, allocations: 55.97 kB / 0.9088 GB, free: 7.246 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.03885, allocations: 192 / 0.9088 GB, free: 7.246 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.583e-05/0.03886, allocations: 3.938 kB / 0.9088 GB, free: 7.242 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.784e-06/0.03887, allocations: 4 kB / 0.9088 GB, free: 7.238 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.628e-05/0.03892, allocations: 15.94 kB / 0.9088 GB, free: 7.223 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001606/0.03908, allocations: 118.2 kB / 0.9089 GB, free: 7.074 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.694e-05/0.03915, allocations: 41.22 kB / 0.9089 GB, free: 7.016 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.711e-05/0.03919, allocations: 21.77 kB / 0.909 GB, free: 6.988 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002157/0.03941, allocations: 23.98 kB / 0.909 GB, free: 6.965 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.378e-05/0.03943, allocations: 38.44 kB / 0.909 GB, free: 6.918 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=4): time 1.253e-06/0.03943, allocations: 0 / 0.909 GB, free: 6.918 MB / 0.8698 GB Notification: Performance of matching and sorting (n=4): time 0.0002139/0.03965, allocations: 61.56 kB / 0.9091 GB, free: 6.852 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.821e-05/0.03969, allocations: 81.11 kB / 0.9091 GB, free: 6.754 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.159e-05/0.03979, allocations: 101.8 kB / 0.9092 GB, free: 6.645 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.308e-05/0.0398, allocations: 25.7 kB / 0.9093 GB, free: 6.613 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 3.814e-05/0.03984, allocations: 84.14 kB / 0.9093 GB, free: 6.527 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 3.267e-05/0.03987, allocations: 8.156 kB / 0.9094 GB, free: 6.52 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.854e-05/0.0399, allocations: 25.72 kB / 0.9094 GB, free: 6.488 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 9.578e-05/0.03999, allocations: 314.8 kB / 0.9097 GB, free: 6.172 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.73e-05/0.04001, allocations: 7.984 kB / 0.9097 GB, free: 6.164 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.509e-05/0.04004, allocations: 17.72 kB / 0.9097 GB, free: 6.141 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.37e-05/0.04008, allocations: 25.66 kB / 0.9097 GB, free: 6.109 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.04008, allocations: 0 / 0.9097 GB, free: 6.109 MB / 0.8698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.733e-05/0.04015, allocations: 49.69 kB / 0.9098 GB, free: 6.055 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.143e-05/0.04017, allocations: 8 kB / 0.9098 GB, free: 6.047 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.623e-06/0.04018, allocations: 4.062 kB / 0.9098 GB, free: 6.043 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.04019, allocations: 3.938 kB / 0.9098 GB, free: 6.039 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.645e-05/0.04026, allocations: 8.219 kB / 0.9098 GB, free: 6.031 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.273e-06/0.04027, allocations: 4 kB / 0.9098 GB, free: 6.027 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.629e-05/0.04028, allocations: 11.88 kB / 0.9098 GB, free: 6.016 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.891e-06/0.04029, allocations: 0 / 0.9098 GB, free: 6.016 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.103e-05/0.04035, allocations: 113.8 kB / 0.9099 GB, free: 5.895 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.215e-06/0.04036, allocations: 4 kB / 0.9099 GB, free: 5.891 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.704e-05/0.04046, allocations: 60.92 kB / 0.91 GB, free: 5.828 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.668e-06/0.04046, allocations: 12 kB / 0.91 GB, free: 5.816 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.04047, allocations: 0 / 0.91 GB, free: 5.816 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.04047, allocations: 0 / 0.91 GB, free: 5.816 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.573e-05/0.04053, allocations: 105.3 kB / 0.9101 GB, free: 5.684 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.04054, allocations: 0 / 0.9101 GB, free: 5.684 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.669e-05/0.04055, allocations: 8 kB / 0.9101 GB, free: 5.676 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.82e-07/0.04055, allocations: 0 / 0.9101 GB, free: 5.676 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.961e-06/0.04056, allocations: 0 / 0.9101 GB, free: 5.676 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-06/0.04056, allocations: 4 kB / 0.9101 GB, free: 5.672 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.04056, allocations: 3.938 kB / 0.9101 GB, free: 5.668 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.895e-05/0.04063, allocations: 81.88 kB / 0.9102 GB, free: 5.566 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.371e-05/0.04066, allocations: 19.92 kB / 0.9102 GB, free: 5.547 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.069e-05/0.04067, allocations: 0 / 0.9102 GB, free: 5.547 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.576e-06/0.04067, allocations: 0 / 0.9102 GB, free: 5.547 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.954e-05/0.04069, allocations: 7.938 kB / 0.9102 GB, free: 5.539 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.689e-06/0.0407, allocations: 7.984 kB / 0.9102 GB, free: 5.531 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 2.786e-05/0.04073, allocations: 83.28 kB / 0.9103 GB, free: 5.449 MB / 0.8698 GB Notification: Performance of sort global known variables: time 6e-08/0.04073, allocations: 0 / 0.9103 GB, free: 5.449 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0001511/0.04088, allocations: 15.94 kB / 0.9103 GB, free: 5.434 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.0001371/0.04101, allocations: 111.2 kB / 0.9104 GB, free: 5.316 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 8.466e-05/0.0411, allocations: 23.94 kB / 0.9104 GB, free: 5.293 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.303e-06/0.0411, allocations: 0 / 0.9104 GB, free: 5.293 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 1.023e-05/0.04111, allocations: 11.98 kB / 0.9105 GB, free: 5.281 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002205/0.04133, allocations: 13.55 kB / 0.9105 GB, free: 5.27 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002281/0.04156, allocations: 123.2 kB / 0.9106 GB, free: 5.121 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.817e-05/0.0416, allocations: 59.34 kB / 0.9106 GB, free: 5.043 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 2.94e-05/0.04163, allocations: 11.12 kB / 0.9107 GB, free: 5.035 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.04e-05/0.04165, allocations: 16.48 kB / 0.9107 GB, free: 5.02 MB / 0.8698 GB Notification: Performance of SimCode: time 5.91e-07/0.04165, allocations: 0 / 0.9107 GB, free: 5.02 MB / 0.8698 GB Notification: Performance of Templates: time 0.002511/0.04416, allocations: 0.9726 MB / 0.9116 GB, free: 4.078 MB / 0.8698 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=800 -s cvode -emit_protected -lv LOG_STATS > 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: 5.259682392701507]