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.001428/0.001428, allocations: 104.4 kB / 19.7 MB, free: 2.137 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.001742/0.001742, allocations: 216.9 kB / 22.99 MB, free: 4.965 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.453/1.453, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.241/3.241, allocations: 0.5107 GB / 0.8166 GB, free: 17.82 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.002068/0.002068, allocations: 68.34 kB / 1.187 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3583/0.3604, allocations: 181.9 MB / 1.365 GB, free: 13.61 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp): time 0.004405/0.3648, allocations: 2.579 MB / 1.367 GB, free: 11.01 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001795/0.3666, allocations: 0.9913 MB / 1.368 GB, free: 10.02 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001525/0.3668, allocations: 11.94 kB / 1.368 GB, free: 10 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0006061/0.3674, allocations: 198.8 kB / 1.368 GB, free: 9.809 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001847/0.3675, allocations: 91.3 kB / 1.368 GB, free: 9.719 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005191/0.3681, allocations: 183.7 kB / 1.369 GB, free: 9.539 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0004718/0.3685, allocations: 403.8 kB / 1.369 GB, free: 9.141 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003046/0.3688, allocations: 150.3 kB / 1.369 GB, free: 8.984 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001721/0.369, allocations: 155.3 kB / 1.369 GB, free: 8.832 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001977/0.3692, allocations: 162.9 kB / 1.369 GB, free: 8.672 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 6.194e-05/0.3693, allocations: 40 kB / 1.369 GB, free: 8.633 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000336/0.3696, allocations: 167.8 kB / 1.37 GB, free: 8.469 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0002471/0.3699, allocations: 259.1 kB / 1.37 GB, free: 8.215 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0002437/0.3701, allocations: 266.1 kB / 1.37 GB, free: 7.953 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001078/0.3712, allocations: 0.9682 MB / 1.371 GB, free: 6.98 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.3712, allocations: 0 / 1.371 GB, free: 6.98 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.683e-06/0.3712, allocations: 0 / 1.371 GB, free: 6.98 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.582e-05/0.3712, allocations: 0 / 1.371 GB, free: 6.98 MB / 1.061 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.001676/0.3729, allocations: 1.09 MB / 1.372 GB, free: 5.848 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/0.3729, allocations: 8.031 kB / 1.372 GB, free: 5.84 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001303/0.3742, allocations: 244 kB / 1.372 GB, free: 5.602 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001531/0.3758, allocations: 0.6671 MB / 1.373 GB, free: 4.895 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.983e-05/0.3758, allocations: 29.03 kB / 1.373 GB, free: 4.867 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.445e-05/0.3758, allocations: 28.38 kB / 1.373 GB, free: 4.84 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009034/0.3767, allocations: 404.2 kB / 1.373 GB, free: 4.438 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.981e-05/0.3768, allocations: 3.938 kB / 1.373 GB, free: 4.434 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.212e-05/0.3768, allocations: 12 kB / 1.373 GB, free: 4.422 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.033e-05/0.3768, allocations: 8 kB / 1.373 GB, free: 4.414 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001079/0.3779, allocations: 426.3 kB / 1.374 GB, free: 3.992 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003161/0.3811, allocations: 1.413 MB / 1.375 GB, free: 2.547 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000685/0.3817, allocations: 204.4 kB / 1.375 GB, free: 2.34 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000305/0.3821, allocations: 92.8 kB / 1.376 GB, free: 2.246 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.095e-05/0.3821, allocations: 11.94 kB / 1.376 GB, free: 2.234 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.076e-05/0.3821, allocations: 34.56 kB / 1.376 GB, free: 2.191 MB / 1.061 GB Notification: Performance of pre-optimization done (n=20): time 1.623e-06/0.3821, allocations: 0 / 1.376 GB, free: 2.191 MB / 1.061 GB Notification: Performance of matching and sorting (n=20): time 0.001126/0.3832, allocations: 370.5 kB / 1.376 GB, free: 1.824 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.55e-05/0.3833, allocations: 55.34 kB / 1.376 GB, free: 1.758 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00159/0.3849, allocations: 1.222 MB / 1.377 GB, free: 0.5117 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.325e-05/0.3849, allocations: 29.7 kB / 1.377 GB, free: 488 kB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004187/0.3853, allocations: 436.6 kB / 1.378 GB, free: 48 kB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 8.126e-05/0.3854, allocations: 71.58 kB / 1.378 GB, free: 15.97 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.989e-05/0.3855, allocations: 53.69 kB / 1.378 GB, free: 15.91 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.000164/0.3857, allocations: 317.9 kB / 1.378 GB, free: 15.6 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003646/0.386, allocations: 143.9 kB / 1.378 GB, free: 15.46 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004551/0.3865, allocations: 236.1 kB / 1.378 GB, free: 15.2 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007115/0.3872, allocations: 279.1 kB / 1.379 GB, free: 14.91 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.3872, allocations: 0 / 1.379 GB, free: 14.91 MB / 1.076 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009902/0.3882, allocations: 461.9 kB / 1.379 GB, free: 14.45 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/0.3882, allocations: 8 kB / 1.379 GB, free: 14.45 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.3882, allocations: 0 / 1.379 GB, free: 14.45 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.616e-05/0.3882, allocations: 16.08 kB / 1.379 GB, free: 14.43 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003321/0.3886, allocations: 55.66 kB / 1.379 GB, free: 14.38 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.014e-05/0.3886, allocations: 4 kB / 1.379 GB, free: 14.38 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002758/0.3889, allocations: 31.83 kB / 1.379 GB, free: 14.34 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.883e-05/0.3889, allocations: 15.98 kB / 1.379 GB, free: 14.33 MB / 1.076 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.0003442/0.3892, allocations: 270.3 kB / 1.38 GB, free: 14.05 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001276/0.3894, allocations: 87.44 kB / 1.38 GB, free: 13.97 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008971/0.3903, allocations: 333.3 kB / 1.38 GB, free: 13.64 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.924e-06/0.3903, allocations: 7.984 kB / 1.38 GB, free: 13.63 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.3903, allocations: 0 / 1.38 GB, free: 13.63 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.3903, allocations: 0 / 1.38 GB, free: 13.63 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001751/0.392, allocations: 0.8456 MB / 1.381 GB, free: 12.73 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.139e-06/0.392, allocations: 4 kB / 1.381 GB, free: 12.72 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002701/0.3923, allocations: 44.09 kB / 1.381 GB, free: 12.68 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.528e-06/0.3923, allocations: 4 kB / 1.381 GB, free: 12.68 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.279e-05/0.3923, allocations: 11.98 kB / 1.381 GB, free: 12.66 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.678e-06/0.3923, allocations: 4 kB / 1.381 GB, free: 12.66 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.3923, allocations: 0 / 1.381 GB, free: 12.66 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000862/0.3932, allocations: 438.4 kB / 1.381 GB, free: 12.2 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003012/0.3935, allocations: 131.3 kB / 1.381 GB, free: 12.07 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.056e-05/0.3936, allocations: 8 kB / 1.381 GB, free: 12.06 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002837/0.3939, allocations: 15.98 kB / 1.381 GB, free: 12.05 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.064e-05/0.3939, allocations: 23.91 kB / 1.381 GB, free: 12.02 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.12e-05/0.394, allocations: 15.94 kB / 1.381 GB, free: 12.01 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.001217/0.3952, allocations: 0.8786 MB / 1.382 GB, free: 11.12 MB / 1.076 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3952, allocations: 0 / 1.382 GB, free: 11.12 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0004743/0.3956, allocations: 107.8 kB / 1.382 GB, free: 11.01 MB / 1.076 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.0002071/0.3959, allocations: 119.1 kB / 1.382 GB, free: 10.89 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0007949/0.3966, allocations: 275.5 kB / 1.383 GB, free: 10.62 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.3966, allocations: 0 / 1.383 GB, free: 10.62 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.000336/0.397, allocations: 108.2 kB / 1.383 GB, free: 10.51 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004811/0.3975, allocations: 60.78 kB / 1.383 GB, free: 10.45 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002513/0.4, allocations: 1.449 MB / 1.384 GB, free: 8.949 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004743/0.4005, allocations: 411.6 kB / 1.385 GB, free: 8.523 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000162/0.4006, allocations: 43.42 kB / 1.385 GB, free: 8.48 MB / 1.076 GB Notification: Performance of SimCode: time 4.81e-07/0.4006, allocations: 0 / 1.385 GB, free: 8.48 MB / 1.076 GB Notification: Performance of Templates: time 0.0144/0.415, allocations: 9.221 MB / 1.394 GB, free: 15.26 MB / 1.092 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.88068615598604]