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/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.208/2.208, allocations: 390.3 MB / 405.3 MB, free: 13.47 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001371/0.001372, allocations: 192.8 kB / 498.1 MB, free: 5.723 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.575/1.575, allocations: 223.1 MB / 0.7948 GB, free: 17.89 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001137/0.001137, allocations: 98.97 kB / 0.9346 GB, free: 6.203 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003822/0.0003827, allocations: 12 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3122/0.3126, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1999/0.5125, allocations: 154 MB / 1.373 GB, free: 7.965 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003085/0.5129, allocations: 103.8 kB / 1.373 GB, free: 7.863 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.03041/0.5433, allocations: 12.28 MB / 1.385 GB, free: 11.45 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.973e-06/0.5434, allocations: 0 / 1.385 GB, free: 11.45 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.88e-05/0.5434, allocations: 16 kB / 1.385 GB, free: 11.43 MB / 0.8855 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.001485/0.5449, allocations: 1.026 MB / 1.386 GB, free: 10.35 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.931e-05/0.545, allocations: 16.03 kB / 1.386 GB, free: 10.34 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.318e-05/0.5451, allocations: 66.47 kB / 1.386 GB, free: 10.26 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001119/0.5462, allocations: 234.6 kB / 1.387 GB, free: 10.03 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007855/0.547, allocations: 0.5499 MB / 1.387 GB, free: 9.426 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.005e-05/0.547, allocations: 24.66 kB / 1.387 GB, free: 9.402 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.691e-05/0.5471, allocations: 32 kB / 1.387 GB, free: 9.371 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001016/0.5481, allocations: 453.9 kB / 1.388 GB, free: 8.922 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/0.5481, allocations: 0 / 1.388 GB, free: 8.922 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.867e-05/0.5482, allocations: 12 kB / 1.388 GB, free: 8.91 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.395e-05/0.5482, allocations: 8 kB / 1.388 GB, free: 8.902 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001289/0.5495, allocations: 0.5412 MB / 1.388 GB, free: 8.359 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00423/0.5537, allocations: 2.216 MB / 1.39 GB, free: 6.047 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001156/0.5549, allocations: 374.4 kB / 1.391 GB, free: 5.672 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 4.178e-05/0.555, allocations: 8.312 kB / 1.391 GB, free: 5.664 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.012e-05/0.555, allocations: 34.5 kB / 1.391 GB, free: 5.621 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=20): time 1.863e-06/0.555, allocations: 0 / 1.391 GB, free: 5.621 MB / 0.8855 GB Notification: Performance of matching and sorting (n=20): time 0.001714/0.5567, allocations: 0.5606 MB / 1.391 GB, free: 5.055 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.433e-05/0.5568, allocations: 51.41 kB / 1.391 GB, free: 4.992 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001451/0.5582, allocations: 1.138 MB / 1.393 GB, free: 3.836 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 3.709e-05/0.5583, allocations: 33.7 kB / 1.393 GB, free: 3.797 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003741/0.5587, allocations: 416.6 kB / 1.393 GB, free: 3.387 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 6.374e-05/0.5587, allocations: 63.02 kB / 1.393 GB, free: 3.324 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.29e-05/0.5588, allocations: 4 kB / 1.393 GB, free: 3.32 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001269/0.5589, allocations: 321.9 kB / 1.393 GB, free: 3 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005714/0.5595, allocations: 231.8 kB / 1.394 GB, free: 2.773 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005958/0.5601, allocations: 259.6 kB / 1.394 GB, free: 2.516 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000563/0.5607, allocations: 227.9 kB / 1.394 GB, free: 2.293 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.5607, allocations: 0 / 1.394 GB, free: 2.293 MB / 0.8855 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.001365/0.562, allocations: 0.5962 MB / 1.395 GB, free: 1.691 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.151e-05/0.5621, allocations: 7.938 kB / 1.395 GB, free: 1.684 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.804e-06/0.5621, allocations: 7.984 kB / 1.395 GB, free: 1.676 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.874e-05/0.5621, allocations: 0 / 1.395 GB, free: 1.676 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004506/0.5626, allocations: 75.94 kB / 1.395 GB, free: 1.602 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.997e-06/0.5626, allocations: 7.984 kB / 1.395 GB, free: 1.594 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004256/0.563, allocations: 67.64 kB / 1.395 GB, free: 1.527 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.235e-05/0.5631, allocations: 15.98 kB / 1.395 GB, free: 1.512 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (24): * Single equations (assignments): 24 * 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.0003542/0.5635, allocations: 277.6 kB / 1.395 GB, free: 1.23 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001203/0.5636, allocations: 86.88 kB / 1.395 GB, free: 1.145 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001244/0.5648, allocations: 459.8 kB / 1.396 GB, free: 0.6836 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.5648, allocations: 0 / 1.396 GB, free: 0.6836 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.5649, allocations: 0 / 1.396 GB, free: 0.6836 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.5649, allocations: 0 / 1.396 GB, free: 0.6836 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002213/0.5671, allocations: 1.23 MB / 1.397 GB, free: 15.38 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.387e-06/0.5671, allocations: 3.938 kB / 1.397 GB, free: 15.38 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000376/0.5675, allocations: 67.88 kB / 1.397 GB, free: 15.31 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.639e-06/0.5675, allocations: 4 kB / 1.397 GB, free: 15.3 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.947e-05/0.5675, allocations: 16.02 kB / 1.397 GB, free: 15.29 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.482e-06/0.5675, allocations: 4 kB / 1.397 GB, free: 15.29 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.5676, allocations: 0 / 1.397 GB, free: 15.29 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001203/0.5688, allocations: 0.6319 MB / 1.398 GB, free: 14.59 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003531/0.5691, allocations: 235.9 kB / 1.398 GB, free: 14.34 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.925e-05/0.5692, allocations: 8 kB / 1.398 GB, free: 14.33 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003949/0.5696, allocations: 47.95 kB / 1.398 GB, free: 14.28 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.175e-05/0.5697, allocations: 23.92 kB / 1.398 GB, free: 14.26 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.683e-05/0.5697, allocations: 8 kB / 1.398 GB, free: 14.25 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.001123/0.5709, allocations: 0.8999 MB / 1.399 GB, free: 13.34 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5709, allocations: 0 / 1.399 GB, free: 13.34 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0005018/0.5714, allocations: 123.8 kB / 1.399 GB, free: 13.22 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 1 (opeModWarUpEngTem.temChe.y) * Number of discrete states: 1 (opeModWarUpEngTem.temChe.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * 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.001888/0.5733, allocations: 1.648 MB / 1.4 GB, free: 11.51 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.001093/0.5744, allocations: 392.4 kB / 1.401 GB, free: 11.12 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.5744, allocations: 0 / 1.401 GB, free: 11.12 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0005155/0.5749, allocations: 172 kB / 1.401 GB, free: 10.96 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004184/0.5753, allocations: 72.25 kB / 1.401 GB, free: 10.88 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009496/0.5849, allocations: 5.759 MB / 1.407 GB, free: 4.934 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006427/0.5855, allocations: 1.013 MB / 1.408 GB, free: 3.898 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0003782/0.5859, allocations: 98.95 kB / 1.408 GB, free: 3.797 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004059/0.5864, allocations: 295.3 kB / 1.408 GB, free: 3.508 MB / 0.9011 GB Notification: Performance of SimCode: time 2.594e-06/0.5864, allocations: 0 / 1.408 GB, free: 3.508 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0339/0.6203, allocations: 15.65 MB / 1.423 GB, free: 4.043 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001873/0.6205, allocations: 187.8 kB / 1.423 GB, free: 3.809 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.298/2.919, allocations: 0 / 1.423 GB, free: 3.809 MB / 0.9167 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