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.004291/0.004291, allocations: 97.92 kB / 15.73 MB, free: 6.062 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.001143/0.001143, allocations: 194.9 kB / 16.68 MB, free: 5.969 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: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.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.247/2.247, allocations: 437.1 MB / 0.7105 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001724/0.001724, allocations: 67.89 kB / 1.018 GB, free: 9.875 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6239/0.6256, allocations: 151.6 MB / 1.166 GB, free: 3.781 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.003168/0.6288, allocations: 2.267 MB / 1.168 GB, free: 1.504 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001238/0.6301, allocations: 0.9563 MB / 1.169 GB, free: 0.543 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.481e-05/0.6302, allocations: 0 / 1.169 GB, free: 0.543 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0004785/0.6306, allocations: 190.9 kB / 1.17 GB, free: 364 kB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001084/0.6308, allocations: 67.5 kB / 1.17 GB, free: 296 kB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002912/0.6311, allocations: 111.7 kB / 1.17 GB, free: 184 kB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0002546/0.6313, allocations: 223 kB / 1.17 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001629/0.6315, allocations: 93.67 kB / 1.17 GB, free: 15.87 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001041/0.6316, allocations: 83.58 kB / 1.17 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001159/0.6317, allocations: 107.3 kB / 1.17 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 3.002e-05/0.6318, allocations: 16 kB / 1.17 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002673/0.632, allocations: 143.8 kB / 1.17 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001712/0.6322, allocations: 211.4 kB / 1.171 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0002062/0.6324, allocations: 270 kB / 1.171 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0006828/0.6331, allocations: 0.7267 MB / 1.171 GB, free: 14.33 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.6331, allocations: 0 / 1.171 GB, free: 14.33 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.102e-06/0.6331, allocations: 0 / 1.171 GB, free: 14.33 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 8.345e-06/0.6332, allocations: 0 / 1.171 GB, free: 14.33 MB / 0.9044 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.001138/0.6343, allocations: 1.009 MB / 1.172 GB, free: 13.26 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.913e-05/0.6343, allocations: 16.86 kB / 1.173 GB, free: 13.25 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.743e-05/0.6344, allocations: 42.75 kB / 1.173 GB, free: 13.2 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004808/0.6349, allocations: 128.3 kB / 1.173 GB, free: 13.07 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006989/0.6356, allocations: 0.5942 MB / 1.173 GB, free: 12.43 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.644e-05/0.6356, allocations: 12.38 kB / 1.173 GB, free: 12.42 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.101e-05/0.6356, allocations: 8.375 kB / 1.173 GB, free: 12.41 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003591/0.636, allocations: 202.1 kB / 1.173 GB, free: 12.21 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.636, allocations: 3.938 kB / 1.173 GB, free: 12.21 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.775e-05/0.6361, allocations: 8 kB / 1.173 GB, free: 12.2 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.251e-06/0.6361, allocations: 4 kB / 1.173 GB, free: 12.2 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004362/0.6365, allocations: 223.9 kB / 1.174 GB, free: 11.98 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001059/0.6376, allocations: 0.9101 MB / 1.175 GB, free: 11.02 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006085/0.6382, allocations: 318.5 kB / 1.175 GB, free: 10.7 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000214/0.6384, allocations: 116.8 kB / 1.175 GB, free: 10.58 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000642/0.6391, allocations: 236.9 kB / 1.175 GB, free: 10.33 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.411e-05/0.6391, allocations: 30.56 kB / 1.175 GB, free: 10.29 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=9): time 1.022e-06/0.6391, allocations: 0 / 1.175 GB, free: 10.29 MB / 0.9044 GB Notification: Performance of matching and sorting (n=9): time 0.0007771/0.6399, allocations: 413 kB / 1.176 GB, free: 9.879 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.936e-05/0.6399, allocations: 55.34 kB / 1.176 GB, free: 9.812 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001119/0.6411, allocations: 0.9935 MB / 1.177 GB, free: 8.812 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.747e-05/0.6411, allocations: 33.7 kB / 1.177 GB, free: 8.773 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002929/0.6414, allocations: 344.1 kB / 1.177 GB, free: 8.43 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.284e-05/0.6414, allocations: 27.75 kB / 1.177 GB, free: 8.402 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.187e-05/0.6415, allocations: 25.7 kB / 1.177 GB, free: 8.371 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001174/0.6416, allocations: 314 kB / 1.177 GB, free: 8.059 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002068/0.6418, allocations: 99.94 kB / 1.177 GB, free: 7.961 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002087/0.642, allocations: 118.5 kB / 1.178 GB, free: 7.836 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004093/0.6424, allocations: 230.7 kB / 1.178 GB, free: 7.602 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.6424, allocations: 0 / 1.178 GB, free: 7.602 MB / 0.9044 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005324/0.643, allocations: 321 kB / 1.178 GB, free: 7.281 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.236e-05/0.643, allocations: 4.062 kB / 1.178 GB, free: 7.277 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.643, allocations: 8 kB / 1.178 GB, free: 7.27 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.082e-05/0.643, allocations: 0 / 1.178 GB, free: 7.27 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001547/0.6432, allocations: 31.92 kB / 1.178 GB, free: 7.238 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.619e-06/0.6432, allocations: 0 / 1.178 GB, free: 7.238 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000141/0.6434, allocations: 19.88 kB / 1.178 GB, free: 7.219 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.301e-05/0.6434, allocations: 4 kB / 1.178 GB, free: 7.215 MB / 0.9044 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.0002378/0.6436, allocations: 249.7 kB / 1.178 GB, free: 6.961 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.825e-05/0.6437, allocations: 75.47 kB / 1.178 GB, free: 6.887 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005961/0.6443, allocations: 328.4 kB / 1.179 GB, free: 6.559 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.6443, allocations: 4 kB / 1.179 GB, free: 6.555 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.6443, allocations: 0 / 1.179 GB, free: 6.555 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.6443, allocations: 0 / 1.179 GB, free: 6.555 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005283/0.6449, allocations: 0.5285 MB / 1.179 GB, free: 5.977 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.6449, allocations: 4 kB / 1.179 GB, free: 5.973 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001443/0.645, allocations: 23.92 kB / 1.179 GB, free: 5.949 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.609e-06/0.645, allocations: 7.984 kB / 1.179 GB, free: 5.941 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.368e-05/0.6451, allocations: 4 kB / 1.179 GB, free: 5.938 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.6451, allocations: 0 / 1.179 GB, free: 5.938 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.6451, allocations: 0 / 1.179 GB, free: 5.938 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005497/0.6456, allocations: 414.9 kB / 1.18 GB, free: 5.516 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001918/0.6458, allocations: 188.5 kB / 1.18 GB, free: 5.312 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.474e-05/0.6459, allocations: 0 / 1.18 GB, free: 5.312 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001632/0.646, allocations: 7.984 kB / 1.18 GB, free: 5.305 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.129e-05/0.6461, allocations: 11.92 kB / 1.18 GB, free: 5.293 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.528e-06/0.6461, allocations: 4 kB / 1.18 GB, free: 5.289 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0008331/0.6469, allocations: 0.7176 MB / 1.181 GB, free: 4.574 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6469, allocations: 4 kB / 1.181 GB, free: 4.57 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003043/0.6472, allocations: 71.83 kB / 1.181 GB, free: 4.5 MB / 0.9044 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.0009105/0.6482, allocations: 0.9579 MB / 1.182 GB, free: 3.512 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0004538/0.6486, allocations: 215.8 kB / 1.182 GB, free: 3.301 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.6486, allocations: 0 / 1.182 GB, free: 3.301 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0002083/0.6489, allocations: 112 kB / 1.182 GB, free: 3.191 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003599/0.6492, allocations: 51.3 kB / 1.182 GB, free: 3.145 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007632/0.6569, allocations: 6.388 MB / 1.188 GB, free: 12.65 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005612/0.6574, allocations: 0.9479 MB / 1.189 GB, free: 11.68 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0001811/0.6576, allocations: 81.31 kB / 1.189 GB, free: 11.59 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002604/0.6579, allocations: 215.4 kB / 1.189 GB, free: 11.38 MB / 0.92 GB Notification: Performance of SimCode: time 4.61e-07/0.6579, allocations: 0 / 1.189 GB, free: 11.38 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7744/1.432, allocations: 11.79 MB / 1.201 GB, free: 15.78 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.49/13.92, allocations: 2.031 kB / 1.201 GB, free: 15.78 MB / 0.9356 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=400 --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