Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001854/0.001854, allocations: 110.2 kB / 19.69 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.002251/0.002251, allocations: 215.2 kB / 23.01 MB, free: 4.566 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.459/1.459, allocations: 230.6 MB / 256.8 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.125/3.125, allocations: 0.49 GB / 0.7958 GB, free: 33.46 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_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.002058/0.002058, allocations: 65.81 kB / 1.155 GB, free: 25.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3793/0.3814, allocations: 176.1 MB / 1.327 GB, free: 1.422 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp): time 0.004808/0.3862, allocations: 2.78 MB / 1.33 GB, free: 14.63 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002105/0.3883, allocations: 1.107 MB / 1.331 GB, free: 13.52 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002033/0.3885, allocations: 4 kB / 1.331 GB, free: 13.52 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0006851/0.3892, allocations: 222.5 kB / 1.331 GB, free: 13.3 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001987/0.3894, allocations: 99.17 kB / 1.331 GB, free: 13.2 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005284/0.3899, allocations: 179.6 kB / 1.331 GB, free: 13.03 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004771/0.3904, allocations: 399.8 kB / 1.332 GB, free: 12.63 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000341/0.3907, allocations: 158.3 kB / 1.332 GB, free: 12.47 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001843/0.3909, allocations: 159.3 kB / 1.332 GB, free: 12.31 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002362/0.3912, allocations: 183 kB / 1.332 GB, free: 12.13 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 6.232e-05/0.3912, allocations: 44 kB / 1.332 GB, free: 12.09 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003602/0.3916, allocations: 179.8 kB / 1.332 GB, free: 11.91 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0002519/0.3918, allocations: 267.1 kB / 1.333 GB, free: 11.65 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0003179/0.3922, allocations: 349.6 kB / 1.333 GB, free: 11.31 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001088/0.3932, allocations: 0.9721 MB / 1.334 GB, free: 10.33 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.3933, allocations: 0 / 1.334 GB, free: 10.33 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.863e-06/0.3933, allocations: 0 / 1.334 GB, free: 10.33 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.214e-05/0.3933, allocations: 0 / 1.334 GB, free: 10.33 MB / 1.029 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.001653/0.3949, allocations: 1.09 MB / 1.335 GB, free: 9.199 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.836e-05/0.395, allocations: 8.031 kB / 1.335 GB, free: 9.191 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001313/0.3963, allocations: 240 kB / 1.335 GB, free: 8.957 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001424/0.3977, allocations: 0.6749 MB / 1.336 GB, free: 8.242 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.029e-05/0.3977, allocations: 25.03 kB / 1.336 GB, free: 8.219 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001252/0.3979, allocations: 28.38 kB / 1.336 GB, free: 8.191 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008338/0.3987, allocations: 382.5 kB / 1.336 GB, free: 7.812 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.474e-05/0.3987, allocations: 3.938 kB / 1.336 GB, free: 7.809 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.353e-05/0.3987, allocations: 12 kB / 1.336 GB, free: 7.797 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.849e-06/0.3988, allocations: 7.938 kB / 1.336 GB, free: 7.789 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009951/0.3997, allocations: 422.4 kB / 1.337 GB, free: 7.375 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003326/0.4031, allocations: 1.587 MB / 1.338 GB, free: 5.738 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000678/0.4037, allocations: 208 kB / 1.339 GB, free: 5.527 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003064/0.4041, allocations: 88.81 kB / 1.339 GB, free: 5.438 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.054e-05/0.4041, allocations: 7.984 kB / 1.339 GB, free: 5.43 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.291e-05/0.4041, allocations: 42.56 kB / 1.339 GB, free: 5.379 MB / 1.029 GB Notification: Performance of pre-optimization done (n=20): time 3.477e-06/0.4041, allocations: 3.984 kB / 1.339 GB, free: 5.375 MB / 1.029 GB Notification: Performance of matching and sorting (n=20): time 0.001168/0.4053, allocations: 378.4 kB / 1.339 GB, free: 5 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.14e-05/0.4054, allocations: 51.41 kB / 1.339 GB, free: 4.938 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001667/0.407, allocations: 1.247 MB / 1.34 GB, free: 3.668 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.305e-05/0.4071, allocations: 33.64 kB / 1.34 GB, free: 3.629 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004181/0.4075, allocations: 436.5 kB / 1.341 GB, free: 3.199 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 7.77e-05/0.4076, allocations: 79.62 kB / 1.341 GB, free: 3.121 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001018/0.4077, allocations: 53.69 kB / 1.341 GB, free: 3.062 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001425/0.4078, allocations: 310 kB / 1.341 GB, free: 2.754 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003532/0.4082, allocations: 143.9 kB / 1.341 GB, free: 2.613 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004062/0.4086, allocations: 197.9 kB / 1.342 GB, free: 2.398 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006803/0.4093, allocations: 288 kB / 1.342 GB, free: 2.102 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.4093, allocations: 0 / 1.342 GB, free: 2.102 MB / 1.029 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009732/0.4102, allocations: 472.7 kB / 1.342 GB, free: 1.633 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.552e-05/0.4103, allocations: 4 kB / 1.342 GB, free: 1.629 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.347e-06/0.4103, allocations: 4 kB / 1.342 GB, free: 1.625 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.004e-05/0.4103, allocations: 3.938 kB / 1.342 GB, free: 1.621 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003484/0.4106, allocations: 64.05 kB / 1.342 GB, free: 1.559 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/0.4106, allocations: 0 / 1.342 GB, free: 1.559 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002842/0.4109, allocations: 35.83 kB / 1.342 GB, free: 1.523 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.377e-05/0.4109, allocations: 12 kB / 1.342 GB, free: 1.512 MB / 1.029 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.0003433/0.4113, allocations: 282.1 kB / 1.343 GB, free: 1.227 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001146/0.4114, allocations: 91.39 kB / 1.343 GB, free: 1.137 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008753/0.4123, allocations: 329.6 kB / 1.343 GB, free: 0.8047 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.294e-06/0.4123, allocations: 4 kB / 1.343 GB, free: 0.8008 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.4123, allocations: 0 / 1.343 GB, free: 0.8008 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.4123, allocations: 0 / 1.343 GB, free: 0.8008 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001921/0.4142, allocations: 0.9638 MB / 1.344 GB, free: 15.77 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.4142, allocations: 8.188 kB / 1.344 GB, free: 15.76 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002812/0.4145, allocations: 43.91 kB / 1.344 GB, free: 15.71 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.891e-06/0.4145, allocations: 4 kB / 1.344 GB, free: 15.71 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.549e-05/0.4145, allocations: 11.98 kB / 1.344 GB, free: 15.7 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.4145, allocations: 0 / 1.344 GB, free: 15.7 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.205e-06/0.4145, allocations: 7.938 kB / 1.344 GB, free: 15.69 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000825/0.4154, allocations: 441.5 kB / 1.344 GB, free: 15.23 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002696/0.4156, allocations: 135.3 kB / 1.345 GB, free: 15.09 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.902e-05/0.4157, allocations: 8 kB / 1.345 GB, free: 15.09 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002792/0.416, allocations: 15.98 kB / 1.345 GB, free: 15.07 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.289e-05/0.416, allocations: 27.84 kB / 1.345 GB, free: 15.04 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.684e-05/0.4161, allocations: 7.938 kB / 1.345 GB, free: 15.04 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.001227/0.4173, allocations: 0.9067 MB / 1.346 GB, free: 14.12 MB / 1.045 GB Notification: Performance of sort global known variables: time 9e-08/0.4173, allocations: 0 / 1.346 GB, free: 14.12 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0004638/0.4178, allocations: 99.83 kB / 1.346 GB, free: 14.02 MB / 1.045 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.000242/0.418, allocations: 115.2 kB / 1.346 GB, free: 13.9 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0007727/0.4188, allocations: 273.7 kB / 1.346 GB, free: 13.63 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.4188, allocations: 0 / 1.346 GB, free: 13.63 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0003114/0.4191, allocations: 95.89 kB / 1.346 GB, free: 13.54 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000502/0.4196, allocations: 65.64 kB / 1.346 GB, free: 13.47 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00273/0.4223, allocations: 1.467 MB / 1.348 GB, free: 11.96 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007365/0.4231, allocations: 0.9998 MB / 1.349 GB, free: 10.93 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001761/0.4232, allocations: 47.42 kB / 1.349 GB, free: 10.89 MB / 1.045 GB Notification: Performance of SimCode: time 9.92e-07/0.4232, allocations: 0 / 1.349 GB, free: 10.89 MB / 1.045 GB Notification: Performance of Templates: time 0.0159/0.4391, allocations: 9.038 MB / 1.357 GB, free: 1.863 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe ; mkfifo Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe >> ../files/Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.sim & ./Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.749045972013846]