Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal,fileNamePrefix="Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal,fileNamePrefix="Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.524/2.524, allocations: 393.5 MB / 408.4 MB, free: 10.95 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.00116/0.00116, allocations: 185.9 kB / 0.4901 GB, free: 2.234 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.686/1.686, allocations: 223.1 MB / 0.7992 GB, free: 14.75 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.0009851/0.0009846, allocations: 90.8 kB / 0.9396 GB, free: 1.906 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003776/0.0003777, allocations: 14.97 kB / 1.09 GB, free: 216.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3205/0.3209, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2001/0.521, allocations: 153 MB / 1.379 GB, free: 452 kB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002538/0.5213, allocations: 87.94 kB / 1.379 GB, free: 364 kB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.02595/0.5473, allocations: 10.04 MB / 1.389 GB, free: 6.199 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.934e-06/0.5473, allocations: 8 kB / 1.389 GB, free: 6.191 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 2.753e-05/0.5474, allocations: 8 kB / 1.389 GB, free: 6.184 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.001657/0.549, allocations: 0.9019 MB / 1.389 GB, free: 5.23 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.587e-05/0.5491, allocations: 8.562 kB / 1.389 GB, free: 5.223 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.103e-05/0.5492, allocations: 42.56 kB / 1.39 GB, free: 5.172 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000583/0.5498, allocations: 122.9 kB / 1.39 GB, free: 5.051 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008207/0.5506, allocations: 0.5189 MB / 1.39 GB, free: 4.488 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.671e-05/0.5507, allocations: 8 kB / 1.39 GB, free: 4.48 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.409e-05/0.5507, allocations: 12 kB / 1.39 GB, free: 4.469 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005427/0.5513, allocations: 246 kB / 1.39 GB, free: 4.223 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.5513, allocations: 0 / 1.39 GB, free: 4.223 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.17e-05/0.5513, allocations: 4 kB / 1.39 GB, free: 4.219 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.543e-06/0.5513, allocations: 7.938 kB / 1.39 GB, free: 4.211 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006582/0.552, allocations: 304.7 kB / 1.391 GB, free: 3.914 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001658/0.5537, allocations: 0.976 MB / 1.392 GB, free: 2.887 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00107/0.5547, allocations: 402.4 kB / 1.392 GB, free: 2.484 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009158/0.5557, allocations: 336.8 kB / 1.392 GB, free: 2.137 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.669e-05/0.5557, allocations: 30.56 kB / 1.392 GB, free: 2.098 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=9): time 1.643e-06/0.5557, allocations: 0 / 1.392 GB, free: 2.098 MB / 0.8855 GB Notification: Performance of matching and sorting (n=9): time 0.001474/0.5572, allocations: 0.5162 MB / 1.393 GB, free: 1.574 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.192e-05/0.5573, allocations: 55.36 kB / 1.393 GB, free: 1.508 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001232/0.5585, allocations: 0.903 MB / 1.394 GB, free: 0.5977 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 3.033e-05/0.5586, allocations: 25.7 kB / 1.394 GB, free: 0.5664 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002934/0.5589, allocations: 351.8 kB / 1.394 GB, free: 224 kB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 4.258e-05/0.5589, allocations: 27.56 kB / 1.394 GB, free: 196 kB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.181e-05/0.5589, allocations: 0 / 1.394 GB, free: 196 kB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001421/0.5591, allocations: 318 kB / 1.394 GB, free: 15.88 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002945/0.5594, allocations: 131.9 kB / 1.395 GB, free: 15.75 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002997/0.5597, allocations: 139.9 kB / 1.395 GB, free: 15.61 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002977/0.56, allocations: 135.8 kB / 1.395 GB, free: 15.48 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.56, allocations: 0 / 1.395 GB, free: 15.48 MB / 0.9011 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0008105/0.5608, allocations: 389.1 kB / 1.395 GB, free: 15.09 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.866e-05/0.5609, allocations: 4 kB / 1.395 GB, free: 15.09 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.984e-06/0.5609, allocations: 96 / 1.395 GB, free: 15.09 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.5609, allocations: 7.875 kB / 1.395 GB, free: 15.08 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002125/0.5611, allocations: 39.97 kB / 1.395 GB, free: 15.04 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.5611, allocations: 3.984 kB / 1.395 GB, free: 15.04 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002101/0.5614, allocations: 23.88 kB / 1.395 GB, free: 15.01 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.662e-05/0.5614, allocations: 8 kB / 1.395 GB, free: 15 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (9): * Single equations (assignments): 9 * 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.0002964/0.5617, allocations: 249.7 kB / 1.396 GB, free: 14.75 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001049/0.5618, allocations: 82.97 kB / 1.396 GB, free: 14.67 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009839/0.5628, allocations: 444.5 kB / 1.396 GB, free: 14.22 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.5628, allocations: 4 kB / 1.396 GB, free: 14.22 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.5629, allocations: 0 / 1.396 GB, free: 14.22 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.5629, allocations: 0 / 1.396 GB, free: 14.22 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006507/0.5635, allocations: 0.5557 MB / 1.397 GB, free: 13.61 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.5635, allocations: 0 / 1.397 GB, free: 13.61 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002059/0.5637, allocations: 31.97 kB / 1.397 GB, free: 13.58 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.661e-06/0.5638, allocations: 0 / 1.397 GB, free: 13.58 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.188e-05/0.5638, allocations: 7.938 kB / 1.397 GB, free: 13.57 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.5638, allocations: 0 / 1.397 GB, free: 13.57 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.5638, allocations: 0 / 1.397 GB, free: 13.57 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008567/0.5647, allocations: 498.4 kB / 1.397 GB, free: 13.07 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003122/0.565, allocations: 204.1 kB / 1.397 GB, free: 12.85 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.562e-05/0.5651, allocations: 11.94 kB / 1.397 GB, free: 12.84 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002081/0.5653, allocations: 11.98 kB / 1.397 GB, free: 12.83 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.136e-05/0.5653, allocations: 7.984 kB / 1.397 GB, free: 12.82 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.525e-05/0.5654, allocations: 8 kB / 1.397 GB, free: 12.81 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0009692/0.5663, allocations: 0.7293 MB / 1.398 GB, free: 12.09 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5664, allocations: 0 / 1.398 GB, free: 12.09 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0004242/0.5668, allocations: 75.94 kB / 1.398 GB, free: 12.01 MB / 0.9011 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 (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.001252/0.5681, allocations: 1.033 MB / 1.399 GB, free: 10.95 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0005729/0.5686, allocations: 239.8 kB / 1.399 GB, free: 10.72 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.5687, allocations: 0 / 1.399 GB, free: 10.72 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0002758/0.5689, allocations: 127.9 kB / 1.4 GB, free: 10.59 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003497/0.5693, allocations: 55.23 kB / 1.4 GB, free: 10.54 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007535/0.5768, allocations: 4.695 MB / 1.404 GB, free: 5.734 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000775/0.5776, allocations: 0.9704 MB / 1.405 GB, free: 4.742 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0002616/0.5779, allocations: 81.22 kB / 1.405 GB, free: 4.664 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000318/0.5783, allocations: 219.4 kB / 1.405 GB, free: 4.449 MB / 0.9011 GB Notification: Performance of SimCode: time 1.533e-06/0.5783, allocations: 0 / 1.405 GB, free: 4.449 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03898/0.6173, allocations: 12.7 MB / 1.418 GB, free: 7.949 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001898/0.6175, allocations: 198.9 kB / 1.418 GB, free: 7.711 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.166/2.784, allocations: 0 / 1.418 GB, free: 7.711 MB / 0.9167 GB (rm -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal_fmu --startTime=0 --stopTime=1500 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal.fmu > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal_res.mat does not exist to compare? outputFormat=mat