Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001992/0.001992, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.00243/0.00243, allocations: 214.1 kB / 22.99 MB, free: 4.945 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.488/1.488, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.782/2.782, allocations: 476 MB / 0.7707 GB, free: 4.766 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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_11_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_11_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.002134/0.002134, allocations: 64.36 kB / 1.118 GB, free: 41.01 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3851/0.3872, allocations: 170 MB / 1.284 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.004458/0.3917, allocations: 2.176 MB / 1.286 GB, free: 9.699 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001867/0.3935, allocations: 0.8738 MB / 1.287 GB, free: 8.824 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002093/0.3937, allocations: 0 / 1.287 GB, free: 8.824 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0006969/0.3944, allocations: 174.9 kB / 1.287 GB, free: 8.652 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002417/0.3947, allocations: 75.48 kB / 1.287 GB, free: 8.578 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004756/0.3952, allocations: 115.7 kB / 1.287 GB, free: 8.465 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003736/0.3955, allocations: 223 kB / 1.287 GB, free: 8.246 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001928/0.3957, allocations: 61.98 kB / 1.287 GB, free: 8.188 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001658/0.3959, allocations: 87.58 kB / 1.287 GB, free: 8.102 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001526/0.396, allocations: 95.36 kB / 1.288 GB, free: 8.008 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.43e-05/0.3961, allocations: 20 kB / 1.288 GB, free: 7.988 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003529/0.3964, allocations: 139.8 kB / 1.288 GB, free: 7.852 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002249/0.3967, allocations: 223.2 kB / 1.288 GB, free: 7.633 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.000213/0.3969, allocations: 190.5 kB / 1.288 GB, free: 7.445 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0009121/0.3978, allocations: 0.7387 MB / 1.289 GB, free: 6.703 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.3978, allocations: 3.938 kB / 1.289 GB, free: 6.699 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.343e-06/0.3978, allocations: 0 / 1.289 GB, free: 6.699 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.856e-05/0.3978, allocations: 0 / 1.289 GB, free: 6.699 MB / 0.9825 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.001493/0.3993, allocations: 0.9226 MB / 1.29 GB, free: 5.738 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.682e-05/0.3994, allocations: 8.031 kB / 1.29 GB, free: 5.73 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005302/0.3999, allocations: 124.3 kB / 1.29 GB, free: 5.609 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008328/0.4007, allocations: 0.5378 MB / 1.29 GB, free: 5.043 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.075e-05/0.4007, allocations: 16.31 kB / 1.29 GB, free: 5.027 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.396e-05/0.4008, allocations: 12.31 kB / 1.29 GB, free: 5.016 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003987/0.4012, allocations: 199.4 kB / 1.291 GB, free: 4.816 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.4012, allocations: 192 / 1.291 GB, free: 4.816 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.861e-05/0.4012, allocations: 7.938 kB / 1.291 GB, free: 4.809 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.441e-06/0.4012, allocations: 4 kB / 1.291 GB, free: 4.805 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004537/0.4016, allocations: 223.9 kB / 1.291 GB, free: 4.586 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001171/0.4028, allocations: 0.7888 MB / 1.292 GB, free: 3.766 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006789/0.4035, allocations: 306.4 kB / 1.292 GB, free: 3.457 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000222/0.4037, allocations: 109 kB / 1.292 GB, free: 3.348 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007099/0.4044, allocations: 159.8 kB / 1.292 GB, free: 3.191 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.946e-05/0.4045, allocations: 38.5 kB / 1.292 GB, free: 3.145 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=9): time 1.192e-06/0.4045, allocations: 0 / 1.292 GB, free: 3.145 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9): time 0.0008298/0.4053, allocations: 405 kB / 1.293 GB, free: 2.742 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.339e-05/0.4053, allocations: 55.39 kB / 1.293 GB, free: 2.676 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00122/0.4066, allocations: 1.005 MB / 1.294 GB, free: 1.664 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.093e-05/0.4066, allocations: 25.7 kB / 1.294 GB, free: 1.633 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003285/0.4069, allocations: 344.1 kB / 1.294 GB, free: 1.289 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.129e-05/0.4069, allocations: 35.69 kB / 1.294 GB, free: 1.254 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.827e-05/0.407, allocations: 29.7 kB / 1.294 GB, free: 1.219 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001481/0.4071, allocations: 310 kB / 1.294 GB, free: 0.9102 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002047/0.4073, allocations: 95.95 kB / 1.294 GB, free: 0.8164 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002302/0.4076, allocations: 118.5 kB / 1.295 GB, free: 0.6914 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000413/0.408, allocations: 222.8 kB / 1.295 GB, free: 476 kB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.408, allocations: 0 / 1.295 GB, free: 476 kB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005591/0.4085, allocations: 325 kB / 1.295 GB, free: 144 kB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/0.4086, allocations: 7.938 kB / 1.295 GB, free: 136 kB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/0.4086, allocations: 4 kB / 1.295 GB, free: 132 kB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.843e-05/0.4086, allocations: 0 / 1.295 GB, free: 132 kB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001681/0.4088, allocations: 31.91 kB / 1.295 GB, free: 100 kB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.416e-06/0.4088, allocations: 3.984 kB / 1.295 GB, free: 96 kB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001493/0.4089, allocations: 8 kB / 1.295 GB, free: 88 kB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.403e-05/0.4089, allocations: 4 kB / 1.295 GB, free: 84 kB / 0.9825 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.0002725/0.4092, allocations: 249.8 kB / 1.295 GB, free: 15.83 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001007/0.4093, allocations: 79.42 kB / 1.295 GB, free: 15.75 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006234/0.4099, allocations: 328.4 kB / 1.296 GB, free: 15.42 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.52e-06/0.4099, allocations: 4 kB / 1.296 GB, free: 15.41 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.4099, allocations: 0 / 1.296 GB, free: 15.41 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.4099, allocations: 0 / 1.296 GB, free: 15.41 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004995/0.4104, allocations: 428.9 kB / 1.296 GB, free: 14.96 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.4104, allocations: 0 / 1.296 GB, free: 14.96 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001484/0.4106, allocations: 31.86 kB / 1.296 GB, free: 14.93 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.4106, allocations: 0 / 1.296 GB, free: 14.93 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.538e-05/0.4106, allocations: 11.94 kB / 1.296 GB, free: 14.92 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.4106, allocations: 3.984 kB / 1.296 GB, free: 14.92 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.4106, allocations: 0 / 1.296 GB, free: 14.92 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005767/0.4112, allocations: 402.9 kB / 1.297 GB, free: 14.51 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002387/0.4114, allocations: 111.4 kB / 1.297 GB, free: 14.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.338e-05/0.4115, allocations: 8.219 kB / 1.297 GB, free: 14.39 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001658/0.4117, allocations: 7.984 kB / 1.297 GB, free: 14.38 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.657e-05/0.4117, allocations: 7.984 kB / 1.297 GB, free: 14.38 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.564e-06/0.4117, allocations: 3.938 kB / 1.297 GB, free: 14.37 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0008701/0.4126, allocations: 0.7215 MB / 1.297 GB, free: 13.65 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.4126, allocations: 0 / 1.297 GB, free: 13.65 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003464/0.4129, allocations: 67.92 kB / 1.297 GB, free: 13.59 MB / 0.9981 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.0002136/0.4131, allocations: 111.2 kB / 1.298 GB, free: 13.46 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004917/0.4136, allocations: 211.8 kB / 1.298 GB, free: 13.26 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.4136, allocations: 0 / 1.298 GB, free: 13.26 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002122/0.4138, allocations: 108 kB / 1.298 GB, free: 13.15 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004139/0.4143, allocations: 51.52 kB / 1.298 GB, free: 13.11 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001866/0.4161, allocations: 1.241 MB / 1.299 GB, free: 11.83 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003859/0.4165, allocations: 342.2 kB / 1.299 GB, free: 11.47 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001097/0.4166, allocations: 39.42 kB / 1.3 GB, free: 11.43 MB / 0.9981 GB Notification: Performance of SimCode: time 6.61e-07/0.4166, allocations: 4 kB / 1.3 GB, free: 11.43 MB / 0.9981 GB Notification: Performance of Templates: time 0.01154/0.4282, allocations: 7.504 MB / 1.307 GB, free: 3.945 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; mkfifo Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe >> ../files/Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.sim & ./Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.665074496064335]