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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.0008606/0.0008606, allocations: 91.84 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.005049/0.005049, allocations: 169.9 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.258/1.258, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.198/2.198, allocations: 390.9 MB / 0.6664 GB, free: 2.34 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000288/0.000288, allocations: 16 kB / 0.8161 GB, free: 13.1 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5508/0.5511, allocations: 142.4 MB / 0.9552 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.002045/0.5532, allocations: 1.955 MB / 0.9571 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001273/0.5545, allocations: 0.9209 MB / 0.958 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001367/0.5547, allocations: 1.125 kB / 0.958 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.000493/0.5552, allocations: 193.8 kB / 0.9582 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001074/0.5553, allocations: 58.03 kB / 0.9582 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002763/0.5556, allocations: 95.17 kB / 0.9583 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001907/0.5558, allocations: 209.2 kB / 0.9585 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001531/0.556, allocations: 85.42 kB / 0.9586 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.015e-05/0.556, allocations: 64.3 kB / 0.9587 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.098e-05/0.5561, allocations: 96.31 kB / 0.9588 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.194e-05/0.5562, allocations: 6.719 kB / 0.9588 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002408/0.5564, allocations: 140.2 kB / 0.9589 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001352/0.5566, allocations: 199.3 kB / 0.9591 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001423/0.5567, allocations: 277.2 kB / 0.9594 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004549/0.5572, allocations: 0.6822 MB / 0.96 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.5572, allocations: 0 / 0.96 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.593e-06/0.5572, allocations: 0 / 0.96 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.682e-06/0.5572, allocations: 1.375 kB / 0.96 GB, free: 4.031 MB / 0.7169 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.0008153/0.558, allocations: 0.875 MB / 0.9609 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.5581, allocations: 8.25 kB / 0.9609 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.735e-05/0.5581, allocations: 54.8 kB / 0.9609 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004832/0.5586, allocations: 120 kB / 0.961 GB, free: 3.137 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005973/0.5592, allocations: 0.5887 MB / 0.9616 GB, free: 2.672 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.484e-05/0.5592, allocations: 9.562 kB / 0.9616 GB, free: 2.668 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.315e-05/0.5593, allocations: 11.94 kB / 0.9616 GB, free: 2.664 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003512/0.5596, allocations: 198.7 kB / 0.9618 GB, free: 2.551 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-06/0.5596, allocations: 3.938 kB / 0.9618 GB, free: 2.547 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.634e-05/0.5596, allocations: 10 kB / 0.9618 GB, free: 2.539 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.74e-06/0.5597, allocations: 3 kB / 0.9618 GB, free: 2.539 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004232/0.5601, allocations: 222.7 kB / 0.9621 GB, free: 2.453 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009453/0.561, allocations: 0.9221 MB / 0.963 GB, free: 1.773 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006016/0.5617, allocations: 319 kB / 0.9633 GB, free: 1.633 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001924/0.5619, allocations: 109.3 kB / 0.9634 GB, free: 1.582 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000848/0.5627, allocations: 400 kB / 0.9638 GB, free: 1.348 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.304e-05/0.5627, allocations: 35.91 kB / 0.9638 GB, free: 1.305 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=9): time 1.102e-06/0.5627, allocations: 5.062 kB / 0.9638 GB, free: 1.301 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9): time 0.0006938/0.5634, allocations: 397.3 kB / 0.9642 GB, free: 1.117 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.865e-05/0.5635, allocations: 52.41 kB / 0.9642 GB, free: 1.055 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001027/0.5645, allocations: 1.004 MB / 0.9652 GB, free: 0.5117 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.315e-05/0.5645, allocations: 29.7 kB / 0.9652 GB, free: 488 kB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002053/0.5647, allocations: 340 kB / 0.9656 GB, free: 184 kB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.033e-05/0.5648, allocations: 30.61 kB / 0.9656 GB, free: 156 kB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.582e-05/0.5648, allocations: 17.41 kB / 0.9656 GB, free: 136 kB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 9.129e-05/0.5649, allocations: 314.8 kB / 0.9659 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002061/0.5651, allocations: 95.67 kB / 0.966 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000215/0.5653, allocations: 124.1 kB / 0.9661 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004234/0.5658, allocations: 225.1 kB / 0.9663 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.5658, allocations: 0 / 0.9663 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005481/0.5663, allocations: 321 kB / 0.9666 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.5663, allocations: 10.12 kB / 0.9666 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.5664, allocations: 1.031 kB / 0.9666 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.5664, allocations: 1 kB / 0.9666 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001562/0.5665, allocations: 26.11 kB / 0.9667 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.5665, allocations: 1.375 kB / 0.9667 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001539/0.5667, allocations: 17.64 kB / 0.9667 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.114e-05/0.5667, allocations: 3 kB / 0.9667 GB, free: 15.42 MB / 0.7325 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.0002357/0.567, allocations: 250.7 kB / 0.9669 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.246e-05/0.5671, allocations: 74.53 kB / 0.967 GB, free: 15.19 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006137/0.5677, allocations: 325 kB / 0.9673 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.5677, allocations: 1 kB / 0.9673 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.5677, allocations: 1.031 kB / 0.9673 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.5677, allocations: 3.984 kB / 0.9673 GB, free: 15.01 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005301/0.5682, allocations: 0.5313 MB / 0.9678 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.5683, allocations: 4 kB / 0.9678 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001366/0.5684, allocations: 20.05 kB / 0.9679 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.5684, allocations: 1.375 kB / 0.9679 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.321e-05/0.5684, allocations: 4.172 kB / 0.9679 GB, free: 14.58 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.5684, allocations: 9.094 kB / 0.9679 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.5684, allocations: 3.938 kB / 0.9679 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000545/0.569, allocations: 407.6 kB / 0.9683 GB, free: 14.31 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000183/0.5692, allocations: 172.9 kB / 0.9684 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.408e-05/0.5692, allocations: 9.328 kB / 0.9684 GB, free: 14.15 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001703/0.5694, allocations: 8.281 kB / 0.9684 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.648e-05/0.5695, allocations: 6.828 kB / 0.9684 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.043e-05/0.5695, allocations: 2.156 kB / 0.9685 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.000813/0.5703, allocations: 0.7315 MB / 0.9692 GB, free: 13.74 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5703, allocations: 0 / 0.9692 GB, free: 13.74 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000327/0.5706, allocations: 63.53 kB / 0.9692 GB, free: 13.73 MB / 0.7325 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.0008796/0.5715, allocations: 0.9498 MB / 0.9702 GB, free: 12.95 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004439/0.572, allocations: 212.7 kB / 0.9704 GB, free: 12.87 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.572, allocations: 8.125 kB / 0.9704 GB, free: 12.86 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000204/0.5722, allocations: 107.1 kB / 0.9705 GB, free: 12.82 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004046/0.5726, allocations: 52.2 kB / 0.9705 GB, free: 12.79 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009103/0.5817, allocations: 6.793 MB / 0.9771 GB, free: 8.301 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005643/0.5823, allocations: 0.944 MB / 0.9781 GB, free: 7.332 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002125/0.5825, allocations: 73.33 kB / 0.9781 GB, free: 7.254 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000259/0.5828, allocations: 219.4 kB / 0.9784 GB, free: 7.039 MB / 0.7325 GB Notification: Performance of SimCode: time 3.01e-07/0.5828, allocations: 0 / 0.9784 GB, free: 7.039 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0222/0.605, allocations: 11.27 MB / 0.9894 GB, free: 11.96 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001586/0.6052, allocations: 219.8 kB / 0.9896 GB, free: 11.71 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.833/2.438, allocations: 0 / 0.9896 GB, free: 11.71 MB / 0.7481 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