Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.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.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-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.EnergyConversionWarmUp,fileNamePrefix="Buildings_9_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp,fileNamePrefix="Buildings_9_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp",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.001145/0.001145, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001372/0.001372, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.381/1.381, allocations: 223.2 MB / 239.9 MB, free: 5.469 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.509/2.509, allocations: 390.3 MB / 0.6653 GB, free: 2.93 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003526/0.0003526, allocations: 8 kB / 0.8146 GB, free: 14.18 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7603/0.7607, allocations: 142.3 MB / 0.9536 GB, free: 8.078 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp): time 0.002662/0.7634, allocations: 2.265 MB / 0.9558 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001776/0.7652, allocations: 0.9691 MB / 0.9568 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000223/0.7655, allocations: 4.656 kB / 0.9568 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0005948/0.7661, allocations: 202.4 kB / 0.957 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002001/0.7663, allocations: 71.91 kB / 0.957 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004621/0.7668, allocations: 124.1 kB / 0.9571 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003612/0.7671, allocations: 264 kB / 0.9574 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003055/0.7674, allocations: 160.5 kB / 0.9575 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001295/0.7676, allocations: 107.7 kB / 0.9577 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001545/0.7677, allocations: 134 kB / 0.9578 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.14e-05/0.7678, allocations: 11.75 kB / 0.9578 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002837/0.7681, allocations: 135.3 kB / 0.9579 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.000171/0.7683, allocations: 189.6 kB / 0.9581 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 9.671e-05/0.7684, allocations: 144.5 kB / 0.9582 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0005602/0.7689, allocations: 0.6768 MB / 0.9589 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.7689, allocations: 0 / 0.9589 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.194e-06/0.769, allocations: 0 / 0.9589 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.077e-06/0.769, allocations: 0 / 0.9589 GB, free: 4.055 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: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.00118/0.7701, allocations: 0.9921 MB / 0.9599 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.316e-05/0.7702, allocations: 9.25 kB / 0.9599 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.099e-05/0.7703, allocations: 68.38 kB / 0.9599 GB, free: 3.145 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001299/0.7716, allocations: 269.2 kB / 0.9602 GB, free: 3.02 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001723/0.7733, allocations: 0.9572 MB / 0.9611 GB, free: 2.285 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.278e-05/0.7734, allocations: 28.69 kB / 0.9612 GB, free: 2.27 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.275e-05/0.7734, allocations: 36.31 kB / 0.9612 GB, free: 2.254 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007686/0.7742, allocations: 322.8 kB / 0.9615 GB, free: 2.066 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.7742, allocations: 4 kB / 0.9615 GB, free: 2.062 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.359e-05/0.7743, allocations: 11.78 kB / 0.9615 GB, free: 2.055 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.332e-05/0.7743, allocations: 10.92 kB / 0.9615 GB, free: 2.051 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008966/0.7752, allocations: 312 kB / 0.9618 GB, free: 1.91 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002327/0.7775, allocations: 1.436 MB / 0.9632 GB, free: 0.7148 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005012/0.778, allocations: 156.2 kB / 0.9634 GB, free: 0.6328 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.478e-05/0.7781, allocations: 7.109 kB / 0.9634 GB, free: 0.6289 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.196e-05/0.7781, allocations: 36.34 kB / 0.9634 GB, free: 0.5859 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=15): time 2.254e-06/0.7781, allocations: 0 / 0.9634 GB, free: 0.5859 MB / 0.7169 GB Notification: Performance of matching and sorting (n=15): time 0.00064/0.7788, allocations: 246.3 kB / 0.9637 GB, free: 460 kB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.688e-05/0.7788, allocations: 52.47 kB / 0.9637 GB, free: 396 kB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001095/0.7799, allocations: 0.8504 MB / 0.9645 GB, free: 15.9 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.746e-05/0.78, allocations: 30.67 kB / 0.9646 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004366/0.7804, allocations: 451.9 kB / 0.965 GB, free: 15.47 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.421e-05/0.7804, allocations: 50.09 kB / 0.965 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.138e-05/0.7805, allocations: 5.312 kB / 0.965 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001229/0.7806, allocations: 316.7 kB / 0.9653 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001503/0.7807, allocations: 50.66 kB / 0.9654 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002465/0.781, allocations: 171.8 kB / 0.9656 GB, free: 14.9 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001973/0.7812, allocations: 77.98 kB / 0.9656 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.7812, allocations: 1.344 kB / 0.9656 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000603/0.7818, allocations: 325.5 kB / 0.9659 GB, free: 14.68 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.305e-05/0.7819, allocations: 7.219 kB / 0.966 GB, free: 14.68 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.748e-06/0.7819, allocations: 5 kB / 0.966 GB, free: 14.68 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.137e-05/0.7819, allocations: 13.36 kB / 0.966 GB, free: 14.67 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002674/0.7822, allocations: 63.66 kB / 0.966 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.775e-05/0.7822, allocations: 12.7 kB / 0.966 GB, free: 14.65 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001951/0.7824, allocations: 29.88 kB / 0.9661 GB, free: 14.63 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.808e-05/0.7825, allocations: 15.5 kB / 0.9661 GB, free: 14.62 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 2 ($PRE.opeModWarUpEngTem.temChe.y,opeModWarUpEngTem.temChe.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003624/0.7828, allocations: 271.4 kB / 0.9663 GB, free: 14.42 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001118/0.7829, allocations: 87.69 kB / 0.9664 GB, free: 14.37 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005156/0.7835, allocations: 222.6 kB / 0.9666 GB, free: 14.24 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.7835, allocations: 1.125 kB / 0.9666 GB, free: 14.24 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.7835, allocations: 8.891 kB / 0.9667 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.7835, allocations: 0 / 0.9667 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001269/0.7848, allocations: 0.7286 MB / 0.9674 GB, free: 13.64 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.7848, allocations: 0.8125 kB / 0.9674 GB, free: 13.64 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001806/0.785, allocations: 45.39 kB / 0.9674 GB, free: 13.63 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.661e-06/0.785, allocations: 2.062 kB / 0.9674 GB, free: 13.63 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.445e-05/0.785, allocations: 2 kB / 0.9674 GB, free: 13.63 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.514e-06/0.785, allocations: 1.125 kB / 0.9674 GB, free: 13.63 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.785, allocations: 9.719 kB / 0.9674 GB, free: 13.62 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005248/0.7856, allocations: 360.7 kB / 0.9678 GB, free: 13.32 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001758/0.7858, allocations: 157.6 kB / 0.9679 GB, free: 13.16 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.895e-05/0.7858, allocations: 2.906 kB / 0.9679 GB, free: 13.16 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001582/0.786, allocations: 10.94 kB / 0.9679 GB, free: 13.16 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.694e-05/0.786, allocations: 14.38 kB / 0.9679 GB, free: 13.15 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.953e-05/0.7861, allocations: 7.766 kB / 0.9679 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0008067/0.7869, allocations: 0.5952 MB / 0.9685 GB, free: 12.79 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7869, allocations: 0 / 0.9685 GB, free: 12.79 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004238/0.7873, allocations: 71.56 kB / 0.9686 GB, free: 12.77 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009227/0.7882, allocations: 1.111 MB / 0.9697 GB, free: 11.73 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004189/0.7887, allocations: 150.7 kB / 0.9698 GB, free: 11.67 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.7887, allocations: 0 / 0.9698 GB, free: 11.67 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001502/0.7888, allocations: 60.7 kB / 0.9699 GB, free: 11.64 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000371/0.7892, allocations: 61.5 kB / 0.9699 GB, free: 11.6 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008817/0.798, allocations: 6.64 MB / 0.9764 GB, free: 6.457 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000751/0.7988, allocations: 1.016 MB / 0.9774 GB, free: 5.586 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0004175/0.7993, allocations: 92 kB / 0.9775 GB, free: 5.539 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003945/0.7997, allocations: 283.1 kB / 0.9778 GB, free: 5.293 MB / 0.7325 GB Notification: Performance of SimCode: time 1.473e-06/0.7997, allocations: 4 kB / 0.9778 GB, free: 5.289 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02671/0.8264, allocations: 10.92 MB / 0.9884 GB, free: 11.81 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000193/0.8266, allocations: 204 kB / 0.9886 GB, free: 11.57 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.943/2.77, allocations: 0 / 0.9886 GB, free: 11.57 MB / 0.7481 GB (rm -f Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe ; mkfifo Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe >> ../files/Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp_fmu --startTime=0 --stopTime=1500 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp.fmu > Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp_res.mat does not exist to compare? outputFormat=mat