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.001485/0.001485, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.001817/0.001818, allocations: 198.4 kB / 16.14 MB, free: 6.793 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.366/1.366, allocations: 222.9 MB / 239.8 MB, free: 4.578 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.319/2.319, allocations: 390.2 MB / 0.6643 GB, free: 0.5977 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 59.91 kB / 0.812 GB, free: 14.79 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.547/0.5483, allocations: 140.4 MB / 0.9491 GB, free: 9.156 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.003103/0.5514, allocations: 2.302 MB / 0.9513 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001253/0.5527, allocations: 0.9419 MB / 0.9522 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001498/0.5528, allocations: 1.719 kB / 0.9522 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0005444/0.5534, allocations: 193.8 kB / 0.9524 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001539/0.5536, allocations: 55.09 kB / 0.9525 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002745/0.5539, allocations: 94.05 kB / 0.9525 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002345/0.5541, allocations: 206 kB / 0.9527 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001542/0.5543, allocations: 92.5 kB / 0.9528 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001312/0.5544, allocations: 88.84 kB / 0.9529 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001077/0.5545, allocations: 96.75 kB / 0.953 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.071e-05/0.5546, allocations: 10.03 kB / 0.953 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002784/0.5548, allocations: 144.8 kB / 0.9532 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001495/0.555, allocations: 216.1 kB / 0.9534 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001656/0.5552, allocations: 253.6 kB / 0.9536 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0005331/0.5557, allocations: 0.7008 MB / 0.9543 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.5557, allocations: 0 / 0.9543 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.383e-06/0.5557, allocations: 0.9688 kB / 0.9543 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.703e-05/0.5557, allocations: 0 / 0.9543 GB, free: 5.145 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.00122/0.557, allocations: 0.9712 MB / 0.9552 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/0.557, allocations: 9.5 kB / 0.9552 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.72e-05/0.5571, allocations: 47.59 kB / 0.9553 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005773/0.5576, allocations: 123.7 kB / 0.9554 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007159/0.5584, allocations: 0.5842 MB / 0.956 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.474e-05/0.5584, allocations: 11.56 kB / 0.956 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.225e-05/0.5584, allocations: 15.41 kB / 0.956 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003423/0.5588, allocations: 201.2 kB / 0.9562 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.5588, allocations: 7.922 kB / 0.9562 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.547e-05/0.5588, allocations: 5.469 kB / 0.9562 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.5588, allocations: 2.969 kB / 0.9562 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004188/0.5592, allocations: 228.4 kB / 0.9564 GB, free: 3.492 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001013/0.5603, allocations: 0.9173 MB / 0.9573 GB, free: 2.816 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005806/0.5609, allocations: 318.8 kB / 0.9576 GB, free: 2.676 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001911/0.5611, allocations: 109.1 kB / 0.9577 GB, free: 2.625 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006045/0.5617, allocations: 234.7 kB / 0.958 GB, free: 2.48 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.34e-05/0.5617, allocations: 35.92 kB / 0.958 GB, free: 2.438 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=9): time 1.302e-06/0.5617, allocations: 0 / 0.958 GB, free: 2.438 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9): time 0.0007408/0.5624, allocations: 397.5 kB / 0.9584 GB, free: 2.254 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.321e-05/0.5625, allocations: 53.59 kB / 0.9584 GB, free: 2.191 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001033/0.5635, allocations: 0.9954 MB / 0.9594 GB, free: 1.656 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.333e-05/0.5635, allocations: 30.08 kB / 0.9594 GB, free: 1.621 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.000207/0.5638, allocations: 347.5 kB / 0.9598 GB, free: 1.32 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.103e-05/0.5638, allocations: 35.92 kB / 0.9598 GB, free: 1.289 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.607e-05/0.5638, allocations: 21.38 kB / 0.9598 GB, free: 1.27 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.58e-05/0.5639, allocations: 319 kB / 0.9601 GB, free: 0.9531 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001909/0.5641, allocations: 95.67 kB / 0.9602 GB, free: 0.918 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001871/0.5643, allocations: 120.3 kB / 0.9603 GB, free: 0.8516 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003547/0.5646, allocations: 225.4 kB / 0.9605 GB, free: 0.7422 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.5646, allocations: 0 / 0.9605 GB, free: 0.7422 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004832/0.5651, allocations: 317.4 kB / 0.9608 GB, free: 0.5859 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.5651, allocations: 5.688 kB / 0.9608 GB, free: 0.5859 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.898e-06/0.5652, allocations: 0 / 0.9608 GB, free: 0.5859 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.026e-05/0.5652, allocations: 1.312 kB / 0.9608 GB, free: 0.5859 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001581/0.5653, allocations: 31.36 kB / 0.9609 GB, free: 0.5742 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.5653, allocations: 1.344 kB / 0.9609 GB, free: 0.5742 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001596/0.5655, allocations: 16.98 kB / 0.9609 GB, free: 0.5625 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.234e-05/0.5655, allocations: 7.562 kB / 0.9609 GB, free: 0.5586 MB / 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.000185/0.5657, allocations: 246.2 kB / 0.9611 GB, free: 380 kB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.466e-05/0.5658, allocations: 75.19 kB / 0.9612 GB, free: 336 kB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005402/0.5664, allocations: 328.1 kB / 0.9615 GB, free: 156 kB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.075e-06/0.5664, allocations: 1.312 kB / 0.9615 GB, free: 156 kB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.5664, allocations: 0 / 0.9615 GB, free: 156 kB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.5664, allocations: 1 kB / 0.9615 GB, free: 156 kB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000535/0.5669, allocations: 0.5351 MB / 0.962 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.5669, allocations: 192 / 0.962 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001561/0.5671, allocations: 23.81 kB / 0.9621 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.5671, allocations: 9 kB / 0.9621 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.258e-05/0.5671, allocations: 5.062 kB / 0.9621 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/0.5671, allocations: 1.094 kB / 0.9621 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/0.5671, allocations: 3.984 kB / 0.9621 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005456/0.5677, allocations: 402.2 kB / 0.9625 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001858/0.5679, allocations: 186 kB / 0.9626 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.973e-05/0.568, allocations: 5.125 kB / 0.9627 GB, free: 15.28 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000182/0.5681, allocations: 12.27 kB / 0.9627 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.893e-05/0.5682, allocations: 6.516 kB / 0.9627 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.987e-06/0.5682, allocations: 2.312 kB / 0.9627 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0008614/0.5691, allocations: 0.7148 MB / 0.9634 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5691, allocations: 0 / 0.9634 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003629/0.5694, allocations: 76.17 kB / 0.9634 GB, free: 14.87 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.0008958/0.5703, allocations: 0.9508 MB / 0.9644 GB, free: 14.08 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004546/0.5708, allocations: 212.2 kB / 0.9646 GB, free: 14 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.5708, allocations: 0 / 0.9646 GB, free: 14 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000251/0.5711, allocations: 115.9 kB / 0.9647 GB, free: 13.95 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004251/0.5715, allocations: 55.02 kB / 0.9647 GB, free: 13.91 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00914/0.5807, allocations: 6.776 MB / 0.9714 GB, free: 9.828 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005063/0.5812, allocations: 0.9413 MB / 0.9723 GB, free: 9 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002275/0.5814, allocations: 74.33 kB / 0.9723 GB, free: 8.969 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002574/0.5817, allocations: 218.6 kB / 0.9726 GB, free: 8.777 MB / 0.7325 GB Notification: Performance of SimCode: time 3.91e-07/0.5817, allocations: 1.406 kB / 0.9726 GB, free: 8.777 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.938/2.52, allocations: 11.32 MB / 0.9836 GB, free: 14.33 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002482/2.52, allocations: 214.7 kB / 0.9838 GB, free: 14.08 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.91/4.43, allocations: 0 / 0.9838 GB, free: 14.08 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