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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001655/0.00166, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001945/0.001945, allocations: 193.5 kB / 16.53 MB, free: 6.391 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.357/1.357, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.684/2.684, allocations: 469.4 MB / 0.742 GB, free: 7.633 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 67.08 kB / 0.9083 GB, free: 34.48 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2729/0.2741, allocations: 159.1 MB / 1.064 GB, free: 14.47 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp): time 0.00399/0.2782, allocations: 2.749 MB / 1.066 GB, free: 11.7 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001752/0.2799, allocations: 1.092 MB / 1.067 GB, free: 10.6 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002626/0.2802, allocations: 8 kB / 1.067 GB, free: 10.59 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0006465/0.2809, allocations: 210.8 kB / 1.068 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002444/0.2812, allocations: 79.31 kB / 1.068 GB, free: 10.31 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004851/0.2816, allocations: 187.6 kB / 1.068 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0004212/0.2821, allocations: 403.7 kB / 1.068 GB, free: 9.73 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003149/0.2824, allocations: 213.8 kB / 1.068 GB, free: 9.512 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001677/0.2826, allocations: 147.3 kB / 1.069 GB, free: 9.367 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001715/0.2828, allocations: 183 kB / 1.069 GB, free: 9.188 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 6.086e-05/0.2828, allocations: 40 kB / 1.069 GB, free: 9.148 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003075/0.2831, allocations: 175.8 kB / 1.069 GB, free: 8.977 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001912/0.2833, allocations: 259.2 kB / 1.069 GB, free: 8.723 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002501/0.2836, allocations: 353.6 kB / 1.07 GB, free: 8.375 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0007848/0.2844, allocations: 0.9379 MB / 1.07 GB, free: 7.434 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.2844, allocations: 0 / 1.07 GB, free: 7.434 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.353e-06/0.2844, allocations: 0 / 1.07 GB, free: 7.434 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.585e-05/0.2844, allocations: 4 kB / 1.07 GB, free: 7.43 MB / 0.8262 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.001424/0.2859, allocations: 1.127 MB / 1.072 GB, free: 6.246 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.577e-05/0.2859, allocations: 12.03 kB / 1.072 GB, free: 6.234 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.794e-05/0.286, allocations: 62.73 kB / 1.072 GB, free: 6.164 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001327/0.2873, allocations: 239.5 kB / 1.072 GB, free: 5.93 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001309/0.2886, allocations: 0.7189 MB / 1.073 GB, free: 5.152 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.392e-05/0.2887, allocations: 28.97 kB / 1.073 GB, free: 5.125 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.661e-05/0.2887, allocations: 36.31 kB / 1.073 GB, free: 5.09 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007807/0.2895, allocations: 382.3 kB / 1.073 GB, free: 4.715 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.2895, allocations: 0 / 1.073 GB, free: 4.715 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.244e-05/0.2896, allocations: 12 kB / 1.073 GB, free: 4.703 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.278e-05/0.2896, allocations: 8 kB / 1.073 GB, free: 4.695 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001034/0.2906, allocations: 422.4 kB / 1.073 GB, free: 4.277 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002952/0.2936, allocations: 1.779 MB / 1.075 GB, free: 2.41 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006646/0.2943, allocations: 222.5 kB / 1.075 GB, free: 2.184 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003049/0.2946, allocations: 92.81 kB / 1.075 GB, free: 2.09 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.233e-05/0.2946, allocations: 15.98 kB / 1.076 GB, free: 2.074 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.662e-05/0.2947, allocations: 38.52 kB / 1.076 GB, free: 2.027 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=20): time 1.383e-06/0.2947, allocations: 0 / 1.076 GB, free: 2.027 MB / 0.8262 GB Notification: Performance of matching and sorting (n=20): time 0.001081/0.2957, allocations: 366.4 kB / 1.076 GB, free: 1.664 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.844e-05/0.2958, allocations: 63.36 kB / 1.076 GB, free: 1.59 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001314/0.2971, allocations: 1.239 MB / 1.077 GB, free: 336 kB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.841e-05/0.2972, allocations: 37.7 kB / 1.077 GB, free: 292 kB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003323/0.2975, allocations: 432.4 kB / 1.078 GB, free: 15.86 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 5.428e-05/0.2976, allocations: 63.09 kB / 1.078 GB, free: 15.79 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000101/0.2977, allocations: 53.61 kB / 1.078 GB, free: 15.73 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001078/0.2978, allocations: 318 kB / 1.078 GB, free: 15.42 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000363/0.2981, allocations: 151.9 kB / 1.078 GB, free: 15.27 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003831/0.2985, allocations: 199.2 kB / 1.078 GB, free: 15.05 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006649/0.2992, allocations: 283.4 kB / 1.079 GB, free: 14.76 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.2992, allocations: 0 / 1.079 GB, free: 14.76 MB / 0.8419 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009014/0.3001, allocations: 460.8 kB / 1.079 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.3002, allocations: 8 kB / 1.079 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.3002, allocations: 3.938 kB / 1.079 GB, free: 14.29 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.3002, allocations: 8.156 kB / 1.079 GB, free: 14.29 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003304/0.3005, allocations: 59.89 kB / 1.079 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.496e-06/0.3005, allocations: 4 kB / 1.079 GB, free: 14.22 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002793/0.3008, allocations: 35.67 kB / 1.079 GB, free: 14.19 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.427e-05/0.3009, allocations: 8 kB / 1.079 GB, free: 14.18 MB / 0.8419 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.0002698/0.3011, allocations: 273.7 kB / 1.079 GB, free: 13.9 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001057/0.3013, allocations: 86.88 kB / 1.08 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008729/0.3021, allocations: 327.7 kB / 1.08 GB, free: 13.49 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.3021, allocations: 7.922 kB / 1.08 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.3022, allocations: 4 kB / 1.08 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.3022, allocations: 0 / 1.08 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001641/0.3038, allocations: 1.004 MB / 1.081 GB, free: 12.4 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.796e-06/0.3038, allocations: 0 / 1.081 GB, free: 12.4 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002796/0.3041, allocations: 43.97 kB / 1.081 GB, free: 12.36 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.332e-06/0.3041, allocations: 7.938 kB / 1.081 GB, free: 12.35 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.043e-05/0.3042, allocations: 7.938 kB / 1.081 GB, free: 12.34 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.789e-06/0.3042, allocations: 4 kB / 1.081 GB, free: 12.34 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.524e-06/0.3042, allocations: 3.984 kB / 1.081 GB, free: 12.34 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000834/0.305, allocations: 439.7 kB / 1.081 GB, free: 11.87 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002276/0.3053, allocations: 207.9 kB / 1.082 GB, free: 11.65 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.062e-05/0.3053, allocations: 8 kB / 1.082 GB, free: 11.64 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000298/0.3056, allocations: 19.98 kB / 1.082 GB, free: 11.62 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.946e-05/0.3057, allocations: 19.92 kB / 1.082 GB, free: 11.6 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.075e-05/0.3058, allocations: 11.98 kB / 1.082 GB, free: 11.59 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.001084/0.3068, allocations: 0.9028 MB / 1.082 GB, free: 10.68 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3068, allocations: 0 / 1.082 GB, free: 10.68 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004382/0.3073, allocations: 95.84 kB / 1.083 GB, free: 10.58 MB / 0.8419 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.001268/0.3086, allocations: 1.001 MB / 1.084 GB, free: 9.539 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0007833/0.3094, allocations: 293.8 kB / 1.084 GB, free: 9.254 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.3094, allocations: 0 / 1.084 GB, free: 9.254 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.000333/0.3097, allocations: 97.7 kB / 1.084 GB, free: 9.16 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00047/0.3102, allocations: 67.98 kB / 1.084 GB, free: 9.09 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01007/0.3203, allocations: 7.607 MB / 1.091 GB, free: 1.234 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005602/0.3209, allocations: 0.9907 MB / 1.092 GB, free: 224 kB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0003612/0.3213, allocations: 104.6 kB / 1.092 GB, free: 116 kB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003629/0.3216, allocations: 295.4 kB / 1.093 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of SimCode: time 1.814e-06/0.3216, allocations: 0 / 1.093 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0331/0.3547, allocations: 13.51 MB / 1.106 GB, free: 2.469 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.445/7.8, allocations: 3.688 kB / 1.106 GB, free: 2.469 MB / 0.8575 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