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.001515/0.001515, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001863/0.001863, allocations: 194.6 kB / 16.53 MB, free: 6.664 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.373/1.373, allocations: 222.9 MB / 240.2 MB, free: 4.395 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.491/2.491, allocations: 437.1 MB / 0.7104 GB, free: 5.051 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00132/0.00132, allocations: 67.89 kB / 0.8694 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5267/0.528, allocations: 151.6 MB / 1.017 GB, free: 2.41 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.003074/0.5311, allocations: 2.238 MB / 1.02 GB, free: 160 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001196/0.5323, allocations: 0.9566 MB / 1.021 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.387e-05/0.5324, allocations: 0 / 1.021 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0004857/0.5329, allocations: 193.1 kB / 1.021 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001084/0.5331, allocations: 67.44 kB / 1.021 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003041/0.5334, allocations: 111.7 kB / 1.021 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002188/0.5336, allocations: 223.1 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001752/0.5338, allocations: 89.69 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 9.58e-05/0.5339, allocations: 87.53 kB / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000114/0.534, allocations: 107.3 kB / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.184e-05/0.534, allocations: 16 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002672/0.5343, allocations: 147.8 kB / 1.022 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001569/0.5345, allocations: 215.4 kB / 1.022 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001911/0.5347, allocations: 266.1 kB / 1.022 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0005614/0.5352, allocations: 0.7159 MB / 1.023 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.5353, allocations: 0 / 1.023 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.463e-06/0.5353, allocations: 0 / 1.023 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.863e-06/0.5353, allocations: 0 / 1.023 GB, free: 12.98 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.001026/0.5363, allocations: 0.9746 MB / 1.024 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.116e-05/0.5363, allocations: 8.031 kB / 1.024 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.295e-05/0.5364, allocations: 42.73 kB / 1.024 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000517/0.5369, allocations: 131.8 kB / 1.024 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006719/0.5376, allocations: 0.5856 MB / 1.024 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.317e-05/0.5376, allocations: 8.375 kB / 1.024 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.319e-05/0.5376, allocations: 12.38 kB / 1.024 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004055/0.5381, allocations: 202.6 kB / 1.025 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.5381, allocations: 7.922 kB / 1.025 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.698e-05/0.5381, allocations: 7.984 kB / 1.025 GB, free: 10.9 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.5381, allocations: 4 kB / 1.025 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004388/0.5386, allocations: 228.4 kB / 1.025 GB, free: 10.67 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009943/0.5396, allocations: 0.91 MB / 1.026 GB, free: 9.711 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006092/0.5402, allocations: 314.4 kB / 1.026 GB, free: 9.395 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002043/0.5404, allocations: 108.9 kB / 1.026 GB, free: 9.285 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006564/0.5411, allocations: 244.9 kB / 1.026 GB, free: 9.027 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.9e-05/0.5411, allocations: 30.56 kB / 1.026 GB, free: 8.988 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=9): time 1.162e-06/0.5411, allocations: 4 kB / 1.026 GB, free: 8.984 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9): time 0.0007723/0.5419, allocations: 404.5 kB / 1.027 GB, free: 8.582 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.717e-05/0.5419, allocations: 51.41 kB / 1.027 GB, free: 8.52 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001054/0.543, allocations: 0.9974 MB / 1.028 GB, free: 7.512 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.619e-05/0.543, allocations: 29.64 kB / 1.028 GB, free: 7.477 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002474/0.5432, allocations: 340 kB / 1.028 GB, free: 7.141 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.51e-05/0.5433, allocations: 31.55 kB / 1.028 GB, free: 7.109 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.513e-05/0.5433, allocations: 33.7 kB / 1.028 GB, free: 7.07 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.302e-05/0.5434, allocations: 309.9 kB / 1.029 GB, free: 6.762 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001996/0.5436, allocations: 95.95 kB / 1.029 GB, free: 6.668 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000206/0.5438, allocations: 122.5 kB / 1.029 GB, free: 6.539 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003941/0.5442, allocations: 218.8 kB / 1.029 GB, free: 6.316 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.5443, allocations: 4 kB / 1.029 GB, free: 6.312 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005192/0.5448, allocations: 316.5 kB / 1.029 GB, free: 5.996 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.5448, allocations: 8 kB / 1.029 GB, free: 5.988 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.5448, allocations: 0 / 1.029 GB, free: 5.988 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.11e-05/0.5448, allocations: 0 / 1.029 GB, free: 5.988 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001735/0.545, allocations: 35.97 kB / 1.029 GB, free: 5.953 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.01e-06/0.545, allocations: 0 / 1.029 GB, free: 5.953 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000156/0.5452, allocations: 19.84 kB / 1.029 GB, free: 5.934 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.224e-05/0.5452, allocations: 3.984 kB / 1.029 GB, free: 5.93 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.0002242/0.5454, allocations: 242.4 kB / 1.03 GB, free: 5.684 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.79e-05/0.5455, allocations: 75 kB / 1.03 GB, free: 5.609 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006001/0.5461, allocations: 340.4 kB / 1.03 GB, free: 5.27 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.5461, allocations: 0 / 1.03 GB, free: 5.27 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.5462, allocations: 0 / 1.03 GB, free: 5.27 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.736e-06/0.5462, allocations: 0 / 1.03 GB, free: 5.27 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000472/0.5466, allocations: 0.5323 MB / 1.03 GB, free: 4.688 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.5466, allocations: 3.984 kB / 1.03 GB, free: 4.684 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000152/0.5468, allocations: 23.97 kB / 1.03 GB, free: 4.66 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.5468, allocations: 7.938 kB / 1.03 GB, free: 4.652 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.144e-05/0.5468, allocations: 8 kB / 1.03 GB, free: 4.645 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.5468, allocations: 0 / 1.03 GB, free: 4.645 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.5468, allocations: 7.938 kB / 1.031 GB, free: 4.637 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000528/0.5474, allocations: 402.6 kB / 1.031 GB, free: 4.227 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001756/0.5476, allocations: 188.1 kB / 1.031 GB, free: 4.023 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.931e-05/0.5476, allocations: 0 / 1.031 GB, free: 4.023 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001771/0.5478, allocations: 7.984 kB / 1.031 GB, free: 4.016 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.344e-05/0.5478, allocations: 11.94 kB / 1.031 GB, free: 4.004 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.038e-05/0.5479, allocations: 4 kB / 1.031 GB, free: 4 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0007639/0.5486, allocations: 0.7176 MB / 1.032 GB, free: 3.289 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5486, allocations: 0 / 1.032 GB, free: 3.289 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003168/0.5489, allocations: 68 kB / 1.032 GB, free: 3.223 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.0008345/0.5498, allocations: 0.9497 MB / 1.033 GB, free: 2.246 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004514/0.5503, allocations: 215.8 kB / 1.033 GB, free: 2.035 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.5503, allocations: 0 / 1.033 GB, free: 2.035 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002069/0.5505, allocations: 107.9 kB / 1.033 GB, free: 1.93 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003667/0.5509, allocations: 54.72 kB / 1.033 GB, free: 1.875 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007302/0.5582, allocations: 6.656 MB / 1.04 GB, free: 11.12 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004756/0.5587, allocations: 0.9488 MB / 1.041 GB, free: 10.14 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.000207/0.5589, allocations: 77.33 kB / 1.041 GB, free: 10.07 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002428/0.5591, allocations: 215.4 kB / 1.041 GB, free: 9.855 MB / 0.795 GB Notification: Performance of SimCode: time 2.3e-07/0.5591, allocations: 0 / 1.041 GB, free: 9.855 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9632/1.522, allocations: 11.62 MB / 1.052 GB, free: 14.41 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.21/11.73, allocations: 7.688 kB / 1.052 GB, free: 14.4 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