Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|opeModBas.PEle|opeModBas.QGen_flow|opeModBas.mWat_flow|opeModBas.TWatIn|opeModBas.mAir_flow|opeModBas.mFue_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|opeModBas.PEle|opeModBas.QGen_flow|opeModBas.mWat_flow|opeModBas.TWatIn|opeModBas.mAir_flow|opeModBas.mFue_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001454/0.001454, 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.001707/0.001707, allocations: 193.7 kB / 16.14 MB, free: 6.699 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.468/1.468, allocations: 222.9 MB / 239.8 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.735/2.735, allocations: 461.9 MB / 0.7342 GB, free: 15.06 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002069/0.002069, allocations: 61.78 kB / 0.8984 GB, free: 37.3 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3647/0.3668, allocations: 157.4 MB / 1.052 GB, free: 8.883 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.006076/0.3729, allocations: 2.316 MB / 1.054 GB, free: 6.551 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002168/0.3751, allocations: 0.956 MB / 1.055 GB, free: 5.594 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002434/0.3754, allocations: 4 kB / 1.055 GB, free: 5.59 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0007621/0.3762, allocations: 179.3 kB / 1.055 GB, free: 5.414 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001764/0.3764, allocations: 59.61 kB / 1.056 GB, free: 5.355 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003942/0.3768, allocations: 95.83 kB / 1.056 GB, free: 5.262 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002759/0.3771, allocations: 215 kB / 1.056 GB, free: 5.051 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000198/0.3773, allocations: 87.05 kB / 1.056 GB, free: 4.965 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001195/0.3774, allocations: 79.53 kB / 1.056 GB, free: 4.887 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001479/0.3776, allocations: 103.4 kB / 1.056 GB, free: 4.785 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.403e-05/0.3776, allocations: 12 kB / 1.056 GB, free: 4.773 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003134/0.3779, allocations: 143.8 kB / 1.056 GB, free: 4.633 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0002048/0.3781, allocations: 199.4 kB / 1.056 GB, free: 4.438 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0002181/0.3784, allocations: 258 kB / 1.057 GB, free: 4.184 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0007076/0.3791, allocations: 0.7042 MB / 1.057 GB, free: 3.477 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.3791, allocations: 0 / 1.057 GB, free: 3.477 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.233e-06/0.3791, allocations: 4 kB / 1.057 GB, free: 3.473 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 9.438e-06/0.3791, allocations: 0 / 1.057 GB, free: 3.473 MB / 0.8106 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.001359/0.3805, allocations: 0.9708 MB / 1.058 GB, free: 2.445 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.254e-05/0.3805, allocations: 8.031 kB / 1.058 GB, free: 2.438 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005849/0.3811, allocations: 119.8 kB / 1.058 GB, free: 2.32 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008058/0.382, allocations: 0.5895 MB / 1.059 GB, free: 1.691 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.142e-05/0.382, allocations: 8.375 kB / 1.059 GB, free: 1.684 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.097e-05/0.382, allocations: 16.36 kB / 1.059 GB, free: 1.668 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004501/0.3825, allocations: 198.7 kB / 1.059 GB, free: 1.469 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.3825, allocations: 192 / 1.059 GB, free: 1.469 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.304e-05/0.3825, allocations: 11.94 kB / 1.059 GB, free: 1.457 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.347e-06/0.3826, allocations: 4 kB / 1.059 GB, free: 1.453 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000513/0.3831, allocations: 223.9 kB / 1.059 GB, free: 1.234 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001313/0.3844, allocations: 0.9177 MB / 1.06 GB, free: 272 kB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006856/0.3851, allocations: 314.5 kB / 1.061 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002012/0.3853, allocations: 101 kB / 1.061 GB, free: 15.85 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007495/0.3861, allocations: 248.9 kB / 1.061 GB, free: 15.59 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.839e-05/0.3861, allocations: 38.56 kB / 1.061 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=9): time 1.693e-06/0.3861, allocations: 0 / 1.061 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9): time 0.0008261/0.387, allocations: 400.5 kB / 1.061 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.456e-05/0.387, allocations: 67.28 kB / 1.061 GB, free: 15.06 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001194/0.3882, allocations: 0.9935 MB / 1.062 GB, free: 14.06 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.392e-05/0.3883, allocations: 29.7 kB / 1.062 GB, free: 14.02 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003283/0.3886, allocations: 344 kB / 1.063 GB, free: 13.68 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.314e-05/0.3886, allocations: 31.55 kB / 1.063 GB, free: 13.65 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.35e-05/0.3887, allocations: 29.61 kB / 1.063 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001822/0.3889, allocations: 314 kB / 1.063 GB, free: 13.3 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002048/0.3891, allocations: 95.95 kB / 1.063 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000209/0.3893, allocations: 118.5 kB / 1.063 GB, free: 13.09 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004734/0.3898, allocations: 218.4 kB / 1.064 GB, free: 12.86 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.3898, allocations: 0 / 1.064 GB, free: 12.86 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005805/0.3904, allocations: 324.5 kB / 1.064 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.485e-05/0.3904, allocations: 4 kB / 1.064 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/0.3905, allocations: 0 / 1.064 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.996e-05/0.3905, allocations: 4 kB / 1.064 GB, free: 12.53 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001867/0.3907, allocations: 27.91 kB / 1.064 GB, free: 12.5 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.093e-05/0.3907, allocations: 4 kB / 1.064 GB, free: 12.5 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001637/0.3909, allocations: 8.062 kB / 1.064 GB, free: 12.49 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.138e-05/0.3909, allocations: 11.98 kB / 1.064 GB, free: 12.48 MB / 0.8262 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.0002923/0.3912, allocations: 242.2 kB / 1.064 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.618e-05/0.3913, allocations: 75 kB / 1.064 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006825/0.392, allocations: 332.4 kB / 1.065 GB, free: 11.83 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.564e-06/0.392, allocations: 3.984 kB / 1.065 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.392, allocations: 0 / 1.065 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.097e-06/0.392, allocations: 4 kB / 1.065 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006264/0.3927, allocations: 0.5323 MB / 1.065 GB, free: 11.24 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.3927, allocations: 7.875 kB / 1.065 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001526/0.3928, allocations: 27.91 kB / 1.065 GB, free: 11.2 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/0.3928, allocations: 0 / 1.065 GB, free: 11.2 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.768e-05/0.3929, allocations: 4 kB / 1.065 GB, free: 11.2 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.3929, allocations: 0 / 1.065 GB, free: 11.2 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.3929, allocations: 0 / 1.065 GB, free: 11.2 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006067/0.3935, allocations: 406.5 kB / 1.065 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002167/0.3937, allocations: 180.1 kB / 1.066 GB, free: 10.59 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.797e-05/0.3938, allocations: 8 kB / 1.066 GB, free: 10.58 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001732/0.394, allocations: 11.98 kB / 1.066 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.002e-05/0.394, allocations: 8 kB / 1.066 GB, free: 10.56 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.295e-05/0.394, allocations: 0 / 1.066 GB, free: 10.56 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0008979/0.3949, allocations: 0.7176 MB / 1.066 GB, free: 9.852 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.395, allocations: 0 / 1.066 GB, free: 9.852 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003877/0.3953, allocations: 71.94 kB / 1.066 GB, free: 9.781 MB / 0.8262 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.0002511/0.3956, allocations: 107.2 kB / 1.067 GB, free: 9.664 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004922/0.3961, allocations: 219.8 kB / 1.067 GB, free: 9.449 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.3961, allocations: 0 / 1.067 GB, free: 9.449 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002372/0.3964, allocations: 108.2 kB / 1.067 GB, free: 9.344 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004555/0.3968, allocations: 59.5 kB / 1.067 GB, free: 9.285 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002059/0.3989, allocations: 1.336 MB / 1.068 GB, free: 7.922 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005968/0.3995, allocations: 0.9371 MB / 1.069 GB, free: 6.961 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0002279/0.3997, allocations: 85.31 kB / 1.069 GB, free: 6.875 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.428e-05/0.3998, allocations: 39.42 kB / 1.069 GB, free: 6.836 MB / 0.8262 GB Notification: Performance of SimCode: time 7.31e-07/0.3998, allocations: 0 / 1.069 GB, free: 6.836 MB / 0.8262 GB Notification: Performance of Templates: time 0.01157/0.4114, allocations: 4.223 MB / 1.073 GB, free: 2.617 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.makefile (rm -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.sim & ./Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches