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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001289/0.001289, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001323/0.001323, allocations: 193 kB / 16.13 MB, free: 6.648 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.25/1.25, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.409/2.409, allocations: 437 MB / 0.7099 GB, free: 5.387 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001206/0.001206, allocations: 75.86 kB / 0.8687 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4688/0.47, allocations: 151.6 MB / 1.017 GB, free: 2.816 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.003015/0.473, allocations: 2.325 MB / 1.019 GB, free: 488 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001167/0.4742, allocations: 0.949 MB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.331e-05/0.4743, allocations: 0 / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0004618/0.4748, allocations: 177.3 kB / 1.02 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 9.851e-05/0.4749, allocations: 59.62 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002433/0.4751, allocations: 91.83 kB / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002034/0.4753, allocations: 223 kB / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001527/0.4755, allocations: 81.69 kB / 1.021 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 9.629e-05/0.4756, allocations: 79.53 kB / 1.021 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001169/0.4757, allocations: 111.3 kB / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.576e-05/0.4757, allocations: 8 kB / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000265/0.476, allocations: 143.8 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.000147/0.4762, allocations: 207.4 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001843/0.4764, allocations: 258 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0005441/0.4769, allocations: 0.6964 MB / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.4769, allocations: 0 / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of FrontEnd: time 6.72e-07/0.4769, allocations: 0 / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.831e-06/0.4769, allocations: 0 / 1.022 GB, free: 13.41 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.001041/0.478, allocations: 0.9709 MB / 1.023 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.339e-05/0.478, allocations: 12.03 kB / 1.023 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.198e-05/0.4781, allocations: 46.73 kB / 1.023 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005147/0.4786, allocations: 115.8 kB / 1.023 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006629/0.4793, allocations: 0.5856 MB / 1.024 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.542e-05/0.4793, allocations: 16.36 kB / 1.024 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.972e-05/0.4793, allocations: 12.38 kB / 1.024 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000359/0.4797, allocations: 202.1 kB / 1.024 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.4797, allocations: 7.938 kB / 1.024 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.606e-05/0.4797, allocations: 4 kB / 1.024 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.4797, allocations: 4 kB / 1.024 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004409/0.4802, allocations: 231.8 kB / 1.024 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001007/0.4812, allocations: 0.9138 MB / 1.025 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005926/0.4818, allocations: 314.4 kB / 1.025 GB, free: 9.824 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002087/0.482, allocations: 112.9 kB / 1.025 GB, free: 9.711 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006036/0.4826, allocations: 240.9 kB / 1.026 GB, free: 9.457 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.997e-05/0.4827, allocations: 34.56 kB / 1.026 GB, free: 9.414 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=9): time 1.042e-06/0.4827, allocations: 0 / 1.026 GB, free: 9.414 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9): time 0.0007408/0.4834, allocations: 400.6 kB / 1.026 GB, free: 9.016 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.703e-05/0.4835, allocations: 55.34 kB / 1.026 GB, free: 8.949 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001059/0.4845, allocations: 0.9974 MB / 1.027 GB, free: 7.941 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.22e-05/0.4846, allocations: 25.7 kB / 1.027 GB, free: 7.91 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002571/0.4848, allocations: 348 kB / 1.027 GB, free: 7.566 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.587e-05/0.4849, allocations: 31.55 kB / 1.027 GB, free: 7.535 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.122e-05/0.4849, allocations: 29.62 kB / 1.027 GB, free: 7.5 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.61e-05/0.485, allocations: 310 kB / 1.028 GB, free: 7.191 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001939/0.4852, allocations: 95.95 kB / 1.028 GB, free: 7.098 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002043/0.4854, allocations: 122.5 kB / 1.028 GB, free: 6.969 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003793/0.4858, allocations: 218.8 kB / 1.028 GB, free: 6.746 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.4858, allocations: 0 / 1.028 GB, free: 6.746 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005064/0.4863, allocations: 328.4 kB / 1.029 GB, free: 6.418 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.4863, allocations: 8 kB / 1.029 GB, free: 6.41 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.4864, allocations: 4.062 kB / 1.029 GB, free: 6.406 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.06e-05/0.4864, allocations: 0 / 1.029 GB, free: 6.406 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001621/0.4865, allocations: 23.98 kB / 1.029 GB, free: 6.383 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.4866, allocations: 0 / 1.029 GB, free: 6.383 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001541/0.4867, allocations: 15.92 kB / 1.029 GB, free: 6.367 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.074e-05/0.4867, allocations: 0 / 1.029 GB, free: 6.367 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.0002351/0.487, allocations: 254.2 kB / 1.029 GB, free: 6.109 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.009e-05/0.4871, allocations: 83 kB / 1.029 GB, free: 6.027 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005841/0.4877, allocations: 324.5 kB / 1.029 GB, free: 5.703 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.4877, allocations: 0 / 1.029 GB, free: 5.703 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.4877, allocations: 3.984 kB / 1.029 GB, free: 5.699 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.696e-06/0.4877, allocations: 0 / 1.029 GB, free: 5.699 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005034/0.4882, allocations: 0.5323 MB / 1.03 GB, free: 5.117 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.4882, allocations: 3.938 kB / 1.03 GB, free: 5.113 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001513/0.4884, allocations: 23.98 kB / 1.03 GB, free: 5.09 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.4884, allocations: 0 / 1.03 GB, free: 5.09 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.346e-05/0.4884, allocations: 3.984 kB / 1.03 GB, free: 5.086 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/0.4884, allocations: 4 kB / 1.03 GB, free: 5.082 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.4884, allocations: 4 kB / 1.03 GB, free: 5.078 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005253/0.4889, allocations: 406.4 kB / 1.03 GB, free: 4.664 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000172/0.4891, allocations: 184.1 kB / 1.03 GB, free: 4.465 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.179e-05/0.4892, allocations: 0 / 1.03 GB, free: 4.465 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000175/0.4893, allocations: 4.281 kB / 1.03 GB, free: 4.461 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.245e-05/0.4894, allocations: 11.98 kB / 1.03 GB, free: 4.449 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.798e-06/0.4894, allocations: 4 kB / 1.03 GB, free: 4.445 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0008009/0.4902, allocations: 0.7214 MB / 1.031 GB, free: 3.73 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.7e-07/0.4902, allocations: 4 kB / 1.031 GB, free: 3.727 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003245/0.4906, allocations: 68 kB / 1.031 GB, free: 3.66 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.000844/0.4914, allocations: 0.9496 MB / 1.032 GB, free: 2.684 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004287/0.4918, allocations: 211.8 kB / 1.032 GB, free: 2.477 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.4919, allocations: 4 kB / 1.032 GB, free: 2.473 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002054/0.4921, allocations: 108.1 kB / 1.032 GB, free: 2.367 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003803/0.4925, allocations: 49.5 kB / 1.032 GB, free: 2.316 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008513/0.501, allocations: 6.781 MB / 1.039 GB, free: 11.43 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004892/0.5015, allocations: 0.9518 MB / 1.04 GB, free: 10.46 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0002171/0.5017, allocations: 77.33 kB / 1.04 GB, free: 10.38 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002502/0.502, allocations: 219.3 kB / 1.04 GB, free: 10.16 MB / 0.795 GB Notification: Performance of SimCode: time 3.31e-07/0.502, allocations: 0 / 1.04 GB, free: 10.16 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.609/1.111, allocations: 11.33 MB / 1.051 GB, free: 15.02 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002452/1.111, allocations: 219.4 kB / 1.052 GB, free: 14.77 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.089/3.2, allocations: 0 / 1.052 GB, free: 14.77 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal_fmu --startTime=0 --stopTime=1500 --timeout=50 --tolerance=1e-06 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.mat","/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