Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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-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.EnergyConversionNormal,fileNamePrefix="Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal,fileNamePrefix="Buildings_latest_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.006675/0.006675, allocations: 99.98 kB / 15.73 MB, free: 6.039 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.001553/0.001553, allocations: 202.1 kB / 16.68 MB, free: 5.965 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.284/1.284, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.615/2.615, allocations: 469.4 MB / 0.7422 GB, free: 7.582 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001278, allocations: 68.11 kB / 1.064 GB, free: 13.88 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.263/0.2643, allocations: 159.1 MB / 1.22 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.003286/0.2676, allocations: 2.261 MB / 1.222 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001339/0.269, allocations: 0.9516 MB / 1.223 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001272/0.2691, allocations: 4 kB / 1.223 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.000518/0.2696, allocations: 186.9 kB / 1.223 GB, free: 11.22 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001576/0.2698, allocations: 71.44 kB / 1.223 GB, free: 11.15 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000334/0.2702, allocations: 107.7 kB / 1.223 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002639/0.2704, allocations: 223 kB / 1.223 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001635/0.2706, allocations: 93.66 kB / 1.224 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001299/0.2707, allocations: 87.53 kB / 1.224 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001059/0.2709, allocations: 95.44 kB / 1.224 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.087e-05/0.2709, allocations: 16 kB / 1.224 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002911/0.2712, allocations: 159.8 kB / 1.224 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001578/0.2714, allocations: 211.4 kB / 1.224 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001945/0.2716, allocations: 270 kB / 1.224 GB, free: 9.914 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0006608/0.2722, allocations: 0.7231 MB / 1.225 GB, free: 9.188 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.2722, allocations: 4 kB / 1.225 GB, free: 9.184 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.485e-06/0.2722, allocations: 0 / 1.225 GB, free: 9.184 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.508e-05/0.2723, allocations: 3.938 kB / 1.225 GB, free: 9.18 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.001225/0.2735, allocations: 1.002 MB / 1.226 GB, free: 8.121 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.681e-05/0.2735, allocations: 8.031 kB / 1.226 GB, free: 8.113 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.259e-05/0.2736, allocations: 46.73 kB / 1.226 GB, free: 8.059 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005265/0.2741, allocations: 124.3 kB / 1.226 GB, free: 7.938 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007494/0.2749, allocations: 0.5982 MB / 1.227 GB, free: 7.297 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.195e-05/0.2749, allocations: 8.375 kB / 1.227 GB, free: 7.289 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.926e-05/0.2749, allocations: 12.36 kB / 1.227 GB, free: 7.277 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003754/0.2753, allocations: 206.6 kB / 1.227 GB, free: 7.07 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.2753, allocations: 7.875 kB / 1.227 GB, free: 7.062 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.668e-05/0.2754, allocations: 8 kB / 1.227 GB, free: 7.055 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.2754, allocations: 0 / 1.227 GB, free: 7.055 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004276/0.2758, allocations: 235.9 kB / 1.227 GB, free: 6.824 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001091/0.2769, allocations: 0.9139 MB / 1.228 GB, free: 5.859 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006016/0.2775, allocations: 318.5 kB / 1.228 GB, free: 5.539 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001987/0.2777, allocations: 104.8 kB / 1.229 GB, free: 5.434 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006831/0.2784, allocations: 248.9 kB / 1.229 GB, free: 5.172 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.076e-05/0.2785, allocations: 34.55 kB / 1.229 GB, free: 5.129 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=9): time 1.453e-06/0.2785, allocations: 0 / 1.229 GB, free: 5.129 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9): time 0.0007791/0.2792, allocations: 401 kB / 1.229 GB, free: 4.73 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.229e-05/0.2793, allocations: 55.41 kB / 1.229 GB, free: 4.664 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001082/0.2804, allocations: 0.9973 MB / 1.23 GB, free: 3.66 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.721e-05/0.2804, allocations: 25.7 kB / 1.23 GB, free: 3.629 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002573/0.2807, allocations: 344.2 kB / 1.231 GB, free: 3.285 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.749e-05/0.2807, allocations: 31.73 kB / 1.231 GB, free: 3.254 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.137e-05/0.2808, allocations: 21.72 kB / 1.231 GB, free: 3.227 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 9.55e-05/0.2809, allocations: 318 kB / 1.231 GB, free: 2.91 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001912/0.2811, allocations: 99.89 kB / 1.231 GB, free: 2.812 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002035/0.2813, allocations: 122.5 kB / 1.231 GB, free: 2.684 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003815/0.2817, allocations: 218.4 kB / 1.231 GB, free: 2.461 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.2817, allocations: 384 / 1.231 GB, free: 2.461 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005376/0.2822, allocations: 332.9 kB / 1.232 GB, free: 2.129 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.2822, allocations: 5.875 kB / 1.232 GB, free: 2.125 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.2822, allocations: 0 / 1.232 GB, free: 2.125 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.589e-05/0.2823, allocations: 4 kB / 1.232 GB, free: 2.121 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000162/0.2824, allocations: 19.98 kB / 1.232 GB, free: 2.102 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.2824, allocations: 7.938 kB / 1.232 GB, free: 2.094 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001656/0.2826, allocations: 23.94 kB / 1.232 GB, free: 2.07 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.286e-05/0.2826, allocations: 4 kB / 1.232 GB, free: 2.066 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.000234/0.2829, allocations: 246.3 kB / 1.232 GB, free: 1.816 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.373e-05/0.283, allocations: 79.42 kB / 1.232 GB, free: 1.738 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000578/0.2836, allocations: 324.5 kB / 1.232 GB, free: 1.41 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.2836, allocations: 0 / 1.232 GB, free: 1.41 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.2836, allocations: 0 / 1.232 GB, free: 1.41 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/0.2836, allocations: 11.98 kB / 1.232 GB, free: 1.398 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004871/0.2841, allocations: 0.5207 MB / 1.233 GB, free: 0.8281 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.2841, allocations: 0 / 1.233 GB, free: 0.8281 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001462/0.2842, allocations: 19.98 kB / 1.233 GB, free: 0.8086 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.2843, allocations: 0 / 1.233 GB, free: 0.8086 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.744e-05/0.2843, allocations: 11.98 kB / 1.233 GB, free: 0.7969 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.2843, allocations: 0 / 1.233 GB, free: 0.7969 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.2843, allocations: 0 / 1.233 GB, free: 0.7969 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005278/0.2848, allocations: 414.8 kB / 1.233 GB, free: 384 kB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002126/0.285, allocations: 180.5 kB / 1.233 GB, free: 184 kB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.634e-05/0.2851, allocations: 11.98 kB / 1.233 GB, free: 172 kB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001721/0.2853, allocations: 7.984 kB / 1.233 GB, free: 164 kB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.104e-05/0.2853, allocations: 12.27 kB / 1.234 GB, free: 152 kB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.061e-05/0.2853, allocations: 0 / 1.234 GB, free: 152 kB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0008097/0.2862, allocations: 0.7215 MB / 1.234 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.21e-07/0.2862, allocations: 3.938 kB / 1.234 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003429/0.2865, allocations: 75.81 kB / 1.234 GB, free: 15.35 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.0008789/0.2874, allocations: 0.9579 MB / 1.235 GB, free: 14.36 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004444/0.2879, allocations: 220 kB / 1.235 GB, free: 14.15 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.2879, allocations: 0 / 1.235 GB, free: 14.15 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002029/0.2881, allocations: 107.9 kB / 1.236 GB, free: 14.04 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000404/0.2885, allocations: 57.34 kB / 1.236 GB, free: 13.99 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007642/0.2961, allocations: 6.376 MB / 1.242 GB, free: 7.52 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004966/0.2967, allocations: 0.944 MB / 1.243 GB, free: 6.551 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001898/0.2969, allocations: 77.33 kB / 1.243 GB, free: 6.473 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002598/0.2971, allocations: 223.4 kB / 1.243 GB, free: 6.254 MB / 0.9981 GB Notification: Performance of SimCode: time 2.134e-06/0.2971, allocations: 3.938 kB / 1.243 GB, free: 6.25 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5099/0.8071, allocations: 11.79 MB / 1.255 GB, free: 28.16 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.042/8.849, allocations: 6.984 kB / 1.255 GB, free: 28.16 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal_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_EnergyConversionNormal.fmu > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches