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.001201/0.001201, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001198/0.001198, allocations: 195.9 kB / 16.25 MB, free: 6.629 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.217/1.217, allocations: 222.9 MB / 239.9 MB, free: 4.531 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.299/2.299, allocations: 437 MB / 0.7101 GB, free: 5.285 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001253, allocations: 63.91 kB / 0.8689 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4971/0.4984, allocations: 151.6 MB / 1.017 GB, free: 2.699 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.003266/0.5016, allocations: 2.312 MB / 1.019 GB, free: 380 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001258/0.5029, allocations: 0.9294 MB / 1.02 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.768e-05/0.503, allocations: 0 / 1.02 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0004998/0.5036, allocations: 181.3 kB / 1.02 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001231/0.5037, allocations: 55.62 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003083/0.504, allocations: 103.8 kB / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002349/0.5043, allocations: 227 kB / 1.021 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001568/0.5044, allocations: 89.67 kB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001031/0.5045, allocations: 87.53 kB / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00012/0.5047, allocations: 111.4 kB / 1.021 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.734e-05/0.5047, allocations: 19.94 kB / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002435/0.5049, allocations: 143.8 kB / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001592/0.5051, allocations: 215.4 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001846/0.5053, allocations: 266 kB / 1.022 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000579/0.5059, allocations: 0.7081 MB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.5059, allocations: 0 / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.132e-06/0.5059, allocations: 0 / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.039e-05/0.5059, allocations: 0 / 1.022 GB, free: 13.25 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.001069/0.507, allocations: 0.9825 MB / 1.023 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.273e-05/0.507, allocations: 8.031 kB / 1.023 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.865e-05/0.5071, allocations: 42.73 kB / 1.023 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005036/0.5076, allocations: 127.8 kB / 1.023 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006449/0.5082, allocations: 0.5856 MB / 1.024 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.15e-05/0.5083, allocations: 8.375 kB / 1.024 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.325e-05/0.5083, allocations: 12.38 kB / 1.024 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003579/0.5087, allocations: 198.1 kB / 1.024 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.377e-06/0.5087, allocations: 3.938 kB / 1.024 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.539e-05/0.5087, allocations: 4 kB / 1.024 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.5087, allocations: 4 kB / 1.024 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004138/0.5091, allocations: 231.9 kB / 1.024 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001008/0.5101, allocations: 0.9138 MB / 1.025 GB, free: 9.984 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005846/0.5107, allocations: 310.6 kB / 1.026 GB, free: 9.672 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002096/0.511, allocations: 112.8 kB / 1.026 GB, free: 9.559 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000619/0.5116, allocations: 248.9 kB / 1.026 GB, free: 9.297 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.848e-05/0.5116, allocations: 30.56 kB / 1.026 GB, free: 9.258 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=9): time 1.122e-06/0.5116, allocations: 0 / 1.026 GB, free: 9.258 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9): time 0.0007641/0.5124, allocations: 404.5 kB / 1.026 GB, free: 8.855 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.918e-05/0.5124, allocations: 59.34 kB / 1.026 GB, free: 8.785 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001056/0.5135, allocations: 0.9935 MB / 1.027 GB, free: 7.781 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.795e-05/0.5135, allocations: 25.7 kB / 1.027 GB, free: 7.75 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002464/0.5138, allocations: 344 kB / 1.028 GB, free: 7.41 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.734e-05/0.5138, allocations: 35.55 kB / 1.028 GB, free: 7.375 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.137e-05/0.5139, allocations: 25.72 kB / 1.028 GB, free: 7.344 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001005/0.514, allocations: 314 kB / 1.028 GB, free: 7.031 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001882/0.5142, allocations: 91.95 kB / 1.028 GB, free: 6.941 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002089/0.5144, allocations: 130.5 kB / 1.028 GB, free: 6.805 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003766/0.5148, allocations: 214.4 kB / 1.028 GB, free: 6.586 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.5148, allocations: 0 / 1.028 GB, free: 6.586 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005174/0.5153, allocations: 328.5 kB / 1.029 GB, free: 6.258 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.118e-05/0.5153, allocations: 4 kB / 1.029 GB, free: 6.254 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.5153, allocations: 0 / 1.029 GB, free: 6.254 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.5153, allocations: 4.062 kB / 1.029 GB, free: 6.25 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001582/0.5155, allocations: 27.98 kB / 1.029 GB, free: 6.223 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.593e-06/0.5155, allocations: 4 kB / 1.029 GB, free: 6.219 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001501/0.5157, allocations: 15.83 kB / 1.029 GB, free: 6.203 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.363e-05/0.5157, allocations: 4 kB / 1.029 GB, free: 6.199 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.000224/0.5159, allocations: 250.2 kB / 1.029 GB, free: 5.945 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.248e-05/0.516, allocations: 75 kB / 1.029 GB, free: 5.871 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005655/0.5166, allocations: 328.9 kB / 1.029 GB, free: 5.543 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.5166, allocations: 0 / 1.029 GB, free: 5.543 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.5166, allocations: 0 / 1.029 GB, free: 5.543 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.5166, allocations: 7.922 kB / 1.029 GB, free: 5.535 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004923/0.5171, allocations: 0.5284 MB / 1.03 GB, free: 4.957 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.5171, allocations: 3.938 kB / 1.03 GB, free: 4.953 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001464/0.5173, allocations: 23.98 kB / 1.03 GB, free: 4.93 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.5173, allocations: 4 kB / 1.03 GB, free: 4.926 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.534e-05/0.5173, allocations: 11.98 kB / 1.03 GB, free: 4.914 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.5173, allocations: 0 / 1.03 GB, free: 4.914 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.5173, allocations: 0 / 1.03 GB, free: 4.914 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000512/0.5178, allocations: 406.4 kB / 1.03 GB, free: 4.5 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000177/0.518, allocations: 180.1 kB / 1.031 GB, free: 4.305 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.397e-05/0.5181, allocations: 7.984 kB / 1.031 GB, free: 4.297 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000171/0.5183, allocations: 4 kB / 1.031 GB, free: 4.293 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.522e-05/0.5183, allocations: 11.98 kB / 1.031 GB, free: 4.281 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.215e-06/0.5183, allocations: 0 / 1.031 GB, free: 4.281 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0007859/0.5191, allocations: 0.7137 MB / 1.031 GB, free: 3.574 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.7e-07/0.5191, allocations: 0 / 1.031 GB, free: 3.574 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003166/0.5194, allocations: 67.98 kB / 1.031 GB, free: 3.508 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.0008396/0.5203, allocations: 0.9614 MB / 1.032 GB, free: 2.52 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004412/0.5207, allocations: 220 kB / 1.033 GB, free: 2.305 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.5207, allocations: 0 / 1.033 GB, free: 2.305 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.000201/0.5209, allocations: 112.1 kB / 1.033 GB, free: 2.195 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000374/0.5213, allocations: 49 kB / 1.033 GB, free: 2.145 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008558/0.5299, allocations: 6.763 MB / 1.039 GB, free: 11.27 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004954/0.5304, allocations: 0.949 MB / 1.04 GB, free: 10.3 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0002123/0.5306, allocations: 73.33 kB / 1.04 GB, free: 10.22 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002557/0.5309, allocations: 215.4 kB / 1.04 GB, free: 10.01 MB / 0.795 GB Notification: Performance of SimCode: time 2.51e-07/0.5309, allocations: 3.938 kB / 1.04 GB, free: 10.01 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02167/0.5526, allocations: 11.51 MB / 1.052 GB, free: 14.72 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002207/0.5528, allocations: 228.4 kB / 1.052 GB, free: 14.46 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.752/2.304, allocations: 0 / 1.052 GB, free: 14.46 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