Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.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.001758/0.001758, allocations: 88.72 kB / 19.44 MB, free: 356 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.002332/0.002332, allocations: 157.6 kB / 22.75 MB, free: 1.68 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.557/1.557, allocations: 177.1 MB / 203.1 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] 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 3.236/3.236, allocations: 429.6 MB / 0.673 GB, free: 3.914 MB / 0.6355 GB " [Timeout remaining time 176] 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.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cyc.etaThe|cyc.dTSup",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid") translateModel(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cyc.etaThe|cyc.dTSup",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.714e-06/1.714e-06, allocations: 0.5469 kB / 0.8776 GB, free: 6.488 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.554e-05/3.725e-05, allocations: 2.312 kB / 0.8776 GB, free: 6.484 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid): time 0.00503/0.005068, allocations: 2.083 MB / 0.8796 GB, free: 4.414 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.003287/0.008355, allocations: 1.301 MB / 0.8809 GB, free: 3.117 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002538/0.008609, allocations: 3.938 kB / 0.8809 GB, free: 3.113 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0008751/0.009484, allocations: 231.8 kB / 0.8811 GB, free: 2.887 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.001567/0.01105, allocations: 466.4 kB / 0.8816 GB, free: 2.434 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 2.379e-05/0.01107, allocations: 0 / 0.8816 GB, free: 2.434 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0006667/0.01174, allocations: 402.4 kB / 0.882 GB, free: 2.039 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 7.287e-05/0.01181, allocations: 12.59 kB / 0.882 GB, free: 2.023 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004108/0.01222, allocations: 195.4 kB / 0.8822 GB, free: 1.832 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003934/0.01262, allocations: 187.4 kB / 0.8823 GB, free: 1.648 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 5.285e-05/0.01267, allocations: 24 kB / 0.8824 GB, free: 1.625 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007026/0.01337, allocations: 281.4 kB / 0.8826 GB, free: 1.352 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.0006654/0.01404, allocations: 387.1 kB / 0.883 GB, free: 0.9727 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.000374/0.01441, allocations: 191.5 kB / 0.8832 GB, free: 0.7852 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.001561/0.01597, allocations: 0.8527 MB / 0.884 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.01598, allocations: 0.7188 kB / 0.884 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.224e-06/0.01598, allocations: 0 / 0.884 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 2.549e-05/0.01601, allocations: 1.656 kB / 0.884 GB, free: 15.93 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.002145/0.01815, allocations: 0.8878 MB / 0.8849 GB, free: 15.01 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.055e-05/0.0182, allocations: 8.031 kB / 0.8849 GB, free: 15 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009014/0.01911, allocations: 141.9 kB / 0.885 GB, free: 14.86 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001476/0.02058, allocations: 0.8614 MB / 0.8859 GB, free: 13.98 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.999e-05/0.02061, allocations: 12.38 kB / 0.8859 GB, free: 13.96 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.281e-05/0.02065, allocations: 20.38 kB / 0.8859 GB, free: 13.95 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001005/0.02166, allocations: 0.6359 MB / 0.8865 GB, free: 13.3 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.02167, allocations: 192 / 0.8865 GB, free: 13.3 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.809e-05/0.0217, allocations: 4.375 kB / 0.8865 GB, free: 13.3 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.102e-05/0.02171, allocations: 7.938 kB / 0.8865 GB, free: 13.29 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001598/0.02331, allocations: 1.101 MB / 0.8876 GB, free: 12.19 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003285/0.02659, allocations: 1.906 MB / 0.8895 GB, free: 10.25 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008969/0.02749, allocations: 329.2 kB / 0.8898 GB, free: 9.926 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006347/0.02813, allocations: 237.3 kB / 0.89 GB, free: 9.691 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 7.126e-05/0.0282, allocations: 23.98 kB / 0.89 GB, free: 9.668 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.67e-05/0.02824, allocations: 34.56 kB / 0.8901 GB, free: 9.625 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=19): time 2.505e-06/0.02825, allocations: 0 / 0.8901 GB, free: 9.625 MB / 0.8542 GB Notification: Performance of matching and sorting (n=19): time 0.001747/0.02999, allocations: 0.6984 MB / 0.8908 GB, free: 8.922 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.503e-05/0.03008, allocations: 67.28 kB / 0.8908 GB, free: 8.844 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003214/0.03329, allocations: 2.067 MB / 0.8928 GB, free: 6.77 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.76e-05/0.03333, allocations: 29.7 kB / 0.8929 GB, free: 6.734 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003923/0.03372, allocations: 320.2 kB / 0.8932 GB, free: 6.418 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 8.932e-05/0.03381, allocations: 75.36 kB / 0.8932 GB, free: 6.344 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001568/0.03397, allocations: 61.64 kB / 0.8933 GB, free: 6.277 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001948/0.03416, allocations: 318 kB / 0.8936 GB, free: 5.961 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007654/0.03493, allocations: 0.531 MB / 0.8941 GB, free: 5.43 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007914/0.03572, allocations: 0.5534 MB / 0.8947 GB, free: 4.871 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001192/0.03691, allocations: 0.7646 MB / 0.8954 GB, free: 4.102 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.03691, allocations: 4 kB / 0.8954 GB, free: 4.098 MB / 0.8542 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001861/0.03878, allocations: 1.215 MB / 0.8966 GB, free: 2.875 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.64e-05/0.0388, allocations: 10.5 kB / 0.8966 GB, free: 2.867 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.357e-06/0.03881, allocations: 0 / 0.8966 GB, free: 2.867 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.453e-05/0.03884, allocations: 0 / 0.8966 GB, free: 2.867 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003743/0.03921, allocations: 71.83 kB / 0.8967 GB, free: 2.797 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.324e-05/0.03922, allocations: 4 kB / 0.8967 GB, free: 2.793 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004332/0.03966, allocations: 31.81 kB / 0.8967 GB, free: 2.762 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.507e-05/0.03969, allocations: 11.98 kB / 0.8967 GB, free: 2.75 MB / 0.8542 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 (30): * Single equations (assignments): 30 * 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 0.0005251/0.04022, allocations: 273.7 kB / 0.897 GB, free: 2.473 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000187/0.0404, allocations: 75.53 kB / 0.8971 GB, free: 2.398 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001195/0.0416, allocations: 0.5367 MB / 0.8976 GB, free: 1.852 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.0416, allocations: 0 / 0.8976 GB, free: 1.852 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.17e-05/0.04162, allocations: 11.94 kB / 0.8976 GB, free: 1.84 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.273e-06/0.04162, allocations: 3.984 kB / 0.8976 GB, free: 1.836 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004089/0.04571, allocations: 2.461 MB / 0.9 GB, free: 15.28 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.39e-05/0.04573, allocations: 4 kB / 0.9 GB, free: 15.27 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002833/0.04601, allocations: 51.89 kB / 0.9001 GB, free: 15.22 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.929e-06/0.04602, allocations: 4 kB / 0.9001 GB, free: 15.22 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.708e-05/0.04605, allocations: 8 kB / 0.9001 GB, free: 15.21 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-05/0.04606, allocations: 12.28 kB / 0.9001 GB, free: 15.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.386e-06/0.04607, allocations: 12 kB / 0.9001 GB, free: 15.19 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001174/0.04725, allocations: 0.6482 MB / 0.9007 GB, free: 14.46 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002017/0.04745, allocations: 83.55 kB / 0.9008 GB, free: 14.38 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001155/0.04756, allocations: 11.94 kB / 0.9008 GB, free: 14.37 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003568/0.04792, allocations: 23.92 kB / 0.9008 GB, free: 14.35 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.31e-05/0.04799, allocations: 31.84 kB / 0.9009 GB, free: 14.32 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.615e-05/0.04802, allocations: 12 kB / 0.9009 GB, free: 14.3 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.002148/0.05017, allocations: 1.585 MB / 0.9024 GB, free: 12.72 MB / 0.8698 GB Notification: Performance of sort global known variables: time 9e-08/0.05017, allocations: 4 kB / 0.9024 GB, free: 12.72 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0007664/0.05093, allocations: 171.8 kB / 0.9026 GB, free: 12.55 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (19): * Single equations (assignments): 19 * 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.000555/0.05149, allocations: 179 kB / 0.9028 GB, free: 12.37 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0014/0.05289, allocations: 0.7691 MB / 0.9035 GB, free: 11.6 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 5.63e-06/0.0529, allocations: 0 / 0.9035 GB, free: 11.6 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004279/0.05332, allocations: 224.6 kB / 0.9037 GB, free: 11.38 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001068/0.05439, allocations: 187 kB / 0.9039 GB, free: 11.2 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003071/0.05746, allocations: 1.617 MB / 0.9055 GB, free: 9.484 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005891/0.05805, allocations: 406.7 kB / 0.9059 GB, free: 9.059 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0002964/0.05835, allocations: 84.39 kB / 0.906 GB, free: 8.977 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001478/0.0585, allocations: 44.42 kB / 0.906 GB, free: 8.934 MB / 0.8698 GB Notification: Performance of SimCode: time 1.042e-06/0.0585, allocations: 0 / 0.906 GB, free: 8.934 MB / 0.8698 GB Notification: Performance of Templates: time 0.02274/0.08123, allocations: 10.58 MB / 0.9163 GB, free: 14.57 MB / 0.8855 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.sim & ./Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_WetFluid.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.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: 8.98939359607175]