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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp,fileNamePrefix="Buildings_11_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp,fileNamePrefix="Buildings_11_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005894/0.005894, allocations: 99.27 kB / 15.73 MB, free: 6.012 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001589/0.001589, allocations: 196.9 kB / 16.68 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.353/1.353, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.59/2.59, allocations: 469.8 MB / 0.7425 GB, free: 3.324 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001836/0.001836, allocations: 71.83 kB / 1.065 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6673/0.6691, allocations: 159.1 MB / 1.22 GB, free: 2.016 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp): time 0.004031/0.6732, allocations: 2.744 MB / 1.223 GB, free: 15.26 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001685/0.6749, allocations: 1.084 MB / 1.224 GB, free: 14.17 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001741/0.6751, allocations: 4 kB / 1.224 GB, free: 14.17 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0006118/0.6758, allocations: 210.6 kB / 1.224 GB, free: 13.96 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0001799/0.6759, allocations: 83.25 kB / 1.224 GB, free: 13.88 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004868/0.6764, allocations: 187.7 kB / 1.224 GB, free: 13.7 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0004397/0.6769, allocations: 403.8 kB / 1.225 GB, free: 13.3 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003389/0.6772, allocations: 209.8 kB / 1.225 GB, free: 13.08 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001807/0.6774, allocations: 151.2 kB / 1.225 GB, free: 12.93 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001952/0.6776, allocations: 179 kB / 1.225 GB, free: 12.76 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 6.519e-05/0.6777, allocations: 48 kB / 1.225 GB, free: 12.71 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003311/0.678, allocations: 171.8 kB / 1.225 GB, free: 12.54 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0002255/0.6783, allocations: 259.2 kB / 1.226 GB, free: 12.29 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0002949/0.6786, allocations: 361.5 kB / 1.226 GB, free: 11.93 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001012/0.6796, allocations: 0.9639 MB / 1.227 GB, free: 10.97 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.6796, allocations: 4 kB / 1.227 GB, free: 10.97 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.272e-06/0.6796, allocations: 0 / 1.227 GB, free: 10.97 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 8.596e-06/0.6796, allocations: 0 / 1.227 GB, free: 10.97 MB / 0.9512 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.00149/0.6811, allocations: 1.166 MB / 1.228 GB, free: 9.746 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.68e-05/0.6812, allocations: 12.03 kB / 1.228 GB, free: 9.734 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.419e-05/0.6812, allocations: 66.72 kB / 1.228 GB, free: 9.66 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001298/0.6826, allocations: 244 kB / 1.228 GB, free: 9.422 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001374/0.6839, allocations: 0.7276 MB / 1.229 GB, free: 8.641 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.424e-05/0.684, allocations: 24.97 kB / 1.229 GB, free: 8.617 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.142e-05/0.684, allocations: 32.38 kB / 1.229 GB, free: 8.586 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008326/0.6849, allocations: 386.3 kB / 1.23 GB, free: 8.203 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.6849, allocations: 0 / 1.23 GB, free: 8.203 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.316e-05/0.6849, allocations: 15.98 kB / 1.23 GB, free: 8.188 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.149e-05/0.6849, allocations: 11.98 kB / 1.23 GB, free: 8.176 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001034/0.686, allocations: 414.4 kB / 1.23 GB, free: 7.77 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003078/0.6891, allocations: 1.795 MB / 1.232 GB, free: 5.883 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006566/0.6897, allocations: 213.6 kB / 1.232 GB, free: 5.668 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003229/0.6901, allocations: 96.8 kB / 1.232 GB, free: 5.57 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.203e-05/0.6901, allocations: 4.312 kB / 1.232 GB, free: 5.566 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.285e-05/0.6902, allocations: 46.5 kB / 1.232 GB, free: 5.512 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=20): time 1.894e-06/0.6902, allocations: 0 / 1.232 GB, free: 5.512 MB / 0.9512 GB Notification: Performance of matching and sorting (n=20): time 0.001116/0.6913, allocations: 379.2 kB / 1.232 GB, free: 5.137 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.946e-05/0.6913, allocations: 55.41 kB / 1.233 GB, free: 5.07 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001479/0.6928, allocations: 1.239 MB / 1.234 GB, free: 3.809 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.232e-05/0.6929, allocations: 25.7 kB / 1.234 GB, free: 3.777 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003753/0.6932, allocations: 448.4 kB / 1.234 GB, free: 3.336 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 6.363e-05/0.6933, allocations: 63.44 kB / 1.234 GB, free: 3.273 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001042/0.6934, allocations: 57.64 kB / 1.234 GB, free: 3.211 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001296/0.6936, allocations: 314 kB / 1.235 GB, free: 2.898 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003677/0.6939, allocations: 151.9 kB / 1.235 GB, free: 2.75 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003975/0.6943, allocations: 201.9 kB / 1.235 GB, free: 2.531 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006798/0.695, allocations: 283.5 kB / 1.235 GB, free: 2.238 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.695, allocations: 0 / 1.235 GB, free: 2.238 MB / 0.9512 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009502/0.696, allocations: 467.3 kB / 1.236 GB, free: 1.777 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.696, allocations: 4 kB / 1.236 GB, free: 1.773 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.756e-06/0.696, allocations: 7.938 kB / 1.236 GB, free: 1.766 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.6961, allocations: 0 / 1.236 GB, free: 1.766 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003389/0.6964, allocations: 68.05 kB / 1.236 GB, free: 1.699 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.017e-06/0.6964, allocations: 4 kB / 1.236 GB, free: 1.695 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000274/0.6967, allocations: 35.77 kB / 1.236 GB, free: 1.66 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.906e-05/0.6967, allocations: 11.98 kB / 1.236 GB, free: 1.648 MB / 0.9512 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.0003141/0.6971, allocations: 273.6 kB / 1.236 GB, free: 1.371 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001118/0.6972, allocations: 91.42 kB / 1.236 GB, free: 1.281 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008771/0.6981, allocations: 329.8 kB / 1.236 GB, free: 0.9531 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.6981, allocations: 3.938 kB / 1.236 GB, free: 0.9492 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.6981, allocations: 0 / 1.236 GB, free: 0.9492 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.6981, allocations: 0 / 1.236 GB, free: 0.9492 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001726/0.6998, allocations: 1.01 MB / 1.237 GB, free: 15.87 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.6998, allocations: 4.188 kB / 1.237 GB, free: 15.86 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002692/0.7001, allocations: 43.91 kB / 1.237 GB, free: 15.82 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.29e-05/0.7001, allocations: 7.938 kB / 1.237 GB, free: 15.81 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.423e-05/0.7002, allocations: 11.98 kB / 1.237 GB, free: 15.8 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.7002, allocations: 0 / 1.237 GB, free: 15.8 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.928e-06/0.7002, allocations: 4 kB / 1.238 GB, free: 15.8 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008202/0.701, allocations: 438.2 kB / 1.238 GB, free: 15.34 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002407/0.7013, allocations: 212.4 kB / 1.238 GB, free: 15.11 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.664e-05/0.7013, allocations: 4 kB / 1.238 GB, free: 15.11 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002786/0.7016, allocations: 19.98 kB / 1.238 GB, free: 15.09 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.642e-05/0.7017, allocations: 23.91 kB / 1.238 GB, free: 15.06 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.035e-05/0.7017, allocations: 8 kB / 1.238 GB, free: 15.05 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001089/0.7028, allocations: 0.9028 MB / 1.239 GB, free: 14.14 MB / 0.9669 GB Notification: Performance of sort global known variables: time 3.11e-07/0.7028, allocations: 3.938 kB / 1.239 GB, free: 14.14 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0004225/0.7032, allocations: 103.8 kB / 1.239 GB, free: 14.04 MB / 0.9669 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.001236/0.7045, allocations: 0.9907 MB / 1.24 GB, free: 13 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0007623/0.7052, allocations: 275.7 kB / 1.24 GB, free: 12.73 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.7053, allocations: 320 / 1.24 GB, free: 12.73 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0003399/0.7056, allocations: 111.8 kB / 1.24 GB, free: 12.62 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004707/0.7061, allocations: 66.02 kB / 1.241 GB, free: 12.55 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01022/0.7163, allocations: 7.25 MB / 1.248 GB, free: 5.117 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006818/0.717, allocations: 0.9986 MB / 1.249 GB, free: 4.09 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0003106/0.7173, allocations: 100.6 kB / 1.249 GB, free: 3.988 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003907/0.7177, allocations: 291.3 kB / 1.249 GB, free: 3.703 MB / 0.9669 GB Notification: Performance of SimCode: time 7.52e-07/0.7178, allocations: 7.938 kB / 1.249 GB, free: 3.695 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03778/0.7555, allocations: 13.7 MB / 1.262 GB, free: 6.188 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.993/9.749, allocations: 13.61 kB / 1.262 GB, free: 6.176 MB / 0.9825 GB (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 & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp_res.csv --start-time 0 --stop-time 1500 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.6 Buildings_11_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp.fmu > Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp_res.csv","/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) Reference file matches