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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001443/0.001443, allocations: 103.4 kB / 15.33 MB, free: 0.5039 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.0018/0.0018, allocations: 199.7 kB / 16.26 MB, free: 6.629 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.306/1.306, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.377/2.377, allocations: 390.3 MB / 0.6644 GB, free: 0.5469 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001304/0.001304, allocations: 63.91 kB / 0.8122 GB, free: 14.67 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5424/0.5438, allocations: 140.4 MB / 0.9492 GB, free: 9.102 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.002696/0.5465, allocations: 2.293 MB / 0.9515 GB, free: 7.293 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009541/0.5474, allocations: 0.9239 MB / 0.9524 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.344e-05/0.5475, allocations: 1.312 kB / 0.9524 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0004592/0.548, allocations: 192.6 kB / 0.9526 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.728e-05/0.5481, allocations: 60.45 kB / 0.9526 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002596/0.5484, allocations: 93.25 kB / 0.9527 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001935/0.5486, allocations: 226.7 kB / 0.9529 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001497/0.5487, allocations: 87.59 kB / 0.953 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.538e-05/0.5488, allocations: 79.97 kB / 0.9531 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.309e-05/0.5489, allocations: 113.4 kB / 0.9532 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.028e-05/0.549, allocations: 21.16 kB / 0.9532 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002353/0.5492, allocations: 146.7 kB / 0.9534 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001323/0.5493, allocations: 216.2 kB / 0.9536 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001328/0.5495, allocations: 269.9 kB / 0.9538 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004566/0.5499, allocations: 0.7133 MB / 0.9545 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.075e-06/0.5499, allocations: 4 kB / 0.9545 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.202e-06/0.55, allocations: 0 / 0.9545 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.416e-06/0.55, allocations: 0 / 0.9545 GB, free: 5.066 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.0008894/0.5509, allocations: 0.9684 MB / 0.9555 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.565e-05/0.5509, allocations: 9.375 kB / 0.9555 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.392e-05/0.5509, allocations: 46.48 kB / 0.9555 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004944/0.5514, allocations: 124.2 kB / 0.9556 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005662/0.552, allocations: 0.5922 MB / 0.9562 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.383e-05/0.552, allocations: 9.656 kB / 0.9562 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.136e-05/0.5521, allocations: 13.31 kB / 0.9562 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003462/0.5524, allocations: 197 kB / 0.9564 GB, free: 3.52 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.776e-06/0.5524, allocations: 3.938 kB / 0.9564 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.485e-05/0.5525, allocations: 5.094 kB / 0.9564 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.5525, allocations: 3.375 kB / 0.9564 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004106/0.5529, allocations: 224.4 kB / 0.9567 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008838/0.5538, allocations: 0.9174 MB / 0.9576 GB, free: 2.75 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005652/0.5543, allocations: 314.1 kB / 0.9579 GB, free: 2.613 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001927/0.5546, allocations: 114.6 kB / 0.958 GB, free: 2.559 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005776/0.5551, allocations: 241.5 kB / 0.9582 GB, free: 2.406 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.183e-05/0.5552, allocations: 35.69 kB / 0.9582 GB, free: 2.363 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=9): time 1.032e-06/0.5552, allocations: 0 / 0.9582 GB, free: 2.363 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9): time 0.0007272/0.5559, allocations: 406 kB / 0.9586 GB, free: 2.172 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.024e-05/0.5559, allocations: 53.62 kB / 0.9587 GB, free: 2.109 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001003/0.5569, allocations: 0.9954 MB / 0.9596 GB, free: 1.574 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.344e-05/0.557, allocations: 25.7 kB / 0.9597 GB, free: 1.543 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001984/0.5572, allocations: 343.9 kB / 0.96 GB, free: 1.246 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.056e-05/0.5572, allocations: 27.19 kB / 0.96 GB, free: 1.223 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.759e-05/0.5572, allocations: 29.17 kB / 0.96 GB, free: 1.195 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.563e-05/0.5573, allocations: 311.5 kB / 0.9603 GB, free: 0.8867 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001888/0.5575, allocations: 99.91 kB / 0.9604 GB, free: 0.8477 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001874/0.5577, allocations: 116.2 kB / 0.9605 GB, free: 0.7852 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003568/0.558, allocations: 228.9 kB / 0.9608 GB, free: 0.6719 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.558, allocations: 0 / 0.9608 GB, free: 0.6719 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004649/0.5585, allocations: 321.5 kB / 0.9611 GB, free: 0.5117 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.5585, allocations: 5.5 kB / 0.9611 GB, free: 0.5117 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.5585, allocations: 4.984 kB / 0.9611 GB, free: 0.5078 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/0.5586, allocations: 1.188 kB / 0.9611 GB, free: 0.5078 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001584/0.5587, allocations: 23.36 kB / 0.9611 GB, free: 0.5039 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.5587, allocations: 5.375 kB / 0.9611 GB, free: 0.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001578/0.5589, allocations: 20.36 kB / 0.9611 GB, free: 496 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.405e-05/0.5589, allocations: 7.797 kB / 0.9611 GB, free: 492 kB / 0.7169 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.0001907/0.5591, allocations: 246.7 kB / 0.9614 GB, free: 300 kB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.36e-05/0.5592, allocations: 74.75 kB / 0.9614 GB, free: 256 kB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005706/0.5598, allocations: 327.8 kB / 0.9618 GB, free: 76 kB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.5598, allocations: 1.312 kB / 0.9618 GB, free: 76 kB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.5598, allocations: 0.8125 kB / 0.9618 GB, free: 76 kB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.5598, allocations: 3.938 kB / 0.9618 GB, free: 72 kB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005237/0.5603, allocations: 0.5315 MB / 0.9623 GB, free: 15.65 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.5603, allocations: 0 / 0.9623 GB, free: 15.65 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001532/0.5605, allocations: 20.2 kB / 0.9623 GB, free: 15.65 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.5605, allocations: 1.062 kB / 0.9623 GB, free: 15.65 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.556e-05/0.5605, allocations: 4.969 kB / 0.9623 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.5605, allocations: 0.9688 kB / 0.9623 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.5606, allocations: 4.188 kB / 0.9623 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000555/0.5611, allocations: 406.9 kB / 0.9627 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001919/0.5613, allocations: 185.9 kB / 0.9629 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.516e-05/0.5614, allocations: 5.094 kB / 0.9629 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001877/0.5616, allocations: 11.3 kB / 0.9629 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.077e-05/0.5616, allocations: 3.094 kB / 0.9629 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.182e-05/0.5616, allocations: 14.39 kB / 0.9629 GB, free: 15.19 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0008677/0.5625, allocations: 0.7146 MB / 0.9636 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.11e-07/0.5625, allocations: 0.7812 kB / 0.9636 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003545/0.5629, allocations: 68.03 kB / 0.9637 GB, free: 14.8 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.0009015/0.5638, allocations: 0.9525 MB / 0.9646 GB, free: 14.01 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004781/0.5643, allocations: 229 kB / 0.9648 GB, free: 13.91 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.5643, allocations: 0 / 0.9648 GB, free: 13.91 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002059/0.5645, allocations: 103.3 kB / 0.9649 GB, free: 13.88 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004126/0.5649, allocations: 58.31 kB / 0.965 GB, free: 13.84 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009346/0.5743, allocations: 6.77 MB / 0.9716 GB, free: 9.758 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004951/0.5748, allocations: 0.942 MB / 0.9725 GB, free: 8.93 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002249/0.575, allocations: 78.02 kB / 0.9726 GB, free: 8.895 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000257/0.5753, allocations: 215.9 kB / 0.9728 GB, free: 8.707 MB / 0.7325 GB Notification: Performance of SimCode: time 2.5e-07/0.5753, allocations: 0 / 0.9728 GB, free: 8.707 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02264/0.5979, allocations: 11.48 MB / 0.984 GB, free: 14.07 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001719/0.5981, allocations: 215.5 kB / 0.9842 GB, free: 13.82 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.781/2.379, allocations: 1.828 kB / 0.9842 GB, free: 13.82 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