Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal,fileNamePrefix="Buildings_10_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.001287/0.001288, allocations: 108 kB / 15.61 MB, free: 152 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.0011/0.0011, allocations: 196.5 kB / 16.53 MB, free: 6.664 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.349/1.349, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.557/2.557, allocations: 437 MB / 0.7104 GB, free: 5.078 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001354/0.001354, allocations: 59.91 kB / 0.8693 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5317/0.5331, allocations: 151.6 MB / 1.017 GB, free: 2.621 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.003245/0.5363, allocations: 2.255 MB / 1.02 GB, free: 356 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001228/0.5376, allocations: 0.9449 MB / 1.021 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.445e-05/0.5377, allocations: 4 kB / 1.021 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0004942/0.5382, allocations: 197.1 kB / 1.021 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001056/0.5383, allocations: 59.5 kB / 1.021 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.00031/0.5386, allocations: 119.7 kB / 1.021 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.000225/0.5389, allocations: 223.1 kB / 1.021 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001817/0.539, allocations: 89.69 kB / 1.021 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 9.948e-05/0.5392, allocations: 91.47 kB / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001057/0.5393, allocations: 99.42 kB / 1.021 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.073e-05/0.5393, allocations: 16 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00027/0.5396, allocations: 151.8 kB / 1.022 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001824/0.5398, allocations: 211.4 kB / 1.022 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002162/0.54, allocations: 266 kB / 1.022 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0006245/0.5406, allocations: 0.712 MB / 1.023 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.5406, allocations: 0 / 1.023 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.162e-06/0.5406, allocations: 0 / 1.023 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.007e-05/0.5407, allocations: 4 kB / 1.023 GB, free: 13.18 MB / 0.7794 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.001092/0.5418, allocations: 0.976 MB / 1.024 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.33e-05/0.5418, allocations: 11.97 kB / 1.024 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.438e-05/0.5419, allocations: 46.73 kB / 1.024 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005218/0.5424, allocations: 119.8 kB / 1.024 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000684/0.5431, allocations: 0.5934 MB / 1.024 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.583e-05/0.5431, allocations: 8.375 kB / 1.024 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.26e-05/0.5431, allocations: 12.38 kB / 1.024 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003661/0.5435, allocations: 194.7 kB / 1.025 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.5435, allocations: 7.938 kB / 1.025 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.636e-05/0.5435, allocations: 4 kB / 1.025 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.378e-06/0.5436, allocations: 0 / 1.025 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004467/0.544, allocations: 232.3 kB / 1.025 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001049/0.5451, allocations: 0.9139 MB / 1.026 GB, free: 9.914 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006456/0.5457, allocations: 318.4 kB / 1.026 GB, free: 9.594 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002105/0.5459, allocations: 112.9 kB / 1.026 GB, free: 9.48 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007039/0.5467, allocations: 241 kB / 1.026 GB, free: 9.227 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.869e-05/0.5467, allocations: 30.56 kB / 1.026 GB, free: 9.188 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=9): time 1.192e-06/0.5467, allocations: 0 / 1.026 GB, free: 9.188 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9): time 0.0007885/0.5475, allocations: 404.6 kB / 1.027 GB, free: 8.785 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.602e-05/0.5475, allocations: 59.33 kB / 1.027 GB, free: 8.715 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001038/0.5486, allocations: 0.9935 MB / 1.028 GB, free: 7.711 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.683e-05/0.5486, allocations: 29.7 kB / 1.028 GB, free: 7.676 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002534/0.5489, allocations: 336 kB / 1.028 GB, free: 7.344 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.476e-05/0.5489, allocations: 31.55 kB / 1.028 GB, free: 7.312 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.054e-05/0.5489, allocations: 25.72 kB / 1.028 GB, free: 7.281 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.625e-05/0.549, allocations: 314 kB / 1.029 GB, free: 6.969 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002044/0.5493, allocations: 99.95 kB / 1.029 GB, free: 6.871 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00021/0.5495, allocations: 118.5 kB / 1.029 GB, free: 6.746 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004028/0.5499, allocations: 222.8 kB / 1.029 GB, free: 6.52 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.5499, allocations: 4 kB / 1.029 GB, free: 6.516 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005695/0.5505, allocations: 324.5 kB / 1.029 GB, free: 6.191 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.5505, allocations: 4 kB / 1.029 GB, free: 6.188 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.5505, allocations: 4 kB / 1.029 GB, free: 6.184 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.5505, allocations: 0 / 1.029 GB, free: 6.184 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001673/0.5507, allocations: 27.98 kB / 1.029 GB, free: 6.156 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.653e-06/0.5507, allocations: 3.984 kB / 1.029 GB, free: 6.152 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001576/0.5509, allocations: 15.91 kB / 1.029 GB, free: 6.137 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.368e-05/0.5509, allocations: 4 kB / 1.029 GB, free: 6.133 MB / 0.7794 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.000227/0.5511, allocations: 253.7 kB / 1.03 GB, free: 5.875 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.058e-05/0.5512, allocations: 75 kB / 1.03 GB, free: 5.801 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006047/0.5518, allocations: 328.4 kB / 1.03 GB, free: 5.473 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/0.5518, allocations: 7.984 kB / 1.03 GB, free: 5.465 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.5519, allocations: 4 kB / 1.03 GB, free: 5.461 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.5519, allocations: 0 / 1.03 GB, free: 5.461 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004914/0.5524, allocations: 0.5245 MB / 1.03 GB, free: 4.887 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.5524, allocations: 7.938 kB / 1.03 GB, free: 4.879 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001516/0.5525, allocations: 19.98 kB / 1.03 GB, free: 4.859 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.5525, allocations: 7.984 kB / 1.03 GB, free: 4.852 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.081e-05/0.5526, allocations: 0 / 1.03 GB, free: 4.852 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.5526, allocations: 0 / 1.03 GB, free: 4.852 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.5526, allocations: 0 / 1.03 GB, free: 4.852 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005373/0.5531, allocations: 410.5 kB / 1.031 GB, free: 4.434 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001797/0.5533, allocations: 188.1 kB / 1.031 GB, free: 4.23 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.227e-05/0.5534, allocations: 0 / 1.031 GB, free: 4.23 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001794/0.5535, allocations: 8 kB / 1.031 GB, free: 4.223 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.074e-05/0.5536, allocations: 11.98 kB / 1.031 GB, free: 4.211 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.51e-05/0.5536, allocations: 3.984 kB / 1.031 GB, free: 4.207 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0007852/0.5544, allocations: 0.7215 MB / 1.032 GB, free: 3.492 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5544, allocations: 0 / 1.032 GB, free: 3.492 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003362/0.5547, allocations: 68 kB / 1.032 GB, free: 3.426 MB / 0.7794 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.0008538/0.5556, allocations: 0.9496 MB / 1.033 GB, free: 2.449 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000463/0.5561, allocations: 216 kB / 1.033 GB, free: 2.238 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.5561, allocations: 0 / 1.033 GB, free: 2.238 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002113/0.5563, allocations: 115.9 kB / 1.033 GB, free: 2.125 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004058/0.5567, allocations: 49.03 kB / 1.033 GB, free: 2.074 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007513/0.5642, allocations: 6.66 MB / 1.04 GB, free: 11.31 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000492/0.5648, allocations: 0.9371 MB / 1.041 GB, free: 10.35 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0002193/0.565, allocations: 81.27 kB / 1.041 GB, free: 10.27 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002429/0.5652, allocations: 215.4 kB / 1.041 GB, free: 10.06 MB / 0.795 GB Notification: Performance of SimCode: time 5.01e-07/0.5652, allocations: 3.938 kB / 1.041 GB, free: 10.05 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02911/0.5944, allocations: 11.62 MB / 1.052 GB, free: 14.61 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.103/7.697, allocations: 11.75 kB / 1.052 GB, free: 14.6 MB / 0.8106 GB (rm -f Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; mkfifo Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe >> ../files/Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal.fmu > Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches