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.001918/0.001918, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.002223/0.002223, allocations: 213.2 kB / 22.25 MB, free: 5.242 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.651/1.651, allocations: 230.6 MB / 256 MB, free: 7.797 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.627/3.627, allocations: 0.5107 GB / 0.8158 GB, free: 17.8 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.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: 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.002192/0.002192, allocations: 74.09 kB / 1.186 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.54/0.5422, allocations: 181.9 MB / 1.364 GB, free: 13.57 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid): time 0.00399/0.5462, allocations: 1.958 MB / 1.366 GB, free: 11.59 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.003015/0.5492, allocations: 1.309 MB / 1.367 GB, free: 10.27 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001521/0.5493, allocations: 0 / 1.367 GB, free: 10.27 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0009008/0.5502, allocations: 239.1 kB / 1.367 GB, free: 10.04 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001334/0.5516, allocations: 448.9 kB / 1.368 GB, free: 9.602 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 8.646e-06/0.5516, allocations: 4 kB / 1.368 GB, free: 9.598 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0004663/0.5521, allocations: 390.5 kB / 1.368 GB, free: 9.215 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 8.2e-05/0.5521, allocations: 16.53 kB / 1.368 GB, free: 9.195 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001959/0.5523, allocations: 143.4 kB / 1.368 GB, free: 9.055 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002803/0.5526, allocations: 199.1 kB / 1.368 GB, free: 8.859 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.07e-05/0.5526, allocations: 24 kB / 1.368 GB, free: 8.836 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005663/0.5532, allocations: 283.6 kB / 1.369 GB, free: 8.559 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0003803/0.5536, allocations: 371 kB / 1.369 GB, free: 8.195 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0002844/0.5539, allocations: 254.6 kB / 1.369 GB, free: 7.945 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0009936/0.5549, allocations: 0.8521 MB / 1.37 GB, free: 7.09 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 8.526e-06/0.5549, allocations: 3.938 kB / 1.37 GB, free: 7.086 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.805e-06/0.5549, allocations: 4 kB / 1.37 GB, free: 7.082 MB / 1.061 GB Notification: Performance of Transformations before backend: time 9.047e-06/0.5549, allocations: 4 kB / 1.37 GB, free: 7.078 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.001491/0.5564, allocations: 0.884 MB / 1.371 GB, free: 6.16 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.4e-05/0.5564, allocations: 8.031 kB / 1.371 GB, free: 6.152 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006324/0.5571, allocations: 132.4 kB / 1.371 GB, free: 6.023 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00127/0.5583, allocations: 0.8621 MB / 1.372 GB, free: 5.133 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.595e-05/0.5584, allocations: 12.38 kB / 1.372 GB, free: 5.121 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.191e-05/0.5584, allocations: 16.38 kB / 1.372 GB, free: 5.105 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000913/0.5593, allocations: 0.6382 MB / 1.373 GB, free: 4.461 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.061e-05/0.5593, allocations: 0 / 1.373 GB, free: 4.461 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.614e-05/0.5594, allocations: 4 kB / 1.373 GB, free: 4.457 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.187e-06/0.5594, allocations: 4 kB / 1.373 GB, free: 4.453 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001537/0.5609, allocations: 1.101 MB / 1.374 GB, free: 3.352 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003095/0.564, allocations: 1.91 MB / 1.376 GB, free: 1.406 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008254/0.5648, allocations: 334.7 kB / 1.376 GB, free: 1.07 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003954/0.5652, allocations: 218.7 kB / 1.376 GB, free: 0.8555 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 6.576e-05/0.5653, allocations: 27.97 kB / 1.376 GB, free: 0.8281 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.535e-05/0.5653, allocations: 34.56 kB / 1.376 GB, free: 0.7852 MB / 1.061 GB Notification: Performance of pre-optimization done (n=19): time 1.593e-06/0.5653, allocations: 0 / 1.376 GB, free: 0.7852 MB / 1.061 GB Notification: Performance of matching and sorting (n=19): time 0.001437/0.5668, allocations: 0.7003 MB / 1.377 GB, free: 80 kB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.252e-05/0.5668, allocations: 59.41 kB / 1.377 GB, free: 8 kB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002628/0.5695, allocations: 2.063 MB / 1.379 GB, free: 13.94 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 3.782e-05/0.5695, allocations: 29.7 kB / 1.379 GB, free: 13.9 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003796/0.5699, allocations: 328.2 kB / 1.379 GB, free: 13.58 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 8.163e-05/0.57, allocations: 67.44 kB / 1.379 GB, free: 13.51 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001414/0.5701, allocations: 61.64 kB / 1.379 GB, free: 13.45 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001967/0.5703, allocations: 318 kB / 1.38 GB, free: 13.13 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007137/0.571, allocations: 0.5271 MB / 1.38 GB, free: 12.6 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007616/0.5718, allocations: 0.5644 MB / 1.381 GB, free: 12.03 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001122/0.5729, allocations: 0.7592 MB / 1.382 GB, free: 11.27 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.5729, allocations: 0 / 1.382 GB, free: 11.27 MB / 1.076 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001929/0.5748, allocations: 1.212 MB / 1.383 GB, free: 10.05 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 3.274e-05/0.5749, allocations: 11.94 kB / 1.383 GB, free: 10.04 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.248e-06/0.5749, allocations: 0 / 1.383 GB, free: 10.04 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.574e-05/0.5749, allocations: 0 / 1.383 GB, free: 10.04 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003491/0.5752, allocations: 63.89 kB / 1.383 GB, free: 9.973 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.069e-05/0.5753, allocations: 4 kB / 1.383 GB, free: 9.969 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003901/0.5756, allocations: 35.77 kB / 1.383 GB, free: 9.934 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.365e-05/0.5757, allocations: 15.98 kB / 1.383 GB, free: 9.918 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.0003769/0.5761, allocations: 273.7 kB / 1.383 GB, free: 9.641 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001243/0.5762, allocations: 75.52 kB / 1.383 GB, free: 9.566 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001015/0.5772, allocations: 0.5296 MB / 1.384 GB, free: 9.027 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.593e-06/0.5772, allocations: 4 kB / 1.384 GB, free: 9.023 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/0.5772, allocations: 4 kB / 1.384 GB, free: 9.02 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.5772, allocations: 7.922 kB / 1.384 GB, free: 9.012 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003396/0.5806, allocations: 2.453 MB / 1.386 GB, free: 6.461 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.322e-06/0.5806, allocations: 7.938 kB / 1.386 GB, free: 6.453 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002425/0.5809, allocations: 51.89 kB / 1.386 GB, free: 6.402 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.858e-06/0.5809, allocations: 7.938 kB / 1.386 GB, free: 6.395 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.73e-05/0.5809, allocations: 12 kB / 1.386 GB, free: 6.383 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.141e-05/0.5809, allocations: 11.94 kB / 1.386 GB, free: 6.371 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.159e-06/0.5809, allocations: 4.375 kB / 1.386 GB, free: 6.367 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001025/0.5819, allocations: 0.66 MB / 1.387 GB, free: 5.633 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001992/0.5821, allocations: 83.48 kB / 1.387 GB, free: 5.551 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.927e-05/0.5822, allocations: 12 kB / 1.387 GB, free: 5.539 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002924/0.5825, allocations: 19.98 kB / 1.387 GB, free: 5.52 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.215e-05/0.5826, allocations: 27.84 kB / 1.387 GB, free: 5.492 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.643e-05/0.5826, allocations: 16 kB / 1.387 GB, free: 5.477 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.001799/0.5844, allocations: 1.581 MB / 1.389 GB, free: 3.902 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/0.5844, allocations: 0 / 1.389 GB, free: 3.902 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0006469/0.5851, allocations: 175.8 kB / 1.389 GB, free: 3.73 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.0004152/0.5855, allocations: 167 kB / 1.389 GB, free: 3.555 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001264/0.5867, allocations: 0.7731 MB / 1.39 GB, free: 2.781 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 4.549e-06/0.5867, allocations: 0 / 1.39 GB, free: 2.781 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0003832/0.5871, allocations: 220.8 kB / 1.39 GB, free: 2.566 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007993/0.5879, allocations: 170.9 kB / 1.39 GB, free: 2.398 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002667/0.5906, allocations: 1.63 MB / 1.392 GB, free: 0.6836 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005285/0.5911, allocations: 407.1 kB / 1.392 GB, free: 264 kB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.000267/0.5914, allocations: 80.39 kB / 1.392 GB, free: 180 kB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001308/0.5915, allocations: 47.42 kB / 1.392 GB, free: 132 kB / 1.076 GB Notification: Performance of SimCode: time 6.71e-07/0.5915, allocations: 0 / 1.392 GB, free: 132 kB / 1.076 GB Notification: Performance of Templates: time 0.02246/0.614, allocations: 11.77 MB / 1.404 GB, free: 4.559 MB / 1.092 GB " [Timeout remaining time 299] 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.pipe 2>&1) [Timeout 800] 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: 10.769430339336395]