Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.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.002033/0.002033, allocations: 85.48 kB / 19.44 MB, free: 344 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.002143/0.002143, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.686/1.686, allocations: 177.1 MB / 203.1 MB, free: 5.613 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.466/3.466, allocations: 429.5 MB / 0.6729 GB, free: 4 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.DryFluid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cyc.etaThe",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid") translateModel(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cyc.etaThe",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 9.167e-06/9.167e-06, allocations: 0 / 0.8775 GB, free: 6.637 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.099e-05/4.016e-05, allocations: 4.984 kB / 0.8775 GB, free: 6.633 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid): time 0.003629/0.003669, allocations: 2.066 MB / 0.8795 GB, free: 4.578 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002645/0.006314, allocations: 1.362 MB / 0.8808 GB, free: 3.219 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.388e-05/0.006407, allocations: 3.938 kB / 0.8808 GB, free: 3.215 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0007626/0.00717, allocations: 246.9 kB / 0.881 GB, free: 2.973 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.001092/0.008262, allocations: 446.3 kB / 0.8815 GB, free: 2.535 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 8.355e-06/0.008271, allocations: 0 / 0.8815 GB, free: 2.535 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0004783/0.008749, allocations: 406.2 kB / 0.8819 GB, free: 2.137 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 5.149e-05/0.008801, allocations: 12.59 kB / 0.8819 GB, free: 2.121 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002649/0.009065, allocations: 191.4 kB / 0.8821 GB, free: 1.934 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002897/0.009355, allocations: 187.4 kB / 0.8822 GB, free: 1.75 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 5.191e-05/0.009407, allocations: 28 kB / 0.8823 GB, free: 1.723 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005598/0.009967, allocations: 279.5 kB / 0.8825 GB, free: 1.449 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.0003888/0.01036, allocations: 387.1 kB / 0.8829 GB, free: 1.07 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0002582/0.01061, allocations: 199.5 kB / 0.8831 GB, free: 0.875 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.001203/0.01182, allocations: 0.8527 MB / 0.8839 GB, free: 20 kB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.01182, allocations: 0 / 0.8839 GB, free: 20 kB / 0.8386 GB Notification: Performance of FrontEnd: time 1.783e-06/0.01182, allocations: 0 / 0.8839 GB, free: 20 kB / 0.8386 GB Notification: Performance of Transformations before backend: time 8.436e-06/0.01183, allocations: 0 / 0.8839 GB, free: 20 kB / 0.8386 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.001604/0.01344, allocations: 1.03 MB / 0.8849 GB, free: 14.95 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.688e-05/0.01348, allocations: 12.03 kB / 0.8849 GB, free: 14.94 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006449/0.01413, allocations: 132.4 kB / 0.8851 GB, free: 14.81 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008155/0.01494, allocations: 0.4971 MB / 0.8855 GB, free: 14.29 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.327e-05/0.01497, allocations: 8.375 kB / 0.8856 GB, free: 14.28 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.366e-05/0.015, allocations: 20.31 kB / 0.8856 GB, free: 14.26 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004642/0.01546, allocations: 195.5 kB / 0.8858 GB, free: 14.06 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.423e-05/0.01548, allocations: 4.188 kB / 0.8858 GB, free: 14.06 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.552e-05/0.0155, allocations: 4.375 kB / 0.8858 GB, free: 14.05 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.146e-05/0.01552, allocations: 11.94 kB / 0.8858 GB, free: 14.04 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006477/0.01616, allocations: 255.8 kB / 0.886 GB, free: 13.79 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002113/0.01828, allocations: 1.115 MB / 0.8871 GB, free: 12.64 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006723/0.01895, allocations: 219.2 kB / 0.8873 GB, free: 12.41 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00026/0.01921, allocations: 99.64 kB / 0.8874 GB, free: 12.31 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 6.148e-05/0.01927, allocations: 27.98 kB / 0.8874 GB, free: 12.29 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.722e-05/0.01931, allocations: 33.39 kB / 0.8875 GB, free: 12.24 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=19): time 1.373e-06/0.01931, allocations: 0 / 0.8875 GB, free: 12.24 MB / 0.8542 GB Notification: Performance of matching and sorting (n=19): time 0.0009567/0.02027, allocations: 339.8 kB / 0.8878 GB, free: 11.91 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.309e-05/0.02033, allocations: 67.28 kB / 0.8879 GB, free: 11.83 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001375/0.0217, allocations: 1.058 MB / 0.8889 GB, free: 10.75 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.857e-05/0.02174, allocations: 29.7 kB / 0.8889 GB, free: 10.72 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004469/0.02219, allocations: 430.9 kB / 0.8893 GB, free: 10.29 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 7.183e-05/0.02226, allocations: 67.42 kB / 0.8894 GB, free: 10.23 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001378/0.0224, allocations: 71.3 kB / 0.8895 GB, free: 10.15 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002721/0.02267, allocations: 0.4887 MB / 0.8899 GB, free: 9.652 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002779/0.02295, allocations: 104 kB / 0.89 GB, free: 9.551 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003011/0.02325, allocations: 136.5 kB / 0.8902 GB, free: 9.41 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005444/0.02379, allocations: 236.8 kB / 0.8904 GB, free: 9.172 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.0238, allocations: 0 / 0.8904 GB, free: 9.172 MB / 0.8542 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0009398/0.02474, allocations: 365.1 kB / 0.8907 GB, free: 8.809 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.922e-05/0.02476, allocations: 8 kB / 0.8908 GB, free: 8.801 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.02476, allocations: 4.031 kB / 0.8908 GB, free: 8.797 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.993e-05/0.02478, allocations: 0 / 0.8908 GB, free: 8.797 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003239/0.02511, allocations: 67.83 kB / 0.8908 GB, free: 8.73 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/0.02511, allocations: 0 / 0.8908 GB, free: 8.73 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002944/0.02541, allocations: 27.84 kB / 0.8909 GB, free: 8.703 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.948e-05/0.02544, allocations: 11.98 kB / 0.8909 GB, free: 8.691 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.0001842/0.02562, allocations: 172.5 kB / 0.891 GB, free: 8.512 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001375/0.02576, allocations: 75.58 kB / 0.8911 GB, free: 8.438 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007084/0.02647, allocations: 285.7 kB / 0.8914 GB, free: 8.148 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.494e-06/0.02648, allocations: 4 kB / 0.8914 GB, free: 8.145 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.02648, allocations: 3.938 kB / 0.8914 GB, free: 8.141 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.672e-06/0.02649, allocations: 3.984 kB / 0.8914 GB, free: 8.137 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002353/0.02884, allocations: 1.357 MB / 0.8927 GB, free: 6.656 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.071e-06/0.02885, allocations: 4 kB / 0.8927 GB, free: 6.652 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002471/0.02909, allocations: 51.94 kB / 0.8928 GB, free: 6.602 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.197e-05/0.02911, allocations: 15.92 kB / 0.8928 GB, free: 6.586 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.403e-05/0.02913, allocations: 4 kB / 0.8928 GB, free: 6.582 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.254e-05/0.02914, allocations: 15.88 kB / 0.8928 GB, free: 6.566 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.397e-06/0.02915, allocations: 7.984 kB / 0.8928 GB, free: 6.559 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008685/0.03002, allocations: 478.1 kB / 0.8933 GB, free: 5.992 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001785/0.0302, allocations: 79.5 kB / 0.8933 GB, free: 5.914 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.76e-05/0.03029, allocations: 8 kB / 0.8933 GB, free: 5.906 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002921/0.03058, allocations: 19.92 kB / 0.8934 GB, free: 5.887 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.333e-05/0.03065, allocations: 31.84 kB / 0.8934 GB, free: 5.855 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.418e-05/0.03068, allocations: 12 kB / 0.8934 GB, free: 5.844 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0009795/0.03166, allocations: 0.7138 MB / 0.8941 GB, free: 5.137 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.03166, allocations: 0 / 0.8941 GB, free: 5.137 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0006117/0.03227, allocations: 175.8 kB / 0.8943 GB, free: 4.965 MB / 0.8542 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.0003915/0.03266, allocations: 175 kB / 0.8944 GB, free: 4.785 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0006387/0.0333, allocations: 239.4 kB / 0.8947 GB, free: 4.547 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.0333, allocations: 0 / 0.8947 GB, free: 4.547 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0002805/0.03358, allocations: 112.1 kB / 0.8948 GB, free: 4.434 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007555/0.03434, allocations: 185.6 kB / 0.8949 GB, free: 4.254 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002308/0.03664, allocations: 1.368 MB / 0.8963 GB, free: 2.773 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004952/0.03714, allocations: 394.6 kB / 0.8967 GB, free: 2.359 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0002166/0.03736, allocations: 68.39 kB / 0.8967 GB, free: 2.289 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001668/0.03752, allocations: 48.48 kB / 0.8968 GB, free: 2.242 MB / 0.8542 GB Notification: Performance of SimCode: time 1.323e-06/0.03752, allocations: 0 / 0.8968 GB, free: 2.242 MB / 0.8542 GB Notification: Performance of Templates: time 0.02031/0.05783, allocations: 10.51 MB / 0.907 GB, free: 7.949 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.sim & ./Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_DryFluid.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.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: 9.250114487018436]