Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal,fileNamePrefix="Buildings_9_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.001629/0.001629, 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.0019/0.0019, allocations: 198.3 kB / 16.54 MB, free: 6.672 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.354/1.354, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.325/2.325, allocations: 390.2 MB / 0.6647 GB, free: 272 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001338/0.001338, allocations: 68.09 kB / 0.8127 GB, free: 14.15 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.542/0.5433, allocations: 140.4 MB / 0.9497 GB, free: 9.262 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.002803/0.5462, allocations: 2.246 MB / 0.9519 GB, free: 7.484 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001027/0.5472, allocations: 0.9503 MB / 0.9528 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.798e-05/0.5473, allocations: 2.562 kB / 0.9528 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0004581/0.5478, allocations: 195.8 kB / 0.953 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001019/0.5479, allocations: 66.95 kB / 0.9531 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002828/0.5482, allocations: 114 kB / 0.9532 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001883/0.5484, allocations: 219.2 kB / 0.9534 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001575/0.5485, allocations: 93.66 kB / 0.9535 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.747e-05/0.5486, allocations: 87.92 kB / 0.9536 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.179e-05/0.5487, allocations: 100.3 kB / 0.9537 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.363e-05/0.5488, allocations: 20.59 kB / 0.9537 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002539/0.549, allocations: 147.9 kB / 0.9538 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.000137/0.5492, allocations: 211.2 kB / 0.954 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.000138/0.5493, allocations: 269.5 kB / 0.9543 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000463/0.5498, allocations: 0.7091 MB / 0.955 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.5498, allocations: 1.562 kB / 0.955 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.182e-06/0.5498, allocations: 0 / 0.955 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.384e-06/0.5498, allocations: 0 / 0.955 GB, free: 5.211 MB / 0.7169 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.0008809/0.5507, allocations: 0.9673 MB / 0.9559 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.187e-05/0.5507, allocations: 14.25 kB / 0.956 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.232e-05/0.5508, allocations: 46.58 kB / 0.956 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005053/0.5513, allocations: 123.9 kB / 0.9561 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005756/0.5519, allocations: 0.5927 MB / 0.9567 GB, free: 3.781 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.433e-05/0.5519, allocations: 8.969 kB / 0.9567 GB, free: 3.777 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.368e-05/0.5519, allocations: 12.09 kB / 0.9567 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000343/0.5523, allocations: 199.1 kB / 0.9569 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.5523, allocations: 3.938 kB / 0.9569 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.678e-05/0.5523, allocations: 5.031 kB / 0.9569 GB, free: 3.652 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.5523, allocations: 6.75 kB / 0.9569 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004313/0.5528, allocations: 232.3 kB / 0.9571 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009264/0.5537, allocations: 0.9182 MB / 0.958 GB, free: 2.879 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006075/0.5543, allocations: 318 kB / 0.9583 GB, free: 2.738 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002036/0.5545, allocations: 110.4 kB / 0.9584 GB, free: 2.688 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006669/0.5552, allocations: 237.9 kB / 0.9587 GB, free: 2.539 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.556e-05/0.5552, allocations: 31.94 kB / 0.9587 GB, free: 2.5 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=9): time 1.303e-06/0.5552, allocations: 0 / 0.9587 GB, free: 2.5 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9): time 0.0007501/0.556, allocations: 401.8 kB / 0.9591 GB, free: 2.312 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.842e-05/0.556, allocations: 53.5 kB / 0.9591 GB, free: 2.25 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009954/0.557, allocations: 0.9956 MB / 0.9601 GB, free: 1.715 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.238e-05/0.557, allocations: 25.7 kB / 0.9601 GB, free: 1.684 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002048/0.5573, allocations: 344 kB / 0.9605 GB, free: 1.387 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.306e-05/0.5573, allocations: 35.8 kB / 0.9605 GB, free: 1.355 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.947e-05/0.5573, allocations: 21.03 kB / 0.9605 GB, free: 1.336 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.094e-05/0.5574, allocations: 316.2 kB / 0.9608 GB, free: 1.023 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001964/0.5576, allocations: 94.67 kB / 0.9609 GB, free: 0.9883 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002025/0.5578, allocations: 136.2 kB / 0.961 GB, free: 0.9062 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003657/0.5582, allocations: 213.2 kB / 0.9612 GB, free: 0.8086 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.5582, allocations: 4 kB / 0.9612 GB, free: 0.8047 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005028/0.5587, allocations: 321.4 kB / 0.9616 GB, free: 0.6445 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.5587, allocations: 6.219 kB / 0.9616 GB, free: 0.6445 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.5587, allocations: 0 / 0.9616 GB, free: 0.6445 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.5587, allocations: 1.688 kB / 0.9616 GB, free: 0.6445 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001649/0.5589, allocations: 26.42 kB / 0.9616 GB, free: 0.6367 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.5589, allocations: 0.875 kB / 0.9616 GB, free: 0.6367 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001583/0.5591, allocations: 21.2 kB / 0.9616 GB, free: 0.6211 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.281e-05/0.5591, allocations: 4.156 kB / 0.9616 GB, free: 0.6211 MB / 0.7169 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.0001914/0.5593, allocations: 249 kB / 0.9618 GB, free: 440 kB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.249e-05/0.5594, allocations: 75.31 kB / 0.9619 GB, free: 396 kB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000577/0.56, allocations: 329 kB / 0.9622 GB, free: 216 kB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.56, allocations: 1.094 kB / 0.9622 GB, free: 216 kB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.56, allocations: 0.7812 kB / 0.9622 GB, free: 216 kB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.56, allocations: 3.984 kB / 0.9622 GB, free: 212 kB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000494/0.5605, allocations: 0.5276 MB / 0.9628 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.5605, allocations: 0 / 0.9628 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001552/0.5607, allocations: 23.86 kB / 0.9628 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.5607, allocations: 1.375 kB / 0.9628 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.348e-05/0.5607, allocations: 9.047 kB / 0.9628 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.5607, allocations: 4.719 kB / 0.9628 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.5607, allocations: 0 / 0.9628 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005581/0.5613, allocations: 406.6 kB / 0.9632 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001833/0.5615, allocations: 182 kB / 0.9634 GB, free: 15.35 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.828e-05/0.5615, allocations: 9.078 kB / 0.9634 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001802/0.5617, allocations: 4.281 kB / 0.9634 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.33e-05/0.5618, allocations: 7.109 kB / 0.9634 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.186e-05/0.5618, allocations: 2.188 kB / 0.9634 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0008236/0.5626, allocations: 0.7226 MB / 0.9641 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5626, allocations: 0 / 0.9641 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003643/0.563, allocations: 68.2 kB / 0.9641 GB, free: 14.94 MB / 0.7325 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.0008871/0.5639, allocations: 0.9539 MB / 0.9651 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004804/0.5644, allocations: 222 kB / 0.9653 GB, free: 14.06 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.5644, allocations: 0 / 0.9653 GB, free: 14.06 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000221/0.5646, allocations: 110.9 kB / 0.9654 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000407/0.565, allocations: 55.69 kB / 0.9654 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008029/0.5731, allocations: 6.646 MB / 0.9719 GB, free: 10.05 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004992/0.5736, allocations: 0.9576 MB / 0.9729 GB, free: 9.203 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002249/0.5738, allocations: 74.92 kB / 0.9729 GB, free: 9.168 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002518/0.5741, allocations: 214.9 kB / 0.9732 GB, free: 8.98 MB / 0.7325 GB Notification: Performance of SimCode: time 6.11e-07/0.5741, allocations: 0 / 0.9732 GB, free: 8.98 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02885/0.603, allocations: 11.6 MB / 0.9845 GB, free: 13.83 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.287/7.889, allocations: 7.688 kB / 0.9845 GB, free: 13.82 MB / 0.7481 GB (rm -f Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; mkfifo Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe >> ../files/Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal.fmu > Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches