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.001139/0.001139, allocations: 90.83 kB / 15.36 MB, free: 0.7383 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.008552/0.008552, allocations: 172.2 kB / 16.26 MB, free: 6.613 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.276/1.276, allocations: 223.3 MB / 240.3 MB, free: 5.348 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.347/2.347, allocations: 437.8 MB / 0.7121 GB, free: 6.953 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0002894/0.0002895, allocations: 12 kB / 0.8729 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5319/0.5322, allocations: 153.8 MB / 1.023 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.002225/0.5344, allocations: 1.958 MB / 1.025 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001311/0.5358, allocations: 0.9297 MB / 1.026 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001202/0.5359, allocations: 4 kB / 1.026 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0004877/0.5364, allocations: 181.2 kB / 1.026 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001346/0.5366, allocations: 67.61 kB / 1.026 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002746/0.5368, allocations: 87.83 kB / 1.026 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002263/0.5371, allocations: 211.1 kB / 1.026 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001594/0.5373, allocations: 93.64 kB / 1.027 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001011/0.5374, allocations: 67.53 kB / 1.027 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001087/0.5375, allocations: 99.41 kB / 1.027 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.168e-05/0.5375, allocations: 8 kB / 1.027 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002528/0.5378, allocations: 135.8 kB / 1.027 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001532/0.5379, allocations: 195.4 kB / 1.027 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001782/0.5381, allocations: 267.8 kB / 1.027 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0005421/0.5387, allocations: 0.6963 MB / 1.028 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.5387, allocations: 0 / 1.028 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.242e-06/0.5387, allocations: 3.938 kB / 1.028 GB, free: 10.87 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 9.528e-06/0.5387, allocations: 4 kB / 1.028 GB, free: 10.87 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.0009655/0.5397, allocations: 0.8701 MB / 1.029 GB, free: 9.941 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.398e-05/0.5397, allocations: 8.031 kB / 1.029 GB, free: 9.934 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.325e-05/0.5398, allocations: 46.73 kB / 1.029 GB, free: 9.879 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004934/0.5403, allocations: 119.8 kB / 1.029 GB, free: 9.762 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006696/0.5409, allocations: 0.5973 MB / 1.03 GB, free: 9.125 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.272e-05/0.541, allocations: 8.375 kB / 1.03 GB, free: 9.117 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.431e-05/0.541, allocations: 12.38 kB / 1.03 GB, free: 9.105 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003523/0.5413, allocations: 194.2 kB / 1.03 GB, free: 8.91 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.5414, allocations: 3.938 kB / 1.03 GB, free: 8.906 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.698e-05/0.5414, allocations: 8 kB / 1.03 GB, free: 8.898 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.459e-06/0.5414, allocations: 0 / 1.03 GB, free: 8.898 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004254/0.5418, allocations: 227.9 kB / 1.03 GB, free: 8.676 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001029/0.5429, allocations: 0.9215 MB / 1.031 GB, free: 7.703 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005811/0.5435, allocations: 314.5 kB / 1.031 GB, free: 7.387 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001939/0.5437, allocations: 112.9 kB / 1.031 GB, free: 7.273 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008525/0.5445, allocations: 396.7 kB / 1.032 GB, free: 6.867 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.819e-05/0.5446, allocations: 38.56 kB / 1.032 GB, free: 6.82 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=9): time 1.062e-06/0.5446, allocations: 0 / 1.032 GB, free: 6.82 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9): time 0.0007427/0.5453, allocations: 400.5 kB / 1.032 GB, free: 6.422 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.787e-05/0.5453, allocations: 63.28 kB / 1.032 GB, free: 6.348 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001053/0.5464, allocations: 0.9974 MB / 1.033 GB, free: 5.34 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.59e-05/0.5464, allocations: 25.7 kB / 1.033 GB, free: 5.309 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002446/0.5467, allocations: 340 kB / 1.034 GB, free: 4.969 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.106e-05/0.5467, allocations: 31.55 kB / 1.034 GB, free: 4.938 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.969e-05/0.5467, allocations: 17.72 kB / 1.034 GB, free: 4.914 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.424e-05/0.5468, allocations: 310 kB / 1.034 GB, free: 4.605 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001965/0.547, allocations: 99.95 kB / 1.034 GB, free: 4.508 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001953/0.5472, allocations: 110.5 kB / 1.034 GB, free: 4.391 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003819/0.5476, allocations: 230.7 kB / 1.034 GB, free: 4.156 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.5476, allocations: 0 / 1.034 GB, free: 4.156 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005089/0.5482, allocations: 320.5 kB / 1.035 GB, free: 3.836 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.5482, allocations: 8 kB / 1.035 GB, free: 3.828 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.5482, allocations: 0 / 1.035 GB, free: 3.828 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.398e-06/0.5482, allocations: 0 / 1.035 GB, free: 3.828 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000154/0.5484, allocations: 27.92 kB / 1.035 GB, free: 3.801 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.5484, allocations: 0 / 1.035 GB, free: 3.801 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001477/0.5485, allocations: 15.92 kB / 1.035 GB, free: 3.785 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.151e-05/0.5485, allocations: 8.062 kB / 1.035 GB, free: 3.777 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.0002154/0.5488, allocations: 246.3 kB / 1.035 GB, free: 3.527 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.831e-05/0.5489, allocations: 75 kB / 1.035 GB, free: 3.453 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005688/0.5494, allocations: 324.5 kB / 1.035 GB, free: 3.129 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.5494, allocations: 4 kB / 1.035 GB, free: 3.125 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.5495, allocations: 0 / 1.035 GB, free: 3.125 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.5495, allocations: 3.984 kB / 1.035 GB, free: 3.121 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004719/0.5499, allocations: 0.5362 MB / 1.036 GB, free: 2.535 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.55, allocations: 0 / 1.036 GB, free: 2.535 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001378/0.5501, allocations: 27.86 kB / 1.036 GB, free: 2.508 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.5501, allocations: 0 / 1.036 GB, free: 2.508 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.302e-05/0.5501, allocations: 8 kB / 1.036 GB, free: 2.5 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.5501, allocations: 3.984 kB / 1.036 GB, free: 2.496 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.5501, allocations: 0 / 1.036 GB, free: 2.496 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005051/0.5506, allocations: 410.5 kB / 1.036 GB, free: 2.078 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001652/0.5508, allocations: 180.1 kB / 1.036 GB, free: 1.883 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.411e-05/0.5509, allocations: 0 / 1.036 GB, free: 1.883 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001649/0.551, allocations: 7.984 kB / 1.036 GB, free: 1.875 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.448e-05/0.5511, allocations: 7.984 kB / 1.036 GB, free: 1.867 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.038e-05/0.5511, allocations: 12 kB / 1.036 GB, free: 1.855 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0007797/0.5519, allocations: 0.7137 MB / 1.037 GB, free: 1.148 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5519, allocations: 0 / 1.037 GB, free: 1.148 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003113/0.5522, allocations: 75.83 kB / 1.037 GB, free: 1.074 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.0008007/0.553, allocations: 0.9458 MB / 1.038 GB, free: 104 kB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004243/0.5534, allocations: 220 kB / 1.038 GB, free: 15.88 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.5535, allocations: 0 / 1.038 GB, free: 15.88 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001999/0.5537, allocations: 107.9 kB / 1.038 GB, free: 15.78 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000374/0.554, allocations: 51.3 kB / 1.038 GB, free: 15.72 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008377/0.5624, allocations: 6.806 MB / 1.045 GB, free: 8.809 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004694/0.5629, allocations: 0.9412 MB / 1.046 GB, free: 7.844 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0002128/0.5631, allocations: 77.33 kB / 1.046 GB, free: 7.766 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002409/0.5634, allocations: 219.4 kB / 1.046 GB, free: 7.551 MB / 0.795 GB Notification: Performance of SimCode: time 3.11e-07/0.5634, allocations: 0 / 1.046 GB, free: 7.551 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02561/0.589, allocations: 11.29 MB / 1.057 GB, free: 12.48 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001986/0.5892, allocations: 216.9 kB / 1.058 GB, free: 12.23 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.725/2.314, allocations: 2.5 kB / 1.058 GB, free: 12.23 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