Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.EnergyConversionWarmUp,fileNamePrefix="Buildings_10_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp,fileNamePrefix="Buildings_10_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.005531/0.005531, allocations: 98.42 kB / 15.73 MB, free: 6.031 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.00138/0.00138, allocations: 196.5 kB / 16.67 MB, free: 5.953 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.331/1.331, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.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.506/2.506, allocations: 437.1 MB / 0.7105 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001348/0.001348, allocations: 63.91 kB / 1.018 GB, free: 9.906 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7187/0.7201, allocations: 151.6 MB / 1.166 GB, free: 3.781 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp): time 0.003697/0.7238, allocations: 2.744 MB / 1.169 GB, free: 1.027 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001537/0.7254, allocations: 1.092 MB / 1.17 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001224/0.7255, allocations: 4 kB / 1.17 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0005285/0.7261, allocations: 214.6 kB / 1.17 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0001613/0.7262, allocations: 87.25 kB / 1.17 GB, free: 15.63 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004361/0.7267, allocations: 175.7 kB / 1.17 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0003987/0.7271, allocations: 403.8 kB / 1.171 GB, free: 15.06 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003075/0.7274, allocations: 217.8 kB / 1.171 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001521/0.7276, allocations: 155.2 kB / 1.171 GB, free: 14.69 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001667/0.7277, allocations: 175.1 kB / 1.171 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 5.132e-05/0.7278, allocations: 40 kB / 1.171 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002872/0.7281, allocations: 179.8 kB / 1.171 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001841/0.7283, allocations: 259.2 kB / 1.172 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0002449/0.7285, allocations: 353.6 kB / 1.172 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0008295/0.7294, allocations: 0.9795 MB / 1.173 GB, free: 12.72 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.7294, allocations: 0 / 1.173 GB, free: 12.72 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.332e-06/0.7294, allocations: 0 / 1.173 GB, free: 12.72 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.307e-05/0.7294, allocations: 0 / 1.173 GB, free: 12.72 MB / 0.9044 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.001509/0.7309, allocations: 1.162 MB / 1.174 GB, free: 11.5 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/0.731, allocations: 8.922 kB / 1.174 GB, free: 11.5 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.496e-05/0.731, allocations: 70.72 kB / 1.174 GB, free: 11.42 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001327/0.7324, allocations: 240 kB / 1.174 GB, free: 11.18 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001402/0.7338, allocations: 0.7314 MB / 1.175 GB, free: 10.4 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.257e-05/0.7338, allocations: 25.03 kB / 1.175 GB, free: 10.37 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.027e-05/0.7339, allocations: 32.38 kB / 1.175 GB, free: 10.34 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007974/0.7347, allocations: 378.3 kB / 1.176 GB, free: 9.969 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.7347, allocations: 0 / 1.176 GB, free: 9.969 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.307e-05/0.7347, allocations: 12 kB / 1.176 GB, free: 9.957 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.287e-06/0.7348, allocations: 8 kB / 1.176 GB, free: 9.949 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001019/0.7358, allocations: 426.3 kB / 1.176 GB, free: 9.531 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003035/0.7388, allocations: 1.776 MB / 1.178 GB, free: 7.664 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006641/0.7395, allocations: 218.5 kB / 1.178 GB, free: 7.441 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003066/0.7398, allocations: 96.81 kB / 1.178 GB, free: 7.344 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 3.705e-05/0.7399, allocations: 16.28 kB / 1.178 GB, free: 7.328 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.959e-05/0.7399, allocations: 38.5 kB / 1.178 GB, free: 7.281 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=20): time 1.413e-06/0.7399, allocations: 3.938 kB / 1.178 GB, free: 7.277 MB / 0.9044 GB Notification: Performance of matching and sorting (n=20): time 0.00113/0.7411, allocations: 375.1 kB / 1.178 GB, free: 6.906 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.85e-05/0.7411, allocations: 59.41 kB / 1.179 GB, free: 6.836 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001401/0.7425, allocations: 1.239 MB / 1.18 GB, free: 5.574 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.083e-05/0.7426, allocations: 33.7 kB / 1.18 GB, free: 5.535 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003508/0.7429, allocations: 436.4 kB / 1.18 GB, free: 5.105 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 5.945e-05/0.743, allocations: 63.44 kB / 1.18 GB, free: 5.043 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.082e-05/0.7431, allocations: 57.64 kB / 1.18 GB, free: 4.98 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001006/0.7432, allocations: 318 kB / 1.181 GB, free: 4.664 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003525/0.7436, allocations: 143.9 kB / 1.181 GB, free: 4.523 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003849/0.7439, allocations: 213.9 kB / 1.181 GB, free: 4.293 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006516/0.7446, allocations: 287.1 kB / 1.181 GB, free: 3.996 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.7446, allocations: 0 / 1.181 GB, free: 3.996 MB / 0.9044 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008926/0.7455, allocations: 460.9 kB / 1.182 GB, free: 3.539 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.343e-05/0.7455, allocations: 8 kB / 1.182 GB, free: 3.531 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.856e-06/0.7456, allocations: 3.938 kB / 1.182 GB, free: 3.527 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/0.7456, allocations: 4 kB / 1.182 GB, free: 3.523 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000423/0.746, allocations: 59.89 kB / 1.182 GB, free: 3.465 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.848e-06/0.746, allocations: 4 kB / 1.182 GB, free: 3.461 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002894/0.7463, allocations: 39.77 kB / 1.182 GB, free: 3.422 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.315e-05/0.7464, allocations: 8 kB / 1.182 GB, free: 3.414 MB / 0.9044 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.000284/0.7467, allocations: 269.7 kB / 1.182 GB, free: 3.141 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000107/0.7468, allocations: 95.39 kB / 1.182 GB, free: 3.047 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008494/0.7476, allocations: 336 kB / 1.182 GB, free: 2.715 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.367e-06/0.7476, allocations: 0 / 1.182 GB, free: 2.715 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.7476, allocations: 4 kB / 1.182 GB, free: 2.711 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.7477, allocations: 0 / 1.182 GB, free: 2.711 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001644/0.7493, allocations: 1.009 MB / 1.183 GB, free: 1.629 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.7493, allocations: 3.938 kB / 1.183 GB, free: 1.625 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002781/0.7496, allocations: 48.09 kB / 1.183 GB, free: 1.578 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.7496, allocations: 4 kB / 1.183 GB, free: 1.574 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.012e-05/0.7497, allocations: 7.984 kB / 1.184 GB, free: 1.566 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.689e-06/0.7497, allocations: 4 kB / 1.184 GB, free: 1.562 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.7497, allocations: 0 / 1.184 GB, free: 1.562 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007741/0.7504, allocations: 440.1 kB / 1.184 GB, free: 1.098 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002671/0.7507, allocations: 208.4 kB / 1.184 GB, free: 0.875 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.195e-05/0.7508, allocations: 8 kB / 1.184 GB, free: 0.8672 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002895/0.7511, allocations: 15.98 kB / 1.184 GB, free: 0.8516 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.437e-05/0.7512, allocations: 23.91 kB / 1.184 GB, free: 0.8281 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.914e-05/0.7512, allocations: 12 kB / 1.184 GB, free: 0.8164 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.001042/0.7522, allocations: 0.9028 MB / 1.185 GB, free: 15.9 MB / 0.92 GB Notification: Performance of sort global known variables: time 2.01e-07/0.7522, allocations: 3.938 kB / 1.185 GB, free: 15.89 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0004252/0.7527, allocations: 103.8 kB / 1.185 GB, free: 15.79 MB / 0.92 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.001206/0.7539, allocations: 1.004 MB / 1.186 GB, free: 14.75 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0008113/0.7547, allocations: 267.7 kB / 1.186 GB, free: 14.48 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.7547, allocations: 4 kB / 1.186 GB, free: 14.48 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.000324/0.7551, allocations: 108.3 kB / 1.187 GB, free: 14.38 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004963/0.7556, allocations: 63.44 kB / 1.187 GB, free: 14.31 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00956/0.7651, allocations: 7.253 MB / 1.194 GB, free: 6.867 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005829/0.7657, allocations: 0.9986 MB / 1.195 GB, free: 5.844 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0003009/0.7661, allocations: 96.66 kB / 1.195 GB, free: 5.746 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003747/0.7664, allocations: 295.3 kB / 1.195 GB, free: 5.457 MB / 0.92 GB Notification: Performance of SimCode: time 6.31e-07/0.7664, allocations: 0 / 1.195 GB, free: 5.457 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02989/0.7963, allocations: 13.71 MB / 1.208 GB, free: 7.941 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.593/9.39, allocations: 10.89 kB / 1.208 GB, free: 7.934 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe ; mkfifo Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe >> ../files/Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp.fmu > Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches