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.00458/0.00458, allocations: 100.8 kB / 15.73 MB, free: 5.992 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.001097/0.001097, allocations: 198.8 kB / 16.68 MB, free: 5.918 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.3/1.3, 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 9.1.3-maint.9.1.x/package.mo): time 2.207/2.207, allocations: 390.3 MB / 0.6648 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001407/0.001407, allocations: 63.91 kB / 0.9504 GB, free: 8.133 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7596/0.761, allocations: 140.4 MB / 1.087 GB, free: 5.262 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.003596/0.7647, allocations: 2.254 MB / 1.09 GB, free: 3.668 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001539/0.7663, allocations: 0.9444 MB / 1.091 GB, free: 2.992 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002256/0.7665, allocations: 2.406 kB / 1.091 GB, free: 2.992 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0007216/0.7673, allocations: 200.9 kB / 1.091 GB, free: 2.887 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002281/0.7675, allocations: 70.27 kB / 1.091 GB, free: 2.84 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005108/0.7681, allocations: 115.4 kB / 1.091 GB, free: 2.789 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003727/0.7684, allocations: 223.1 kB / 1.091 GB, free: 2.676 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002343/0.7687, allocations: 91.58 kB / 1.091 GB, free: 2.625 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001627/0.7689, allocations: 82.52 kB / 1.091 GB, free: 2.582 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001442/0.769, allocations: 101.3 kB / 1.091 GB, free: 2.523 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 5.474e-05/0.7691, allocations: 17.12 kB / 1.091 GB, free: 2.523 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000447/0.7695, allocations: 147.9 kB / 1.092 GB, free: 2.492 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002399/0.7698, allocations: 214.3 kB / 1.092 GB, free: 2.414 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.000209/0.77, allocations: 260.1 kB / 1.092 GB, free: 2.223 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001032/0.771, allocations: 0.727 MB / 1.093 GB, free: 1.922 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.7711, allocations: 0.7969 kB / 1.093 GB, free: 1.922 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.405e-06/0.7711, allocations: 0.6875 kB / 1.093 GB, free: 1.922 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.644e-05/0.7711, allocations: 0 / 1.093 GB, free: 1.922 MB / 0.8575 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.001616/0.7727, allocations: 0.9657 MB / 1.094 GB, free: 1.148 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.562e-05/0.7728, allocations: 9.75 kB / 1.094 GB, free: 1.148 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.994e-05/0.7728, allocations: 45.84 kB / 1.094 GB, free: 1.102 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006993/0.7735, allocations: 121.6 kB / 1.094 GB, free: 1.055 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001006/0.7746, allocations: 0.5945 MB / 1.094 GB, free: 0.6367 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.507e-05/0.7746, allocations: 8.812 kB / 1.094 GB, free: 0.6328 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.872e-05/0.7746, allocations: 16.25 kB / 1.094 GB, free: 0.625 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000457/0.7751, allocations: 194.1 kB / 1.095 GB, free: 0.5469 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.313e-05/0.7751, allocations: 7.938 kB / 1.095 GB, free: 0.5391 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.929e-05/0.7752, allocations: 9.688 kB / 1.095 GB, free: 0.5312 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-06/0.7752, allocations: 3.391 kB / 1.095 GB, free: 0.5312 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005204/0.7757, allocations: 233.8 kB / 1.095 GB, free: 476 kB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001557/0.7773, allocations: 0.9162 MB / 1.096 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007415/0.778, allocations: 319 kB / 1.096 GB, free: 15.85 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002529/0.7783, allocations: 118.4 kB / 1.096 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008444/0.7791, allocations: 232.5 kB / 1.096 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.37e-05/0.7792, allocations: 32.38 kB / 1.096 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=9): time 1.734e-06/0.7792, allocations: 0 / 1.096 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of matching and sorting (n=9): time 0.0009955/0.7802, allocations: 404.3 kB / 1.097 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.452e-05/0.7802, allocations: 52.53 kB / 1.097 GB, free: 15.44 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001779/0.782, allocations: 0.9971 MB / 1.098 GB, free: 15.07 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 4.033e-05/0.7821, allocations: 30.45 kB / 1.098 GB, free: 15.03 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003497/0.7825, allocations: 341.3 kB / 1.098 GB, free: 14.76 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 4.765e-05/0.7825, allocations: 33.39 kB / 1.098 GB, free: 14.73 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.948e-05/0.7826, allocations: 24.31 kB / 1.098 GB, free: 14.71 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001245/0.7827, allocations: 313.4 kB / 1.099 GB, free: 14.41 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002855/0.783, allocations: 95.36 kB / 1.099 GB, free: 14.38 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002689/0.7833, allocations: 123.3 kB / 1.099 GB, free: 14.33 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005046/0.7838, allocations: 223.7 kB / 1.099 GB, free: 14.24 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.7838, allocations: 0 / 1.099 GB, free: 14.24 MB / 0.8731 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000996/0.7848, allocations: 320.7 kB / 1.099 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.497e-05/0.7849, allocations: 9.75 kB / 1.099 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/0.7849, allocations: 1.469 kB / 1.099 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.869e-05/0.7849, allocations: 0.8125 kB / 1.099 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000204/0.7851, allocations: 24.48 kB / 1.099 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.164e-05/0.7852, allocations: 5.812 kB / 1.099 GB, free: 14.1 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003119/0.7855, allocations: 15.27 kB / 1.099 GB, free: 14.09 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.945e-05/0.7855, allocations: 4.172 kB / 1.099 GB, free: 14.09 MB / 0.8731 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.0004738/0.786, allocations: 248 kB / 1.1 GB, free: 13.93 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001444/0.7861, allocations: 75.7 kB / 1.1 GB, free: 13.89 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000774/0.7869, allocations: 327.1 kB / 1.1 GB, free: 13.77 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.125e-06/0.7869, allocations: 0.5938 kB / 1.1 GB, free: 13.77 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.7869, allocations: 5.031 kB / 1.1 GB, free: 13.76 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.787, allocations: 0.6562 kB / 1.1 GB, free: 13.76 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008531/0.7878, allocations: 0.5292 MB / 1.101 GB, free: 13.45 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.037e-06/0.7878, allocations: 0.6094 kB / 1.101 GB, free: 13.45 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001724/0.788, allocations: 24.81 kB / 1.101 GB, free: 13.45 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.67e-06/0.788, allocations: 0.7812 kB / 1.101 GB, free: 13.45 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.374e-05/0.788, allocations: 1.828 kB / 1.101 GB, free: 13.45 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.925e-06/0.7881, allocations: 5.906 kB / 1.101 GB, free: 13.45 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.7881, allocations: 0 / 1.101 GB, free: 13.45 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008368/0.7889, allocations: 409.6 kB / 1.101 GB, free: 13.21 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003088/0.7892, allocations: 181.4 kB / 1.101 GB, free: 13.06 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.828e-05/0.7893, allocations: 5.609 kB / 1.101 GB, free: 13.05 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001947/0.7895, allocations: 6.234 kB / 1.101 GB, free: 13.05 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.56e-05/0.7896, allocations: 5.812 kB / 1.101 GB, free: 13.05 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.439e-05/0.7896, allocations: 6.844 kB / 1.101 GB, free: 13.05 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.001227/0.7908, allocations: 0.7295 MB / 1.102 GB, free: 12.77 MB / 0.8731 GB Notification: Performance of sort global known variables: time 5.01e-07/0.7908, allocations: 0 / 1.102 GB, free: 12.77 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0005432/0.7914, allocations: 64.06 kB / 1.102 GB, free: 12.76 MB / 0.8731 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.001123/0.7925, allocations: 0.957 MB / 1.103 GB, free: 11.99 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0005915/0.7931, allocations: 214.3 kB / 1.103 GB, free: 11.94 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.7931, allocations: 1.094 kB / 1.103 GB, free: 11.94 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002239/0.7934, allocations: 113.9 kB / 1.103 GB, free: 11.91 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005613/0.794, allocations: 52.16 kB / 1.103 GB, free: 11.87 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01082/0.8048, allocations: 6.349 MB / 1.109 GB, free: 8.988 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000558/0.8054, allocations: 0.9487 MB / 1.11 GB, free: 8.246 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0002849/0.8057, allocations: 78.69 kB / 1.11 GB, free: 8.23 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002916/0.806, allocations: 219.2 kB / 1.111 GB, free: 8.059 MB / 0.8731 GB Notification: Performance of SimCode: time 9.32e-07/0.806, allocations: 1.375 kB / 1.111 GB, free: 8.059 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03812/0.8441, allocations: 11.78 MB / 1.122 GB, free: 6.355 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.492/10.34, allocations: 5.5 kB / 1.122 GB, free: 6.352 MB / 0.8731 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal_fmu --startTime=0 --stopTime=1500 --timeout=50 --tolerance=1e-06 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.mat","/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