Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.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.001721/0.001721, 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.001963/0.001963, allocations: 215.6 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.458/1.458, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.735/2.735, allocations: 476 MB / 0.7707 GB, free: 4.703 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.EnergyConversionWarmUp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|opeModWarUpEngTem.PEleNet|opeModWarUpEngTem.TWatIn|opeModWarUpEngTem.TRoo|opeModWarUpEngTem.TEng|opeModWarUpEngTem.QGen_flow|opeModWarUpEngTem.mFue_flow|opeModWarUpEngTem.mAir_flow",fileNamePrefix="Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|opeModWarUpEngTem.PEleNet|opeModWarUpEngTem.TWatIn|opeModWarUpEngTem.TRoo|opeModWarUpEngTem.TEng|opeModWarUpEngTem.QGen_flow|opeModWarUpEngTem.mFue_flow|opeModWarUpEngTem.mAir_flow",fileNamePrefix="Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp") [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.002113/0.002113, allocations: 70.78 kB / 1.118 GB, free: 41.13 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3723/0.3744, allocations: 169.9 MB / 1.284 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp): time 0.005129/0.3795, allocations: 2.565 MB / 1.286 GB, free: 9.246 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002268/0.3818, allocations: 1.018 MB / 1.287 GB, free: 8.227 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003667/0.3822, allocations: 4 kB / 1.287 GB, free: 8.223 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0007684/0.3829, allocations: 198.6 kB / 1.287 GB, free: 8.027 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0003564/0.3833, allocations: 91.25 kB / 1.288 GB, free: 7.938 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006453/0.3839, allocations: 183.7 kB / 1.288 GB, free: 7.758 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0006585/0.3846, allocations: 403.8 kB / 1.288 GB, free: 7.363 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003594/0.385, allocations: 150.3 kB / 1.288 GB, free: 7.207 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002628/0.3852, allocations: 155.2 kB / 1.288 GB, free: 7.055 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002575/0.3855, allocations: 155 kB / 1.289 GB, free: 6.902 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 9.498e-05/0.3856, allocations: 40 kB / 1.289 GB, free: 6.863 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003968/0.386, allocations: 175.8 kB / 1.289 GB, free: 6.691 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002803/0.3863, allocations: 259.2 kB / 1.289 GB, free: 6.438 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0003228/0.3866, allocations: 258.2 kB / 1.289 GB, free: 6.184 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001229/0.3878, allocations: 0.9837 MB / 1.29 GB, free: 5.195 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.3878, allocations: 0 / 1.29 GB, free: 5.195 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.984e-06/0.3878, allocations: 0 / 1.29 GB, free: 5.195 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.08e-05/0.3878, allocations: 3.938 kB / 1.29 GB, free: 5.191 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: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.001706/0.3895, allocations: 1.086 MB / 1.291 GB, free: 4.066 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.294e-05/0.3896, allocations: 12.03 kB / 1.291 GB, free: 4.055 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001275/0.3908, allocations: 240 kB / 1.292 GB, free: 3.82 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001467/0.3923, allocations: 0.6671 MB / 1.292 GB, free: 3.113 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.223e-05/0.3923, allocations: 25.03 kB / 1.292 GB, free: 3.09 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.728e-05/0.3924, allocations: 32.38 kB / 1.292 GB, free: 3.059 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008989/0.3933, allocations: 404.2 kB / 1.293 GB, free: 2.648 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.576e-05/0.3933, allocations: 3.938 kB / 1.293 GB, free: 2.645 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.386e-05/0.3933, allocations: 15.94 kB / 1.293 GB, free: 2.629 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.168e-05/0.3934, allocations: 8 kB / 1.293 GB, free: 2.621 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001025/0.3944, allocations: 418.4 kB / 1.293 GB, free: 2.215 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003203/0.3976, allocations: 1.413 MB / 1.294 GB, free: 0.7695 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006645/0.3982, allocations: 202.6 kB / 1.295 GB, free: 0.5625 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003053/0.3986, allocations: 102.3 kB / 1.295 GB, free: 472 kB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.279e-05/0.3986, allocations: 12 kB / 1.295 GB, free: 460 kB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.042e-05/0.3986, allocations: 30.56 kB / 1.295 GB, free: 420 kB / 0.9825 GB Notification: Performance of pre-optimization done (n=20): time 2.034e-06/0.3986, allocations: 0 / 1.295 GB, free: 420 kB / 0.9825 GB Notification: Performance of matching and sorting (n=20): time 0.001087/0.3997, allocations: 379.1 kB / 1.295 GB, free: 36 kB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.625e-05/0.3998, allocations: 59.34 kB / 1.295 GB, free: 15.96 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001538/0.4013, allocations: 1.222 MB / 1.296 GB, free: 14.72 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.539e-05/0.4014, allocations: 29.7 kB / 1.296 GB, free: 14.68 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004147/0.4018, allocations: 428.3 kB / 1.297 GB, free: 14.26 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 7.333e-05/0.4018, allocations: 67.73 kB / 1.297 GB, free: 14.19 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001048/0.4019, allocations: 57.69 kB / 1.297 GB, free: 14.13 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001492/0.4021, allocations: 318 kB / 1.297 GB, free: 13.81 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000361/0.4025, allocations: 143.9 kB / 1.297 GB, free: 13.67 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004138/0.4029, allocations: 224.9 kB / 1.298 GB, free: 13.43 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006704/0.4035, allocations: 291.2 kB / 1.298 GB, free: 13.12 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.796e-06/0.4035, allocations: 0 / 1.298 GB, free: 13.12 MB / 0.9981 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009585/0.4045, allocations: 460.7 kB / 1.298 GB, free: 12.67 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.4045, allocations: 4 kB / 1.298 GB, free: 12.66 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.4045, allocations: 4 kB / 1.298 GB, free: 12.66 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.085e-05/0.4045, allocations: 7.922 kB / 1.298 GB, free: 12.65 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003349/0.4049, allocations: 68 kB / 1.298 GB, free: 12.59 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.307e-06/0.4049, allocations: 4 kB / 1.298 GB, free: 12.58 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002628/0.4052, allocations: 31.81 kB / 1.298 GB, free: 12.55 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.331e-05/0.4052, allocations: 7.984 kB / 1.298 GB, free: 12.54 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 2 (opeModWarUpEngTem.temChe.y,$PRE.opeModWarUpEngTem.temChe.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 29 * 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.0003372/0.4055, allocations: 269.7 kB / 1.299 GB, free: 12.27 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001123/0.4056, allocations: 91.39 kB / 1.299 GB, free: 12.18 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008567/0.4065, allocations: 317.5 kB / 1.299 GB, free: 11.86 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.4065, allocations: 7.938 kB / 1.299 GB, free: 11.86 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.4065, allocations: 0 / 1.299 GB, free: 11.86 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/0.4065, allocations: 4 kB / 1.299 GB, free: 11.85 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001711/0.4082, allocations: 0.8494 MB / 1.3 GB, free: 10.95 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.482e-06/0.4082, allocations: 4 kB / 1.3 GB, free: 10.94 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002566/0.4085, allocations: 43.91 kB / 1.3 GB, free: 10.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.182e-06/0.4085, allocations: 8.188 kB / 1.3 GB, free: 10.89 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.635e-05/0.4085, allocations: 11.98 kB / 1.3 GB, free: 10.88 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.108e-06/0.4085, allocations: 4 kB / 1.3 GB, free: 10.88 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.4085, allocations: 0 / 1.3 GB, free: 10.88 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008216/0.4093, allocations: 443.9 kB / 1.3 GB, free: 10.41 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002908/0.4096, allocations: 127.4 kB / 1.301 GB, free: 10.28 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.503e-05/0.4097, allocations: 4 kB / 1.301 GB, free: 10.28 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002698/0.41, allocations: 19.98 kB / 1.301 GB, free: 10.26 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.749e-05/0.41, allocations: 19.97 kB / 1.301 GB, free: 10.24 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.709e-05/0.41, allocations: 11.94 kB / 1.301 GB, free: 10.23 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001158/0.4112, allocations: 0.8864 MB / 1.301 GB, free: 9.328 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1e-07/0.4112, allocations: 0 / 1.301 GB, free: 9.328 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004534/0.4117, allocations: 111.7 kB / 1.302 GB, free: 9.219 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 1 (opeModWarUpEngTem.temChe.y) * Number of discrete states: 1 (opeModWarUpEngTem.temChe.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * 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.0002571/0.4119, allocations: 115.1 kB / 1.302 GB, free: 9.098 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0007656/0.4127, allocations: 270.8 kB / 1.302 GB, free: 8.836 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.4127, allocations: 0 / 1.302 GB, free: 8.836 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003125/0.413, allocations: 108.3 kB / 1.302 GB, free: 8.73 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004975/0.4135, allocations: 55.39 kB / 1.302 GB, free: 8.672 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002603/0.4161, allocations: 1.451 MB / 1.304 GB, free: 7.164 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004788/0.4166, allocations: 412.2 kB / 1.304 GB, free: 6.738 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001619/0.4167, allocations: 47.42 kB / 1.304 GB, free: 6.691 MB / 0.9981 GB Notification: Performance of SimCode: time 5.31e-07/0.4167, allocations: 0 / 1.304 GB, free: 6.691 MB / 0.9981 GB Notification: Performance of Templates: time 0.01499/0.4317, allocations: 9.237 MB / 1.313 GB, free: 13.47 MB / 1.014 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe ; mkfifo Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe >> ../files/Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.sim & ./Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.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.60490368399769]