Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001851/0.001851, 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.002086/0.002086, allocations: 216.7 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.45/1.45, allocations: 230.6 MB / 256.8 MB, free: 8.066 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.31/3.31, allocations: 0.505 GB / 0.8108 GB, free: 22.04 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.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_latest_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_latest_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.002044/0.002044, allocations: 72.09 kB / 1.178 GB, free: 16.76 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3669/0.3689, allocations: 180.2 MB / 1.354 GB, free: 7.953 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp): time 0.004434/0.3733, allocations: 2.791 MB / 1.357 GB, free: 5.152 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001815/0.3752, allocations: 1.096 MB / 1.358 GB, free: 4.055 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001495/0.3753, allocations: 4 kB / 1.358 GB, free: 4.051 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0006063/0.3759, allocations: 214.5 kB / 1.358 GB, free: 3.84 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.000181/0.3761, allocations: 87.25 kB / 1.358 GB, free: 3.754 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004973/0.3766, allocations: 191.6 kB / 1.358 GB, free: 3.566 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0004493/0.377, allocations: 403.8 kB / 1.359 GB, free: 3.172 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003021/0.3773, allocations: 158.3 kB / 1.359 GB, free: 3.008 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001822/0.3775, allocations: 163.2 kB / 1.359 GB, free: 2.848 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000202/0.3777, allocations: 175 kB / 1.359 GB, free: 2.676 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 5.743e-05/0.3778, allocations: 40 kB / 1.359 GB, free: 2.637 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000327/0.3781, allocations: 175.8 kB / 1.359 GB, free: 2.465 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.000235/0.3783, allocations: 259.2 kB / 1.36 GB, free: 2.211 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0002802/0.3786, allocations: 357.6 kB / 1.36 GB, free: 1.859 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.001002/0.3796, allocations: 0.9642 MB / 1.361 GB, free: 0.8906 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.3796, allocations: 0 / 1.361 GB, free: 0.8906 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.603e-06/0.3796, allocations: 0 / 1.361 GB, free: 0.8906 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.022e-05/0.3796, allocations: 0 / 1.361 GB, free: 0.8906 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: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.001576/0.3812, allocations: 1.083 MB / 1.362 GB, free: 15.77 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.3813, allocations: 12.03 kB / 1.362 GB, free: 15.75 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001278/0.3825, allocations: 248 kB / 1.362 GB, free: 15.51 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001385/0.3839, allocations: 0.6633 MB / 1.363 GB, free: 14.81 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.538e-05/0.384, allocations: 32.97 kB / 1.363 GB, free: 14.78 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.109e-05/0.384, allocations: 32.38 kB / 1.363 GB, free: 14.75 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008295/0.3848, allocations: 382.5 kB / 1.363 GB, free: 14.36 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.438e-05/0.3849, allocations: 3.938 kB / 1.363 GB, free: 14.36 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.673e-05/0.3849, allocations: 8 kB / 1.363 GB, free: 14.35 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.465e-05/0.3849, allocations: 8 kB / 1.363 GB, free: 14.34 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001003/0.3859, allocations: 418.4 kB / 1.364 GB, free: 13.94 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003197/0.3891, allocations: 1.586 MB / 1.365 GB, free: 12.31 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006752/0.3898, allocations: 210.6 kB / 1.366 GB, free: 12.09 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003035/0.3901, allocations: 96.77 kB / 1.366 GB, free: 12 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.956e-05/0.3901, allocations: 8.312 kB / 1.366 GB, free: 11.99 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.75e-05/0.3902, allocations: 30.56 kB / 1.366 GB, free: 11.95 MB / 1.061 GB Notification: Performance of pre-optimization done (n=20): time 1.503e-06/0.3902, allocations: 0 / 1.366 GB, free: 11.95 MB / 1.061 GB Notification: Performance of matching and sorting (n=20): time 0.001083/0.3912, allocations: 382.9 kB / 1.366 GB, free: 11.57 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.364e-05/0.3913, allocations: 55.41 kB / 1.366 GB, free: 11.5 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00155/0.3928, allocations: 1.247 MB / 1.367 GB, free: 10.23 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.334e-05/0.3929, allocations: 33.7 kB / 1.367 GB, free: 10.2 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003935/0.3933, allocations: 436.4 kB / 1.368 GB, free: 9.762 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 6.58e-05/0.3933, allocations: 71.42 kB / 1.368 GB, free: 9.691 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.897e-05/0.3934, allocations: 49.7 kB / 1.368 GB, free: 9.637 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001421/0.3936, allocations: 322 kB / 1.368 GB, free: 9.316 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003664/0.3939, allocations: 147.9 kB / 1.368 GB, free: 9.172 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003896/0.3943, allocations: 201.9 kB / 1.368 GB, free: 8.953 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006576/0.395, allocations: 291.8 kB / 1.369 GB, free: 8.652 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.395, allocations: 0 / 1.369 GB, free: 8.652 MB / 1.061 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009327/0.3959, allocations: 467.1 kB / 1.369 GB, free: 8.191 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.178e-05/0.3959, allocations: 10.19 kB / 1.369 GB, free: 8.184 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.3959, allocations: 0 / 1.369 GB, free: 8.184 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.131e-05/0.396, allocations: 7.938 kB / 1.369 GB, free: 8.176 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003362/0.3963, allocations: 55.91 kB / 1.369 GB, free: 8.121 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.2e-05/0.3963, allocations: 7.984 kB / 1.369 GB, free: 8.113 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002885/0.3966, allocations: 43.75 kB / 1.369 GB, free: 8.07 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.882e-05/0.3966, allocations: 12 kB / 1.369 GB, free: 8.059 MB / 1.061 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.0003508/0.397, allocations: 273.6 kB / 1.37 GB, free: 7.781 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001216/0.3971, allocations: 91.39 kB / 1.37 GB, free: 7.691 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008769/0.398, allocations: 323.6 kB / 1.37 GB, free: 7.367 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.613e-06/0.398, allocations: 4 kB / 1.37 GB, free: 7.363 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.398, allocations: 0 / 1.37 GB, free: 7.363 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.328e-06/0.398, allocations: 3.984 kB / 1.37 GB, free: 7.359 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001819/0.3998, allocations: 0.9733 MB / 1.371 GB, free: 6.32 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/0.3998, allocations: 4 kB / 1.371 GB, free: 6.316 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002694/0.4001, allocations: 44.14 kB / 1.371 GB, free: 6.273 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.4001, allocations: 7.938 kB / 1.371 GB, free: 6.266 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.687e-05/0.4001, allocations: 8 kB / 1.371 GB, free: 6.258 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.12e-06/0.4001, allocations: 4 kB / 1.371 GB, free: 6.254 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/0.4001, allocations: 0 / 1.371 GB, free: 6.254 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008212/0.401, allocations: 448.1 kB / 1.371 GB, free: 5.781 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002815/0.4012, allocations: 131.3 kB / 1.372 GB, free: 5.652 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.84e-05/0.4013, allocations: 8 kB / 1.372 GB, free: 5.645 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002977/0.4016, allocations: 15.98 kB / 1.372 GB, free: 5.629 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.187e-05/0.4017, allocations: 19.91 kB / 1.372 GB, free: 5.609 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.397e-05/0.4017, allocations: 19.98 kB / 1.372 GB, free: 5.59 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.001191/0.4029, allocations: 0.9028 MB / 1.373 GB, free: 4.676 MB / 1.061 GB Notification: Performance of sort global known variables: time 1e-07/0.4029, allocations: 0 / 1.373 GB, free: 4.676 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0004665/0.4034, allocations: 95.83 kB / 1.373 GB, free: 4.582 MB / 1.061 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.0002269/0.4036, allocations: 115.1 kB / 1.373 GB, free: 4.461 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0007798/0.4044, allocations: 275.7 kB / 1.373 GB, free: 4.191 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.4044, allocations: 0 / 1.373 GB, free: 4.191 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.000321/0.4047, allocations: 108.2 kB / 1.373 GB, free: 4.086 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005071/0.4052, allocations: 63.44 kB / 1.373 GB, free: 4.02 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002557/0.4078, allocations: 1.451 MB / 1.375 GB, free: 2.512 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006945/0.4085, allocations: 0.9997 MB / 1.376 GB, free: 1.484 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001652/0.4086, allocations: 43.42 kB / 1.376 GB, free: 1.441 MB / 1.061 GB Notification: Performance of SimCode: time 3.81e-07/0.4086, allocations: 0 / 1.376 GB, free: 1.441 MB / 1.061 GB Notification: Performance of Templates: time 0.01414/0.4228, allocations: 9.022 MB / 1.384 GB, free: 8.418 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.sim & ./Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.649423738999758]