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.001888/0.001888, allocations: 110.4 kB / 18.94 MB, free: 2.949 MB / 14.72 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.002483/0.002483, allocations: 221.4 kB / 22.26 MB, free: 5.125 MB / 14.72 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.622/1.622, allocations: 230.6 MB / 256 MB, free: 7.977 MB / 206.1 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.528/3.528, allocations: 0.5096 GB / 0.8147 GB, free: 17.2 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002199/0.002199, allocations: 66.31 kB / 1.184 GB, free: 14.56 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4802/0.4824, allocations: 181.4 MB / 1.361 GB, free: 288 kB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid): time 0.00408/0.4865, allocations: 2.226 MB / 1.364 GB, free: 14.04 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002819/0.4893, allocations: 1.418 MB / 1.365 GB, free: 12.61 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001174/0.4894, allocations: 4 kB / 1.365 GB, free: 12.61 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0008017/0.4902, allocations: 287 kB / 1.365 GB, free: 12.32 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001127/0.4914, allocations: 442.5 kB / 1.366 GB, free: 11.89 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 8.065e-06/0.4914, allocations: 0 / 1.366 GB, free: 11.89 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0004795/0.4919, allocations: 390.5 kB / 1.366 GB, free: 11.51 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 7.983e-05/0.4919, allocations: 12.59 kB / 1.366 GB, free: 11.49 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001753/0.4921, allocations: 155.3 kB / 1.366 GB, free: 11.34 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003095/0.4924, allocations: 219 kB / 1.366 GB, free: 11.12 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.18e-05/0.4925, allocations: 24 kB / 1.366 GB, free: 11.1 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005883/0.4931, allocations: 295.6 kB / 1.367 GB, free: 10.81 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0004013/0.4935, allocations: 379 kB / 1.367 GB, free: 10.44 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0003239/0.4938, allocations: 306.2 kB / 1.367 GB, free: 10.14 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001063/0.4948, allocations: 0.8443 MB / 1.368 GB, free: 9.293 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 8.496e-06/0.4949, allocations: 4 kB / 1.368 GB, free: 9.289 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.004e-06/0.4949, allocations: 0 / 1.368 GB, free: 9.289 MB / 1.061 GB Notification: Performance of Transformations before backend: time 8.826e-06/0.4949, allocations: 0 / 1.368 GB, free: 9.289 MB / 1.061 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.001383/0.4962, allocations: 0.8956 MB / 1.369 GB, free: 8.359 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/0.4963, allocations: 8.031 kB / 1.369 GB, free: 8.352 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006368/0.4969, allocations: 128.4 kB / 1.369 GB, free: 8.227 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001166/0.4981, allocations: 0.8582 MB / 1.37 GB, free: 7.34 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.391e-05/0.4981, allocations: 12.38 kB / 1.37 GB, free: 7.328 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.644e-05/0.4982, allocations: 12.38 kB / 1.37 GB, free: 7.316 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009403/0.4991, allocations: 0.6421 MB / 1.371 GB, free: 6.668 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.279e-05/0.4991, allocations: 0 / 1.371 GB, free: 6.668 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.83e-05/0.4991, allocations: 8 kB / 1.371 GB, free: 6.66 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.324e-05/0.4992, allocations: 4 kB / 1.371 GB, free: 6.656 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00159/0.5007, allocations: 1.101 MB / 1.372 GB, free: 5.555 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003166/0.5039, allocations: 2.03 MB / 1.374 GB, free: 3.477 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007943/0.5047, allocations: 334.7 kB / 1.374 GB, free: 3.141 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003767/0.5051, allocations: 216.8 kB / 1.374 GB, free: 2.926 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 5.773e-05/0.5051, allocations: 27.92 kB / 1.374 GB, free: 2.898 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.339e-05/0.5052, allocations: 38.48 kB / 1.374 GB, free: 2.852 MB / 1.061 GB Notification: Performance of pre-optimization done (n=19): time 1.783e-06/0.5052, allocations: 0 / 1.374 GB, free: 2.852 MB / 1.061 GB Notification: Performance of matching and sorting (n=19): time 0.001347/0.5065, allocations: 0.7023 MB / 1.375 GB, free: 2.145 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.394e-05/0.5066, allocations: 55.41 kB / 1.375 GB, free: 2.078 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002722/0.5093, allocations: 2.078 MB / 1.377 GB, free: 15.99 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 3.034e-05/0.5093, allocations: 25.7 kB / 1.377 GB, free: 15.96 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003275/0.5097, allocations: 336.1 kB / 1.378 GB, free: 15.63 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 7.551e-05/0.5097, allocations: 67.42 kB / 1.378 GB, free: 15.56 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001283/0.5099, allocations: 61.64 kB / 1.378 GB, free: 15.5 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001684/0.51, allocations: 310 kB / 1.378 GB, free: 15.19 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00069/0.5107, allocations: 0.531 MB / 1.378 GB, free: 14.66 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007247/0.5115, allocations: 0.56 MB / 1.379 GB, free: 14.09 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001066/0.5125, allocations: 0.7724 MB / 1.38 GB, free: 13.31 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.115e-06/0.5125, allocations: 3.938 kB / 1.38 GB, free: 13.31 MB / 1.076 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001676/0.5142, allocations: 1.208 MB / 1.381 GB, free: 12.09 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.612e-05/0.5142, allocations: 4 kB / 1.381 GB, free: 12.09 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.5142, allocations: 4 kB / 1.381 GB, free: 12.09 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.041e-05/0.5143, allocations: 0 / 1.381 GB, free: 12.09 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003622/0.5146, allocations: 67.89 kB / 1.381 GB, free: 12.02 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.42e-05/0.5146, allocations: 4 kB / 1.381 GB, free: 12.02 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004047/0.515, allocations: 39.75 kB / 1.381 GB, free: 11.98 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.643e-05/0.5151, allocations: 8 kB / 1.381 GB, free: 11.97 MB / 1.076 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.0003736/0.5154, allocations: 277.7 kB / 1.381 GB, free: 11.69 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001077/0.5155, allocations: 71.47 kB / 1.381 GB, free: 11.62 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001012/0.5166, allocations: 0.5389 MB / 1.382 GB, free: 11.07 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.5166, allocations: 0 / 1.382 GB, free: 11.07 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.616e-06/0.5166, allocations: 7.984 kB / 1.382 GB, free: 11.06 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.439e-06/0.5166, allocations: 0 / 1.382 GB, free: 11.06 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003578/0.5202, allocations: 2.55 MB / 1.384 GB, free: 8.402 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.113e-05/0.5202, allocations: 11.98 kB / 1.384 GB, free: 8.391 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002553/0.5204, allocations: 47.91 kB / 1.384 GB, free: 8.344 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.01e-05/0.5204, allocations: 4.5 kB / 1.384 GB, free: 8.34 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.784e-05/0.5205, allocations: 15.94 kB / 1.384 GB, free: 8.324 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.17e-05/0.5205, allocations: 15.92 kB / 1.385 GB, free: 8.309 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.035e-06/0.5205, allocations: 8 kB / 1.385 GB, free: 8.301 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001076/0.5216, allocations: 0.6541 MB / 1.385 GB, free: 7.574 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001988/0.5218, allocations: 83.56 kB / 1.385 GB, free: 7.492 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.766e-05/0.5218, allocations: 15.98 kB / 1.385 GB, free: 7.477 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002941/0.5221, allocations: 15.98 kB / 1.385 GB, free: 7.461 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.507e-05/0.5222, allocations: 27.86 kB / 1.385 GB, free: 7.434 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.449e-05/0.5222, allocations: 11.98 kB / 1.385 GB, free: 7.422 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.001975/0.5242, allocations: 1.588 MB / 1.387 GB, free: 5.84 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5242, allocations: 8 kB / 1.387 GB, free: 5.832 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0006607/0.5249, allocations: 171.9 kB / 1.387 GB, free: 5.664 MB / 1.076 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.0003869/0.5252, allocations: 171 kB / 1.387 GB, free: 5.484 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.00121/0.5265, allocations: 0.7612 MB / 1.388 GB, free: 4.723 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.646e-06/0.5265, allocations: 0 / 1.388 GB, free: 4.723 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0003694/0.5268, allocations: 220.9 kB / 1.388 GB, free: 4.508 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008922/0.5277, allocations: 178.9 kB / 1.388 GB, free: 4.332 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002806/0.5305, allocations: 1.614 MB / 1.39 GB, free: 2.633 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007756/0.5313, allocations: 0.9991 MB / 1.391 GB, free: 1.609 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.000249/0.5316, allocations: 92.53 kB / 1.391 GB, free: 1.516 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001206/0.5317, allocations: 35.44 kB / 1.391 GB, free: 1.48 MB / 1.076 GB Notification: Performance of SimCode: time 6.21e-07/0.5317, allocations: 0 / 1.391 GB, free: 1.48 MB / 1.076 GB Notification: Performance of Templates: time 0.02206/0.5537, allocations: 10.64 MB / 1.401 GB, free: 6.969 MB / 1.092 GB " [Timeout remaining time 299] 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: 10.470602854155004]