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/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.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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.335/2.335, allocations: 390.3 MB / 405.3 MB, free: 13.46 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.001208/0.001208, allocations: 193 kB / 498.1 MB, free: 5.688 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.613/1.613, allocations: 223.2 MB / 0.7948 GB, free: 18.87 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.001027/0.001027, allocations: 98 kB / 0.9346 GB, free: 7.16 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004283/0.0004283, allocations: 10.34 kB / 1.084 GB, free: 212.8 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3137/0.3142, allocations: 142.4 MB / 1.223 GB, free: 89.46 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2034/0.5177, allocations: 152.2 MB / 1.372 GB, free: 1.074 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003115/0.518, allocations: 87.94 kB / 1.372 GB, free: 0.9883 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.02627/0.5443, allocations: 10.04 MB / 1.381 GB, free: 6.832 MB / 0.8855 GB Notification: Performance of FrontEnd: time 4.919e-06/0.5444, allocations: 4 kB / 1.381 GB, free: 6.828 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 2.715e-05/0.5444, allocations: 8 kB / 1.381 GB, free: 6.82 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.001576/0.546, allocations: 0.8972 MB / 1.382 GB, free: 5.871 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.787e-05/0.5461, allocations: 8.031 kB / 1.382 GB, free: 5.863 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.806e-05/0.5461, allocations: 46.55 kB / 1.382 GB, free: 5.809 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005925/0.5467, allocations: 118.9 kB / 1.382 GB, free: 5.691 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009186/0.5477, allocations: 0.5265 MB / 1.383 GB, free: 5.121 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.892e-05/0.5477, allocations: 12 kB / 1.383 GB, free: 5.109 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.943e-05/0.5478, allocations: 16 kB / 1.383 GB, free: 5.094 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005466/0.5483, allocations: 242.5 kB / 1.383 GB, free: 4.852 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.978e-06/0.5483, allocations: 0 / 1.383 GB, free: 4.852 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.32e-05/0.5484, allocations: 4 kB / 1.383 GB, free: 4.848 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.654e-06/0.5484, allocations: 4 kB / 1.383 GB, free: 4.844 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006758/0.5491, allocations: 307.8 kB / 1.384 GB, free: 4.543 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001758/0.5508, allocations: 0.9644 MB / 1.385 GB, free: 3.527 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009272/0.5518, allocations: 398.5 kB / 1.385 GB, free: 3.129 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007741/0.5526, allocations: 337 kB / 1.385 GB, free: 2.781 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.06e-05/0.5526, allocations: 34.5 kB / 1.385 GB, free: 2.738 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=9): time 1.312e-06/0.5526, allocations: 3.938 kB / 1.385 GB, free: 2.734 MB / 0.8855 GB Notification: Performance of matching and sorting (n=9): time 0.001173/0.5538, allocations: 0.516 MB / 1.386 GB, free: 2.211 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.814e-05/0.5538, allocations: 59.36 kB / 1.386 GB, free: 2.141 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001255/0.5551, allocations: 0.9069 MB / 1.387 GB, free: 1.23 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.914e-05/0.5551, allocations: 25.7 kB / 1.387 GB, free: 1.199 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003223/0.5555, allocations: 352.2 kB / 1.387 GB, free: 0.8516 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 4.346e-05/0.5555, allocations: 31.55 kB / 1.387 GB, free: 0.8203 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.12e-05/0.5555, allocations: 0 / 1.387 GB, free: 0.8203 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.000127/0.5557, allocations: 310 kB / 1.387 GB, free: 0.5117 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003068/0.556, allocations: 139.8 kB / 1.388 GB, free: 384 kB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002858/0.5563, allocations: 135.9 kB / 1.388 GB, free: 248 kB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003045/0.5566, allocations: 135.9 kB / 1.388 GB, free: 112 kB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.5566, allocations: 0 / 1.388 GB, free: 112 kB / 0.8855 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0007965/0.5574, allocations: 392.5 kB / 1.388 GB, free: 15.72 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.5574, allocations: 4 kB / 1.388 GB, free: 15.71 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.211e-06/0.5575, allocations: 0 / 1.388 GB, free: 15.71 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/0.5575, allocations: 0 / 1.388 GB, free: 15.71 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002133/0.5577, allocations: 39.91 kB / 1.388 GB, free: 15.68 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.5577, allocations: 0 / 1.388 GB, free: 15.68 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002025/0.5579, allocations: 27.84 kB / 1.388 GB, free: 15.65 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.023e-05/0.558, allocations: 8 kB / 1.388 GB, free: 15.64 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.0003015/0.5583, allocations: 247.5 kB / 1.388 GB, free: 15.39 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.972e-05/0.5584, allocations: 71.06 kB / 1.389 GB, free: 15.32 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001015/0.5594, allocations: 456.8 kB / 1.389 GB, free: 14.86 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.985e-06/0.5594, allocations: 4 kB / 1.389 GB, free: 14.86 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.5594, allocations: 0 / 1.389 GB, free: 14.86 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.5595, allocations: 0 / 1.389 GB, free: 14.86 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000647/0.5601, allocations: 0.5517 MB / 1.39 GB, free: 14.26 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.5601, allocations: 0 / 1.39 GB, free: 14.26 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001982/0.5603, allocations: 35.98 kB / 1.39 GB, free: 14.22 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.272e-06/0.5603, allocations: 3.984 kB / 1.39 GB, free: 14.22 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.968e-05/0.5604, allocations: 4 kB / 1.39 GB, free: 14.21 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.5604, allocations: 0 / 1.39 GB, free: 14.21 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.5604, allocations: 3.938 kB / 1.39 GB, free: 14.21 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007865/0.5612, allocations: 486.3 kB / 1.39 GB, free: 13.72 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003089/0.5615, allocations: 204.1 kB / 1.39 GB, free: 13.5 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.992e-05/0.5616, allocations: 0 / 1.39 GB, free: 13.5 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002102/0.5618, allocations: 23.98 kB / 1.39 GB, free: 13.48 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.714e-05/0.5618, allocations: 8 kB / 1.39 GB, free: 13.47 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.548e-05/0.5619, allocations: 11.98 kB / 1.39 GB, free: 13.46 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0009578/0.5628, allocations: 0.7292 MB / 1.391 GB, free: 12.73 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5629, allocations: 0 / 1.391 GB, free: 12.73 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0004357/0.5633, allocations: 79.84 kB / 1.391 GB, free: 12.65 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.001247/0.5645, allocations: 1.033 MB / 1.392 GB, free: 11.59 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0005671/0.5651, allocations: 244 kB / 1.392 GB, free: 11.35 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.5651, allocations: 0 / 1.392 GB, free: 11.35 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0002516/0.5654, allocations: 123.9 kB / 1.392 GB, free: 11.23 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000339/0.5657, allocations: 51.3 kB / 1.392 GB, free: 11.18 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007408/0.5732, allocations: 4.706 MB / 1.397 GB, free: 6.363 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006274/0.5738, allocations: 0.9626 MB / 1.398 GB, free: 5.379 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0002236/0.5741, allocations: 69.3 kB / 1.398 GB, free: 5.312 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002956/0.5744, allocations: 227.3 kB / 1.398 GB, free: 5.09 MB / 0.9011 GB Notification: Performance of SimCode: time 5.7e-06/0.5744, allocations: 0 / 1.398 GB, free: 5.09 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5812/1.156, allocations: 12.67 MB / 1.411 GB, free: 173 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001752/1.156, allocations: 195.2 kB / 1.411 GB, free: 172.7 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.184/3.34, allocations: 0 / 1.411 GB, free: 172.7 MB / 0.9011 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/linux/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) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal_res.mat does not exist to compare? outputFormat=mat