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.001627/0.001627, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001758/0.001758, allocations: 215.2 kB / 23.01 MB, free: 4.609 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.445/1.445, allocations: 230.6 MB / 256.8 MB, free: 8.059 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.234/3.234, allocations: 0.505 GB / 0.8108 GB, free: 22.03 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.00208/0.00208, allocations: 76.72 kB / 1.178 GB, free: 16.89 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3567/0.3588, allocations: 180.2 MB / 1.354 GB, free: 7.953 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.003925/0.3627, allocations: 2.297 MB / 1.356 GB, free: 5.648 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001527/0.3643, allocations: 0.9594 MB / 1.357 GB, free: 4.688 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001042/0.3644, allocations: 3.938 kB / 1.357 GB, free: 4.684 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0005739/0.3649, allocations: 194.9 kB / 1.357 GB, free: 4.492 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001364/0.3651, allocations: 79.42 kB / 1.358 GB, free: 4.414 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004042/0.3655, allocations: 111.7 kB / 1.358 GB, free: 4.305 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0002915/0.3658, allocations: 223 kB / 1.358 GB, free: 4.086 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001808/0.3659, allocations: 69.97 kB / 1.358 GB, free: 4.02 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001181/0.3661, allocations: 91.52 kB / 1.358 GB, free: 3.93 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001315/0.3662, allocations: 99.44 kB / 1.358 GB, free: 3.832 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.367e-05/0.3662, allocations: 16 kB / 1.358 GB, free: 3.816 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003001/0.3665, allocations: 155.8 kB / 1.358 GB, free: 3.664 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0002048/0.3667, allocations: 219.3 kB / 1.358 GB, free: 3.449 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0002158/0.3669, allocations: 258.1 kB / 1.359 GB, free: 3.195 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0007802/0.3677, allocations: 0.723 MB / 1.359 GB, free: 2.469 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.3677, allocations: 0 / 1.359 GB, free: 2.469 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.563e-06/0.3677, allocations: 0 / 1.359 GB, free: 2.469 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.013e-05/0.3677, allocations: 0 / 1.359 GB, free: 2.469 MB / 1.045 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.001278/0.369, allocations: 0.9363 MB / 1.36 GB, free: 1.496 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/0.3691, allocations: 8.031 kB / 1.36 GB, free: 1.488 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000562/0.3696, allocations: 120.3 kB / 1.36 GB, free: 1.371 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008024/0.3704, allocations: 0.5416 MB / 1.361 GB, free: 0.8008 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.859e-05/0.3704, allocations: 12.38 kB / 1.361 GB, free: 0.7891 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.472e-05/0.3705, allocations: 12.38 kB / 1.361 GB, free: 0.7773 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000398/0.3709, allocations: 198.1 kB / 1.361 GB, free: 0.5781 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.3709, allocations: 192 / 1.361 GB, free: 0.5781 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.383e-05/0.3709, allocations: 7.938 kB / 1.361 GB, free: 0.5703 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.794e-06/0.3709, allocations: 4 kB / 1.361 GB, free: 0.5664 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004573/0.3714, allocations: 227.8 kB / 1.361 GB, free: 352 kB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001279/0.3726, allocations: 0.8779 MB / 1.362 GB, free: 15.42 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006707/0.3733, allocations: 314.6 kB / 1.363 GB, free: 15.11 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002214/0.3735, allocations: 104.7 kB / 1.363 GB, free: 15 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006722/0.3742, allocations: 167.9 kB / 1.363 GB, free: 14.84 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.913e-05/0.3742, allocations: 34.56 kB / 1.363 GB, free: 14.79 MB / 1.061 GB Notification: Performance of pre-optimization done (n=9): time 1.854e-06/0.3742, allocations: 3.938 kB / 1.363 GB, free: 14.79 MB / 1.061 GB Notification: Performance of matching and sorting (n=9): time 0.0008395/0.3751, allocations: 413.2 kB / 1.363 GB, free: 14.38 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.537e-05/0.3751, allocations: 51.41 kB / 1.363 GB, free: 14.32 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001202/0.3763, allocations: 0.9935 MB / 1.364 GB, free: 13.31 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.81e-05/0.3764, allocations: 29.8 kB / 1.364 GB, free: 13.28 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003145/0.3767, allocations: 348 kB / 1.365 GB, free: 12.93 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.855e-05/0.3767, allocations: 27.75 kB / 1.365 GB, free: 12.9 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.787e-05/0.3768, allocations: 29.7 kB / 1.365 GB, free: 12.87 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001332/0.3769, allocations: 314 kB / 1.365 GB, free: 12.55 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002069/0.3771, allocations: 95.94 kB / 1.365 GB, free: 12.46 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002176/0.3773, allocations: 118.5 kB / 1.365 GB, free: 12.34 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004152/0.3777, allocations: 222.4 kB / 1.365 GB, free: 12.11 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.3777, allocations: 0 / 1.365 GB, free: 12.11 MB / 1.061 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005624/0.3783, allocations: 328.9 kB / 1.366 GB, free: 11.78 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.3783, allocations: 4 kB / 1.366 GB, free: 11.78 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.261e-06/0.3783, allocations: 0 / 1.366 GB, free: 11.78 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.3783, allocations: 4 kB / 1.366 GB, free: 11.77 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001759/0.3785, allocations: 28.05 kB / 1.366 GB, free: 11.75 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.3785, allocations: 0 / 1.366 GB, free: 11.75 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001576/0.3787, allocations: 15.92 kB / 1.366 GB, free: 11.73 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.411e-05/0.3787, allocations: 4 kB / 1.366 GB, free: 11.73 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.00027/0.379, allocations: 254.3 kB / 1.366 GB, free: 11.47 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.844e-05/0.3791, allocations: 79.42 kB / 1.366 GB, free: 11.39 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006273/0.3797, allocations: 328.5 kB / 1.366 GB, free: 11.06 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.928e-06/0.3797, allocations: 0 / 1.366 GB, free: 11.06 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.3797, allocations: 4.188 kB / 1.366 GB, free: 11.05 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.3797, allocations: 0 / 1.366 GB, free: 11.05 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005728/0.3803, allocations: 0.5156 MB / 1.367 GB, free: 10.5 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.3803, allocations: 4 kB / 1.367 GB, free: 10.49 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001488/0.3804, allocations: 19.98 kB / 1.367 GB, free: 10.47 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.3804, allocations: 0 / 1.367 GB, free: 10.47 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.168e-05/0.3804, allocations: 0 / 1.367 GB, free: 10.47 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.3804, allocations: 4 kB / 1.367 GB, free: 10.47 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3804, allocations: 0 / 1.367 GB, free: 10.47 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005654/0.381, allocations: 410.8 kB / 1.367 GB, free: 10.05 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002315/0.3812, allocations: 111.4 kB / 1.367 GB, free: 9.941 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.187e-05/0.3813, allocations: 8 kB / 1.367 GB, free: 9.934 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001725/0.3815, allocations: 7.984 kB / 1.367 GB, free: 9.926 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.144e-05/0.3815, allocations: 7.984 kB / 1.367 GB, free: 9.918 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.066e-05/0.3815, allocations: 4 kB / 1.367 GB, free: 9.914 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0008982/0.3824, allocations: 0.7215 MB / 1.368 GB, free: 9.195 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.3824, allocations: 0 / 1.368 GB, free: 9.195 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000366/0.3828, allocations: 63.89 kB / 1.368 GB, free: 9.133 MB / 1.061 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.0002435/0.383, allocations: 115.2 kB / 1.368 GB, free: 9.008 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0005458/0.3836, allocations: 211.8 kB / 1.369 GB, free: 8.801 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.3836, allocations: 0 / 1.369 GB, free: 8.801 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002163/0.3838, allocations: 104.1 kB / 1.369 GB, free: 8.699 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004939/0.3843, allocations: 55.7 kB / 1.369 GB, free: 8.648 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002281/0.3866, allocations: 1.245 MB / 1.37 GB, free: 7.371 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006535/0.3872, allocations: 0.9373 MB / 1.371 GB, free: 6.41 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001461/0.3874, allocations: 47.42 kB / 1.371 GB, free: 6.363 MB / 1.061 GB Notification: Performance of SimCode: time 1.382e-06/0.3874, allocations: 0 / 1.371 GB, free: 6.363 MB / 1.061 GB Notification: Performance of Templates: time 0.01314/0.4005, allocations: 7.226 MB / 1.378 GB, free: 15.13 MB / 1.076 GB " [Timeout remaining time 300] 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/jenkins1/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: 11.6856526589836]