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.0007639/0.0007639, allocations: 76.17 kB / 9.906 MB, free: 0.7812 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001002/0.001766, allocations: 439.8 kB / 10.34 MB, free: 360 kB / 10.45 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.0006875/0.0006875, allocations: 157.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008718/0.001559, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.002/1.002, allocations: 177.1 MB / 189.6 MB, free: 5.332 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09009/1.092, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.385/2.385, allocations: 446.7 MB / 0.6745 GB, free: 6.219 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2896/2.674, allocations: 145.9 MB / 0.817 GB, free: 4.223 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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 2.334e-06/2.334e-06, allocations: 0 / 0.8183 GB, free: 2.895 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.627e-05/2.86e-05, allocations: 2.312 kB / 0.8183 GB, free: 2.891 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid): time 0.003019/0.003048, allocations: 2.267 MB / 0.8205 GB, free: 0.6094 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001921/0.004969, allocations: 1.386 MB / 0.8219 GB, free: 15.21 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001187/0.005088, allocations: 4 kB / 0.8219 GB, free: 15.21 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0005169/0.005605, allocations: 246.9 kB / 0.8221 GB, free: 14.97 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0007957/0.006401, allocations: 410.4 kB / 0.8225 GB, free: 14.57 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 5.5e-06/0.006406, allocations: 4 kB / 0.8225 GB, free: 14.56 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0003067/0.006713, allocations: 402.3 kB / 0.8229 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 6.099e-05/0.006774, allocations: 10.56 kB / 0.8229 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002128/0.006987, allocations: 233.1 kB / 0.8231 GB, free: 13.93 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001814/0.007168, allocations: 183.3 kB / 0.8233 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.948e-05/0.007197, allocations: 24 kB / 0.8233 GB, free: 13.72 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004604/0.007658, allocations: 311.5 kB / 0.8236 GB, free: 13.42 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0002846/0.007942, allocations: 363.3 kB / 0.824 GB, free: 13.06 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0002041/0.008147, allocations: 167.6 kB / 0.8241 GB, free: 12.9 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0006516/0.008798, allocations: 0.5838 MB / 0.8247 GB, free: 12.31 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.483e-05/0.008813, allocations: 4 kB / 0.8247 GB, free: 12.31 MB / 0.8073 GB Notification: Performance of FrontEnd: time 8.11e-07/0.008814, allocations: 0 / 0.8247 GB, free: 12.31 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.886e-05/0.008833, allocations: 0 / 0.8247 GB, free: 12.31 MB / 0.8073 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.001015/0.009847, allocations: 0.9719 MB / 0.8257 GB, free: 11.31 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.12e-05/0.009878, allocations: 8.031 kB / 0.8257 GB, free: 11.3 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003937/0.01027, allocations: 181.9 kB / 0.8258 GB, free: 11.11 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004768/0.01075, allocations: 481.2 kB / 0.8263 GB, free: 10.61 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.001e-05/0.01077, allocations: 16.38 kB / 0.8263 GB, free: 10.59 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.426e-05/0.01079, allocations: 16.38 kB / 0.8263 GB, free: 10.57 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002352/0.01103, allocations: 163 kB / 0.8265 GB, free: 10.41 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.01104, allocations: 192 / 0.8265 GB, free: 10.41 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.657e-05/0.01105, allocations: 8.375 kB / 0.8265 GB, free: 10.4 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.486e-06/0.01106, allocations: 7.938 kB / 0.8265 GB, free: 10.39 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001811/0.01124, allocations: 103.7 kB / 0.8266 GB, free: 10.29 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00092/0.01216, allocations: 0.6548 MB / 0.8272 GB, free: 9.617 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00026/0.01242, allocations: 166.3 kB / 0.8274 GB, free: 9.445 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.452e-05/0.01249, allocations: 40.84 kB / 0.8274 GB, free: 9.402 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 4.057e-05/0.01253, allocations: 23.98 kB / 0.8275 GB, free: 9.379 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.469e-05/0.01255, allocations: 38.56 kB / 0.8275 GB, free: 9.332 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=19): time 1.393e-06/0.01255, allocations: 0 / 0.8275 GB, free: 9.332 MB / 0.8073 GB Notification: Performance of matching and sorting (n=19): time 0.0002797/0.01283, allocations: 148.6 kB / 0.8276 GB, free: 9.184 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.475e-05/0.01287, allocations: 55.41 kB / 0.8277 GB, free: 9.117 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007403/0.01361, allocations: 0.8764 MB / 0.8285 GB, free: 8.23 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.122e-05/0.01363, allocations: 33.7 kB / 0.8286 GB, free: 8.191 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001228/0.01375, allocations: 206.1 kB / 0.8288 GB, free: 7.984 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 4.116e-05/0.01379, allocations: 67.36 kB / 0.8288 GB, free: 7.918 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.189e-05/0.01388, allocations: 57.61 kB / 0.8289 GB, free: 7.855 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.281e-05/0.01396, allocations: 318 kB / 0.8292 GB, free: 7.539 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.727e-05/0.01406, allocations: 50.81 kB / 0.8292 GB, free: 7.488 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001153/0.01417, allocations: 77.67 kB / 0.8293 GB, free: 7.406 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002014/0.01437, allocations: 135.3 kB / 0.8294 GB, free: 7.266 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.01438, allocations: 7.938 kB / 0.8295 GB, free: 7.258 MB / 0.8073 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003077/0.01468, allocations: 203.8 kB / 0.8297 GB, free: 7.051 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.0147, allocations: 8 kB / 0.8297 GB, free: 7.043 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.0147, allocations: 0 / 0.8297 GB, free: 7.043 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.568e-06/0.01471, allocations: 0 / 0.8297 GB, free: 7.043 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002263/0.01494, allocations: 75.88 kB / 0.8297 GB, free: 6.969 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.627e-06/0.01494, allocations: 0 / 0.8297 GB, free: 6.969 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001764/0.01512, allocations: 31.77 kB / 0.8298 GB, free: 6.938 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.664e-05/0.01514, allocations: 7.984 kB / 0.8298 GB, free: 6.93 MB / 0.8073 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.0001057/0.01524, allocations: 128.6 kB / 0.8299 GB, free: 6.793 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.228e-05/0.0153, allocations: 35.95 kB / 0.8299 GB, free: 6.758 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002498/0.01555, allocations: 171.9 kB / 0.8301 GB, free: 6.578 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/0.01556, allocations: 4 kB / 0.8301 GB, free: 6.574 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-06/0.01556, allocations: 3.938 kB / 0.8301 GB, free: 6.57 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.01556, allocations: 3.938 kB / 0.8301 GB, free: 6.566 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009314/0.0165, allocations: 0.8817 MB / 0.831 GB, free: 5.578 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.0165, allocations: 4 kB / 0.831 GB, free: 5.574 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001511/0.01665, allocations: 60.48 kB / 0.831 GB, free: 5.516 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 8.038e-05/0.01673, allocations: 67.56 kB / 0.8311 GB, free: 5.449 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.262e-06/0.01674, allocations: 8 kB / 0.8311 GB, free: 5.441 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.695e-05/0.01675, allocations: 11.98 kB / 0.8311 GB, free: 5.43 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.982e-06/0.01676, allocations: 11.94 kB / 0.8311 GB, free: 5.418 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.763e-06/0.01677, allocations: 7.938 kB / 0.8311 GB, free: 5.41 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002835/0.01705, allocations: 320.9 kB / 0.8314 GB, free: 5 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.438e-05/0.01712, allocations: 11.98 kB / 0.8314 GB, free: 4.988 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001773/0.01729, allocations: 19.98 kB / 0.8315 GB, free: 4.969 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.415e-05/0.01733, allocations: 27.86 kB / 0.8315 GB, free: 4.941 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.375e-05/0.01734, allocations: 8 kB / 0.8315 GB, free: 4.934 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0004508/0.01779, allocations: 0.5149 MB / 0.832 GB, free: 4.422 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1e-07/0.01779, allocations: 0 / 0.832 GB, free: 4.422 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0004068/0.0182, allocations: 175.9 kB / 0.8322 GB, free: 4.25 MB / 0.8073 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.000233/0.01843, allocations: 168.1 kB / 0.8323 GB, free: 4.078 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0002548/0.01869, allocations: 151.1 kB / 0.8325 GB, free: 3.93 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.428e-05/0.0187, allocations: 8 kB / 0.8325 GB, free: 3.922 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 8.094e-05/0.01878, allocations: 60.64 kB / 0.8325 GB, free: 3.859 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000583/0.01936, allocations: 244 kB / 0.8328 GB, free: 3.621 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01114/0.03051, allocations: 1.688 MB / 0.8344 GB, free: 1.836 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000179/0.03069, allocations: 209.4 kB / 0.8346 GB, free: 1.609 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0001949/0.03088, allocations: 68.39 kB / 0.8347 GB, free: 1.539 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003279/0.03121, allocations: 189.2 kB / 0.8349 GB, free: 1.355 MB / 0.8073 GB Notification: Performance of SimCode: time 8.11e-07/0.03121, allocations: 0 / 0.8349 GB, free: 1.355 MB / 0.8073 GB Notification: Performance of Templates: time 0.01638/0.04759, allocations: 12.21 MB / 0.8468 GB, free: 5.402 MB / 0.823 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid/Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.ref.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.460932809859514]