Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.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.EnergyConversionNormal,fileNamePrefix="Buildings_11_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal,fileNamePrefix="Buildings_11_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal",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.007564/0.007564, allocations: 99.42 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.00215/0.00215, allocations: 193.3 kB / 16.67 MB, free: 5.949 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.453/1.453, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.844/2.844, allocations: 469.8 MB / 0.7425 GB, free: 7.281 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002078/0.002078, allocations: 71.88 kB / 1.065 GB, free: 13.53 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2705/0.2726, allocations: 159.1 MB / 1.22 GB, free: 14.28 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.003368/0.276, allocations: 2.271 MB / 1.222 GB, free: 11.99 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001332/0.2774, allocations: 0.9516 MB / 1.223 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.914e-05/0.2774, allocations: 4 kB / 1.223 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0005055/0.2779, allocations: 186.9 kB / 1.224 GB, free: 10.85 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001204/0.2781, allocations: 63.44 kB / 1.224 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000331/0.2784, allocations: 115.7 kB / 1.224 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000265/0.2787, allocations: 227.1 kB / 1.224 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001659/0.2789, allocations: 89.61 kB / 1.224 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001062/0.279, allocations: 79.59 kB / 1.224 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001292/0.2791, allocations: 115.4 kB / 1.224 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.383e-05/0.2792, allocations: 16 kB / 1.224 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002969/0.2795, allocations: 155.8 kB / 1.224 GB, free: 10 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001819/0.2797, allocations: 207.4 kB / 1.225 GB, free: 9.801 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.000221/0.2799, allocations: 266 kB / 1.225 GB, free: 9.539 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0007515/0.2806, allocations: 0.727 MB / 1.225 GB, free: 8.809 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.2806, allocations: 0 / 1.225 GB, free: 8.809 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.042e-06/0.2807, allocations: 0 / 1.225 GB, free: 8.809 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.582e-06/0.2807, allocations: 0 / 1.225 GB, free: 8.809 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.001219/0.2819, allocations: 1.01 MB / 1.226 GB, free: 7.742 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.316e-05/0.2819, allocations: 8.031 kB / 1.226 GB, free: 7.734 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.034e-05/0.282, allocations: 46.73 kB / 1.227 GB, free: 7.68 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000531/0.2825, allocations: 120.3 kB / 1.227 GB, free: 7.562 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007769/0.2833, allocations: 0.6059 MB / 1.227 GB, free: 6.914 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.621e-05/0.2833, allocations: 8.375 kB / 1.227 GB, free: 6.906 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.273e-05/0.2834, allocations: 12.38 kB / 1.227 GB, free: 6.895 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003966/0.2838, allocations: 190.7 kB / 1.227 GB, free: 6.703 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.2838, allocations: 3.938 kB / 1.227 GB, free: 6.699 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.762e-05/0.2838, allocations: 8 kB / 1.227 GB, free: 6.691 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.157e-06/0.2838, allocations: 0 / 1.227 GB, free: 6.691 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005017/0.2843, allocations: 239.8 kB / 1.228 GB, free: 6.457 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001139/0.2855, allocations: 0.9139 MB / 1.229 GB, free: 5.492 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006824/0.2862, allocations: 318.4 kB / 1.229 GB, free: 5.172 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000234/0.2864, allocations: 112.9 kB / 1.229 GB, free: 5.059 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006733/0.2871, allocations: 240.9 kB / 1.229 GB, free: 4.805 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.879e-05/0.2871, allocations: 34.56 kB / 1.229 GB, free: 4.762 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=9): time 1.253e-06/0.2871, allocations: 0 / 1.229 GB, free: 4.762 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9): time 0.0008347/0.288, allocations: 405 kB / 1.23 GB, free: 4.359 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.357e-05/0.288, allocations: 55.39 kB / 1.23 GB, free: 4.293 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001235/0.2893, allocations: 1.001 MB / 1.231 GB, free: 3.281 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.902e-05/0.2893, allocations: 25.7 kB / 1.231 GB, free: 3.25 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003161/0.2896, allocations: 340.2 kB / 1.231 GB, free: 2.91 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.823e-05/0.2897, allocations: 35.73 kB / 1.231 GB, free: 2.875 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.768e-05/0.2897, allocations: 25.7 kB / 1.231 GB, free: 2.844 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001259/0.2899, allocations: 310 kB / 1.231 GB, free: 2.535 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002279/0.2901, allocations: 95.95 kB / 1.231 GB, free: 2.441 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000231/0.2903, allocations: 126.5 kB / 1.232 GB, free: 2.309 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004501/0.2908, allocations: 214.4 kB / 1.232 GB, free: 2.09 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.2908, allocations: 4 kB / 1.232 GB, free: 2.086 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005891/0.2914, allocations: 328.9 kB / 1.232 GB, free: 1.758 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/0.2914, allocations: 4 kB / 1.232 GB, free: 1.754 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.888e-06/0.2914, allocations: 0 / 1.232 GB, free: 1.754 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.078e-05/0.2914, allocations: 0 / 1.232 GB, free: 1.754 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001645/0.2916, allocations: 32.03 kB / 1.232 GB, free: 1.723 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.2916, allocations: 0 / 1.232 GB, free: 1.723 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001576/0.2918, allocations: 19.89 kB / 1.232 GB, free: 1.703 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.341e-05/0.2918, allocations: 4.469 kB / 1.232 GB, free: 1.699 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.000257/0.2921, allocations: 249.7 kB / 1.232 GB, free: 1.445 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.967e-05/0.2922, allocations: 79.42 kB / 1.232 GB, free: 1.367 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006619/0.2928, allocations: 344.4 kB / 1.233 GB, free: 1.02 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.2928, allocations: 0 / 1.233 GB, free: 1.02 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.2929, allocations: 0 / 1.233 GB, free: 1.02 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.2929, allocations: 0 / 1.233 GB, free: 1.02 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005675/0.2934, allocations: 0.5285 MB / 1.233 GB, free: 452 kB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.2934, allocations: 0 / 1.233 GB, free: 452 kB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001549/0.2936, allocations: 23.97 kB / 1.233 GB, free: 428 kB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.2936, allocations: 0 / 1.233 GB, free: 428 kB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.633e-05/0.2936, allocations: 8 kB / 1.233 GB, free: 420 kB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.2936, allocations: 4 kB / 1.233 GB, free: 416 kB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.2936, allocations: 0 / 1.233 GB, free: 416 kB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000615/0.2943, allocations: 406.9 kB / 1.234 GB, free: 15.99 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002099/0.2945, allocations: 184.5 kB / 1.234 GB, free: 15.79 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.723e-05/0.2946, allocations: 8 kB / 1.234 GB, free: 15.79 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001742/0.2947, allocations: 3.938 kB / 1.234 GB, free: 15.78 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.884e-05/0.2948, allocations: 7.984 kB / 1.234 GB, free: 15.77 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.055e-05/0.2948, allocations: 4 kB / 1.234 GB, free: 15.77 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0009018/0.2957, allocations: 0.7215 MB / 1.235 GB, free: 15.05 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2957, allocations: 0 / 1.235 GB, free: 15.05 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003373/0.296, allocations: 71.83 kB / 1.235 GB, free: 14.98 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * 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.0009935/0.297, allocations: 0.9586 MB / 1.236 GB, free: 13.99 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0005025/0.2976, allocations: 223.8 kB / 1.236 GB, free: 13.77 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.2976, allocations: 0 / 1.236 GB, free: 13.77 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000229/0.2978, allocations: 107.9 kB / 1.236 GB, free: 13.67 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003805/0.2982, allocations: 51.67 kB / 1.236 GB, free: 13.62 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008434/0.3066, allocations: 6.384 MB / 1.242 GB, free: 7.141 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006126/0.3073, allocations: 0.9447 MB / 1.243 GB, free: 6.172 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001956/0.3075, allocations: 81.33 kB / 1.243 GB, free: 6.09 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000291/0.3078, allocations: 215.4 kB / 1.243 GB, free: 5.879 MB / 0.9981 GB Notification: Performance of SimCode: time 2.61e-07/0.3078, allocations: 0 / 1.243 GB, free: 5.879 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5025/0.8103, allocations: 11.79 MB / 1.255 GB, free: 28.48 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.643/9.454, allocations: 6.125 kB / 1.255 GB, free: 28.48 MB / 0.9981 GB (rm -f Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; mkfifo Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe >> ../files/Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal_res.csv --start-time 0 --stop-time 1500 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.6 Buildings_11_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal.fmu > Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches