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.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-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/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_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp,fileNamePrefix="Buildings_latest_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.005675/0.005675, allocations: 99.45 kB / 15.73 MB, free: 6.059 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.001302/0.001302, allocations: 197.3 kB / 16.68 MB, free: 5.969 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.258/1.258, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.439/2.439, allocations: 469.4 MB / 0.7422 GB, free: 3.496 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001175/0.001175, allocations: 59.91 kB / 1.064 GB, free: 14.24 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6805/0.6816, allocations: 159.1 MB / 1.22 GB, free: 2.277 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp): time 0.003827/0.6855, allocations: 2.746 MB / 1.222 GB, free: 15.52 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001695/0.6872, allocations: 1.088 MB / 1.223 GB, free: 14.43 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002359/0.6875, allocations: 4 kB / 1.223 GB, free: 14.42 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0005806/0.6881, allocations: 206.6 kB / 1.224 GB, free: 14.22 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0002285/0.6883, allocations: 95.23 kB / 1.224 GB, free: 14.12 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004762/0.6888, allocations: 179.7 kB / 1.224 GB, free: 13.95 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0004184/0.6893, allocations: 407.8 kB / 1.224 GB, free: 13.55 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002921/0.6896, allocations: 209.8 kB / 1.225 GB, free: 13.33 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001676/0.6897, allocations: 155.2 kB / 1.225 GB, free: 13.18 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001566/0.6899, allocations: 175 kB / 1.225 GB, free: 13.01 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 4.979e-05/0.6899, allocations: 40 kB / 1.225 GB, free: 12.97 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002884/0.6902, allocations: 179.8 kB / 1.225 GB, free: 12.79 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001774/0.6904, allocations: 259.2 kB / 1.225 GB, free: 12.54 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0002321/0.6907, allocations: 353.6 kB / 1.226 GB, free: 12.19 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0008592/0.6915, allocations: 0.9678 MB / 1.227 GB, free: 11.23 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.082e-06/0.6915, allocations: 4 kB / 1.227 GB, free: 11.22 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.302e-06/0.6916, allocations: 3.938 kB / 1.227 GB, free: 11.22 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 8.617e-06/0.6916, allocations: 0 / 1.227 GB, free: 11.22 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.001335/0.6929, allocations: 1.166 MB / 1.228 GB, free: 9.996 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.693, allocations: 8.625 kB / 1.228 GB, free: 9.988 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.445e-05/0.693, allocations: 66.72 kB / 1.228 GB, free: 9.914 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001247/0.6943, allocations: 244 kB / 1.228 GB, free: 9.676 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001267/0.6956, allocations: 0.7393 MB / 1.229 GB, free: 8.883 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.079e-05/0.6956, allocations: 21.03 kB / 1.229 GB, free: 8.863 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.389e-05/0.6956, allocations: 28.38 kB / 1.229 GB, free: 8.836 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007662/0.6964, allocations: 382.3 kB / 1.229 GB, free: 8.457 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.6964, allocations: 4 kB / 1.229 GB, free: 8.453 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.238e-05/0.6965, allocations: 12 kB / 1.229 GB, free: 8.441 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.656e-06/0.6965, allocations: 8 kB / 1.229 GB, free: 8.434 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009429/0.6974, allocations: 418.4 kB / 1.23 GB, free: 8.023 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002805/0.7002, allocations: 1.795 MB / 1.231 GB, free: 6.137 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006158/0.7009, allocations: 218.6 kB / 1.232 GB, free: 5.914 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002872/0.7012, allocations: 92.81 kB / 1.232 GB, free: 5.82 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.874e-05/0.7012, allocations: 8 kB / 1.232 GB, free: 5.812 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.469e-05/0.7012, allocations: 38.56 kB / 1.232 GB, free: 5.766 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=20): time 3.907e-06/0.7012, allocations: 3.984 kB / 1.232 GB, free: 5.762 MB / 0.9512 GB Notification: Performance of matching and sorting (n=20): time 0.001036/0.7023, allocations: 379 kB / 1.232 GB, free: 5.387 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.273e-05/0.7023, allocations: 55.41 kB / 1.232 GB, free: 5.32 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001362/0.7037, allocations: 1.239 MB / 1.233 GB, free: 4.059 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.041e-05/0.7037, allocations: 33.7 kB / 1.233 GB, free: 4.02 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003255/0.7041, allocations: 440.4 kB / 1.234 GB, free: 3.586 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 5.411e-05/0.7041, allocations: 67.42 kB / 1.234 GB, free: 3.52 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.096e-05/0.7042, allocations: 53.66 kB / 1.234 GB, free: 3.461 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 9.898e-05/0.7043, allocations: 318 kB / 1.234 GB, free: 3.145 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003359/0.7047, allocations: 143.9 kB / 1.234 GB, free: 3.004 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003597/0.705, allocations: 210.2 kB / 1.235 GB, free: 2.777 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006277/0.7057, allocations: 279.3 kB / 1.235 GB, free: 2.488 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.7057, allocations: 0 / 1.235 GB, free: 2.488 MB / 0.9512 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008642/0.7066, allocations: 472.6 kB / 1.235 GB, free: 2.02 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.7066, allocations: 9.562 kB / 1.235 GB, free: 2.012 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.7066, allocations: 3.938 kB / 1.235 GB, free: 2.008 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.7066, allocations: 4 kB / 1.235 GB, free: 2.004 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003159/0.7069, allocations: 60.06 kB / 1.235 GB, free: 1.945 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.957e-06/0.707, allocations: 4 kB / 1.235 GB, free: 1.941 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002698/0.7072, allocations: 39.75 kB / 1.235 GB, free: 1.902 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.337e-05/0.7073, allocations: 8 kB / 1.235 GB, free: 1.895 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.0002762/0.7075, allocations: 274.1 kB / 1.236 GB, free: 1.617 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001097/0.7077, allocations: 87.44 kB / 1.236 GB, free: 1.531 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008025/0.7085, allocations: 327.1 kB / 1.236 GB, free: 1.207 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.7085, allocations: 0 / 1.236 GB, free: 1.207 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.7085, allocations: 4 kB / 1.236 GB, free: 1.203 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.7085, allocations: 3.984 kB / 1.236 GB, free: 1.199 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001566/0.7101, allocations: 1.003 MB / 1.237 GB, free: 124 kB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.7101, allocations: 4.188 kB / 1.237 GB, free: 120 kB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002621/0.7104, allocations: 51.89 kB / 1.237 GB, free: 68 kB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.048e-06/0.7104, allocations: 4 kB / 1.237 GB, free: 64 kB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.006e-05/0.7104, allocations: 4 kB / 1.237 GB, free: 60 kB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.588e-06/0.7104, allocations: 4 kB / 1.237 GB, free: 56 kB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.7104, allocations: 0 / 1.237 GB, free: 56 kB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000763/0.7112, allocations: 444.1 kB / 1.238 GB, free: 15.59 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002476/0.7114, allocations: 204.5 kB / 1.238 GB, free: 15.37 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.501e-05/0.7115, allocations: 12 kB / 1.238 GB, free: 15.36 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002836/0.7118, allocations: 23.97 kB / 1.238 GB, free: 15.33 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.92e-05/0.7119, allocations: 19.92 kB / 1.238 GB, free: 15.31 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.797e-05/0.7119, allocations: 8 kB / 1.238 GB, free: 15.3 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0009715/0.7129, allocations: 0.9028 MB / 1.239 GB, free: 14.39 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7129, allocations: 0 / 1.239 GB, free: 14.39 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0004128/0.7133, allocations: 103.8 kB / 1.239 GB, free: 14.29 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.001081/0.7144, allocations: 0.9886 MB / 1.24 GB, free: 13.26 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.00072/0.7151, allocations: 281.4 kB / 1.24 GB, free: 12.98 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.7151, allocations: 0 / 1.24 GB, free: 12.98 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0003108/0.7154, allocations: 112.1 kB / 1.24 GB, free: 12.88 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004539/0.7159, allocations: 71.36 kB / 1.24 GB, free: 12.8 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009165/0.7251, allocations: 7.257 MB / 1.247 GB, free: 5.359 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005309/0.7256, allocations: 0.9947 MB / 1.248 GB, free: 4.34 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0002875/0.7259, allocations: 96.66 kB / 1.248 GB, free: 4.242 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003465/0.7263, allocations: 295.3 kB / 1.249 GB, free: 3.953 MB / 0.9669 GB Notification: Performance of SimCode: time 5.11e-07/0.7263, allocations: 3.938 kB / 1.249 GB, free: 3.949 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02874/0.755, allocations: 13.71 MB / 1.262 GB, free: 6.426 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.369/9.124, allocations: 13.06 kB / 1.262 GB, free: 6.418 MB / 0.9825 GB (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 & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp.fmu > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp_res.csv","/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) Reference file matches