Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.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.002428/0.002428, allocations: 99.66 kB / 18.94 MB, free: 2.84 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.003764/0.003764, allocations: 220 kB / 22.24 MB, free: 5.109 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.866/1.866, allocations: 230.6 MB / 256 MB, free: 7.777 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.703/3.703, allocations: 0.5107 GB / 0.8158 GB, free: 17.83 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.BaseClasses.Validation.EnergyConversionNormal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|opeModBas.PEle|opeModBas.QGen_flow|opeModBas.mWat_flow|opeModBas.TWatIn|opeModBas.mAir_flow|opeModBas.mFue_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|opeModBas.PEle|opeModBas.QGen_flow|opeModBas.mWat_flow|opeModBas.TWatIn|opeModBas.mAir_flow|opeModBas.mFue_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal") [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.002187/0.002187, allocations: 63.62 kB / 1.186 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5125/0.5147, allocations: 181.9 MB / 1.364 GB, free: 13.58 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.006814/0.5215, allocations: 2.174 MB / 1.366 GB, free: 11.38 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002753/0.5242, allocations: 0.8628 MB / 1.367 GB, free: 10.52 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003596/0.5246, allocations: 4 kB / 1.367 GB, free: 10.52 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001005/0.5256, allocations: 183.1 kB / 1.367 GB, free: 10.34 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0004547/0.5261, allocations: 71.5 kB / 1.367 GB, free: 10.27 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008126/0.5269, allocations: 107.7 kB / 1.367 GB, free: 10.16 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0006373/0.5275, allocations: 227 kB / 1.367 GB, free: 9.938 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003321/0.5279, allocations: 65.98 kB / 1.367 GB, free: 9.867 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002375/0.5281, allocations: 87.58 kB / 1.368 GB, free: 9.781 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002018/0.5283, allocations: 91.36 kB / 1.368 GB, free: 9.691 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 6.323e-05/0.5284, allocations: 24 kB / 1.368 GB, free: 9.668 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005078/0.5289, allocations: 139.8 kB / 1.368 GB, free: 9.531 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0003764/0.5292, allocations: 215.3 kB / 1.368 GB, free: 9.32 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0003246/0.5296, allocations: 190.5 kB / 1.368 GB, free: 9.133 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001315/0.5309, allocations: 0.7309 MB / 1.369 GB, free: 8.398 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 1.051e-05/0.5309, allocations: 4 kB / 1.369 GB, free: 8.395 MB / 1.061 GB Notification: Performance of FrontEnd: time 3.126e-06/0.5309, allocations: 3.938 kB / 1.369 GB, free: 8.391 MB / 1.061 GB Notification: Performance of Transformations before backend: time 3.899e-05/0.5309, allocations: 0 / 1.369 GB, free: 8.391 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.002227/0.5332, allocations: 0.9148 MB / 1.37 GB, free: 7.438 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.63e-05/0.5332, allocations: 12.03 kB / 1.37 GB, free: 7.426 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007046/0.5339, allocations: 120.3 kB / 1.37 GB, free: 7.309 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001331/0.5352, allocations: 0.5455 MB / 1.37 GB, free: 6.734 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.499e-05/0.5353, allocations: 12.38 kB / 1.37 GB, free: 6.723 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.088e-05/0.5353, allocations: 12.38 kB / 1.37 GB, free: 6.711 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004619/0.5358, allocations: 194.6 kB / 1.371 GB, free: 6.516 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.5358, allocations: 192 / 1.371 GB, free: 6.516 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.294e-05/0.5358, allocations: 7.938 kB / 1.371 GB, free: 6.508 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.585e-05/0.5358, allocations: 4 kB / 1.371 GB, free: 6.504 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005094/0.5363, allocations: 235.9 kB / 1.371 GB, free: 6.273 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001511/0.5378, allocations: 0.7849 MB / 1.372 GB, free: 5.457 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000774/0.5386, allocations: 314.5 kB / 1.372 GB, free: 5.141 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002257/0.5388, allocations: 104.8 kB / 1.372 GB, free: 5.035 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008085/0.5396, allocations: 159.9 kB / 1.372 GB, free: 4.879 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.348e-05/0.5397, allocations: 34.5 kB / 1.372 GB, free: 4.836 MB / 1.061 GB Notification: Performance of pre-optimization done (n=9): time 1.673e-06/0.5397, allocations: 0 / 1.372 GB, free: 4.836 MB / 1.061 GB Notification: Performance of matching and sorting (n=9): time 0.0009359/0.5406, allocations: 409 kB / 1.373 GB, free: 4.43 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.338e-05/0.5407, allocations: 51.41 kB / 1.373 GB, free: 4.367 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001627/0.5423, allocations: 1.001 MB / 1.374 GB, free: 3.359 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.908e-05/0.5423, allocations: 25.7 kB / 1.374 GB, free: 3.328 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003484/0.5427, allocations: 348.2 kB / 1.374 GB, free: 2.98 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.8e-05/0.5427, allocations: 31.73 kB / 1.374 GB, free: 2.949 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.856e-05/0.5428, allocations: 25.7 kB / 1.374 GB, free: 2.918 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001562/0.5429, allocations: 310 kB / 1.374 GB, free: 2.609 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002151/0.5432, allocations: 99.94 kB / 1.374 GB, free: 2.512 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002361/0.5434, allocations: 118.5 kB / 1.375 GB, free: 2.387 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004405/0.5438, allocations: 222.8 kB / 1.375 GB, free: 2.16 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.5438, allocations: 3.938 kB / 1.375 GB, free: 2.156 MB / 1.061 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0006694/0.5445, allocations: 325 kB / 1.375 GB, free: 1.832 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.478e-05/0.5445, allocations: 7.938 kB / 1.375 GB, free: 1.824 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/0.5445, allocations: 0 / 1.375 GB, free: 1.824 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.309e-05/0.5446, allocations: 0 / 1.375 GB, free: 1.824 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001706/0.5447, allocations: 23.98 kB / 1.375 GB, free: 1.801 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/0.5447, allocations: 0 / 1.375 GB, free: 1.801 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002239/0.545, allocations: 31.88 kB / 1.375 GB, free: 1.77 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.852e-05/0.545, allocations: 4 kB / 1.375 GB, free: 1.766 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.0003398/0.5453, allocations: 241.8 kB / 1.375 GB, free: 1.52 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001419/0.5455, allocations: 83.41 kB / 1.375 GB, free: 1.438 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007348/0.5462, allocations: 328.5 kB / 1.376 GB, free: 1.109 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.479e-06/0.5462, allocations: 3.938 kB / 1.376 GB, free: 1.105 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/0.5462, allocations: 0 / 1.376 GB, free: 1.105 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.5462, allocations: 4 kB / 1.376 GB, free: 1.102 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006094/0.5468, allocations: 425 kB / 1.376 GB, free: 0.6562 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.5468, allocations: 0 / 1.376 GB, free: 0.6562 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001549/0.547, allocations: 23.97 kB / 1.376 GB, free: 0.6328 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.659e-06/0.547, allocations: 0 / 1.376 GB, free: 0.6328 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.72e-05/0.547, allocations: 3.938 kB / 1.376 GB, free: 0.6289 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.754e-06/0.547, allocations: 7.984 kB / 1.376 GB, free: 0.6211 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.547, allocations: 0 / 1.376 GB, free: 0.6211 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006923/0.5477, allocations: 415 kB / 1.377 GB, free: 204 kB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002916/0.548, allocations: 107.4 kB / 1.377 GB, free: 96 kB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.293e-05/0.5481, allocations: 11.94 kB / 1.377 GB, free: 84 kB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001761/0.5482, allocations: 4 kB / 1.377 GB, free: 80 kB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.606e-05/0.5483, allocations: 3.984 kB / 1.377 GB, free: 76 kB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.029e-05/0.5483, allocations: 4 kB / 1.377 GB, free: 72 kB / 1.061 GB Notification: Performance of sorting global known variables: time 0.00134/0.5496, allocations: 0.7215 MB / 1.377 GB, free: 15.35 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5496, allocations: 3.938 kB / 1.377 GB, free: 15.35 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0004335/0.5501, allocations: 71.89 kB / 1.378 GB, free: 15.28 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (9): * Single equations (assignments): 9 * 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.0002671/0.5503, allocations: 107.2 kB / 1.378 GB, free: 15.16 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0005517/0.5509, allocations: 207.8 kB / 1.378 GB, free: 14.96 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.125e-06/0.5509, allocations: 0 / 1.378 GB, free: 14.96 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0002405/0.5511, allocations: 112 kB / 1.378 GB, free: 14.85 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004777/0.5516, allocations: 47.31 kB / 1.378 GB, free: 14.8 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002252/0.5539, allocations: 1.189 MB / 1.379 GB, free: 13.58 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000475/0.5543, allocations: 345.4 kB / 1.379 GB, free: 13.22 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0002378/0.5546, allocations: 81.31 kB / 1.38 GB, free: 13.14 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001018/0.5547, allocations: 39.42 kB / 1.38 GB, free: 13.11 MB / 1.076 GB Notification: Performance of SimCode: time 8.21e-07/0.5547, allocations: 0 / 1.38 GB, free: 13.11 MB / 1.076 GB Notification: Performance of Templates: time 0.01398/0.5687, allocations: 5.103 MB / 1.385 GB, free: 8.031 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.sim & ./Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.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.99920348264277]