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.257/2.257, allocations: 387.4 MB / 394.9 MB, free: 13.33 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.001008/0.001008, allocations: 172.9 kB / 487.4 MB, free: 5.027 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.473/1.473, allocations: 221.5 MB / 0.7824 GB, free: 0.9414 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009886/0.0009888, allocations: 106.8 kB / 0.9219 GB, free: 2.184 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.14e-05/2.128e-05, allocations: 8 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2509/0.2509, allocations: 142.4 MB / 1.206 GB, free: 43.84 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9636/1.215, allocations: 151.4 MB / 1.354 GB, free: 18.32 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002287/1.215, allocations: 83.19 kB / 1.354 GB, free: 18.32 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0237/1.239, allocations: 9.901 MB / 1.364 GB, free: 32.77 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.322e-06/1.239, allocations: 0 / 1.364 GB, free: 32.77 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.779e-05/1.239, allocations: 11.66 kB / 1.364 GB, free: 32.77 MB / 0.8386 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.0008067/1.239, allocations: 0.7424 MB / 1.364 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/1.239, allocations: 7.719 kB / 1.364 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005117/1.24, allocations: 118.3 kB / 1.365 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005745/1.241, allocations: 0.5079 MB / 1.365 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.777e-05/1.241, allocations: 11.75 kB / 1.365 GB, free: 31.87 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.125e-05/1.241, allocations: 7.375 kB / 1.365 GB, free: 31.87 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003532/1.241, allocations: 245.2 kB / 1.365 GB, free: 31.87 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002914/1.241, allocations: 196.6 kB / 1.365 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/1.241, allocations: 0 / 1.365 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.375e-05/1.241, allocations: 0 / 1.365 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/1.241, allocations: 3.906 kB / 1.365 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001225/1.243, allocations: 0.9266 MB / 1.366 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004775/1.243, allocations: 356 kB / 1.367 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001252/1.243, allocations: 115.8 kB / 1.367 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007327/1.244, allocations: 336.7 kB / 1.367 GB, free: 31.42 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.297e-05/1.244, allocations: 34.56 kB / 1.367 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=9): time 1.513e-06/1.244, allocations: 3.938 kB / 1.367 GB, free: 31.37 MB / 0.8386 GB Notification: Performance of matching and sorting (n=9): time 0.00104/1.245, allocations: 419.7 kB / 1.368 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.425e-05/1.245, allocations: 55.28 kB / 1.368 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008834/1.246, allocations: 0.8348 MB / 1.368 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.411e-05/1.246, allocations: 25.7 kB / 1.369 GB, free: 31.08 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.00023/1.246, allocations: 344.6 kB / 1.369 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.744e-05/1.246, allocations: 27.38 kB / 1.369 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.364e-05/1.246, allocations: 1.312 kB / 1.369 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001092/1.246, allocations: 312.9 kB / 1.369 GB, free: 30.65 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001145/1.247, allocations: 106.3 kB / 1.369 GB, free: 30.65 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000106/1.247, allocations: 110 kB / 1.369 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006498/1.247, allocations: 195.8 kB / 1.37 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/1.247, allocations: 0 / 1.37 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0009125/1.248, allocations: 424.4 kB / 1.37 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/1.248, allocations: 3.625 kB / 1.37 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/1.248, allocations: 0 / 1.37 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.701e-05/1.248, allocations: 4 kB / 1.37 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002235/1.249, allocations: 33.47 kB / 1.37 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/1.249, allocations: 0 / 1.37 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001903/1.249, allocations: 25.67 kB / 1.37 GB, free: 30.55 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.713e-05/1.249, allocations: 11.53 kB / 1.37 GB, free: 30.55 MB / 0.8386 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 () * 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 9.32e-05/1.249, allocations: 108.9 kB / 1.37 GB, free: 30.44 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008792/1.25, allocations: 427.7 kB / 1.371 GB, free: 30.36 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.301e-05/1.25, allocations: 70.16 kB / 1.371 GB, free: 30.32 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001144/1.251, allocations: 481.5 kB / 1.371 GB, free: 30.27 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/1.251, allocations: 0 / 1.371 GB, free: 30.27 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/1.251, allocations: 7.844 kB / 1.371 GB, free: 30.27 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/1.251, allocations: 0 / 1.371 GB, free: 30.27 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004896/1.252, allocations: 0.5101 MB / 1.372 GB, free: 30.11 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/1.252, allocations: 0 / 1.372 GB, free: 30.11 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001981/1.252, allocations: 32.72 kB / 1.372 GB, free: 30.11 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/1.252, allocations: 0 / 1.372 GB, free: 30.11 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.056e-05/1.252, allocations: 10.42 kB / 1.372 GB, free: 30.11 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/1.252, allocations: 0 / 1.372 GB, free: 30.11 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/1.252, allocations: 0 / 1.372 GB, free: 30.11 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000916/1.253, allocations: 0.5082 MB / 1.372 GB, free: 29.93 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001939/1.253, allocations: 198.4 kB / 1.372 GB, free: 29.8 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.963e-05/1.253, allocations: 0 / 1.372 GB, free: 29.8 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002086/1.253, allocations: 18.42 kB / 1.372 GB, free: 29.79 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.622e-05/1.253, allocations: 13.62 kB / 1.372 GB, free: 29.79 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.735e-05/1.253, allocations: 14.42 kB / 1.372 GB, free: 29.79 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0007221/1.254, allocations: 0.6518 MB / 1.373 GB, free: 29.7 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.6e-07/1.254, allocations: 0 / 1.373 GB, free: 29.7 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003859/1.254, allocations: 77.47 kB / 1.373 GB, free: 29.69 MB / 0.8386 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 () * 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.001308/1.256, allocations: 1.115 MB / 1.374 GB, free: 28.96 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002499/1.256, allocations: 184.6 kB / 1.374 GB, free: 28.96 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.878e-06/1.256, allocations: 0 / 1.374 GB, free: 28.96 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 9.019e-05/1.256, allocations: 99.78 kB / 1.374 GB, free: 28.96 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003496/1.256, allocations: 53.61 kB / 1.374 GB, free: 28.95 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001543/1.258, allocations: 0.9856 MB / 1.375 GB, free: 28.66 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005229/1.259, allocations: 0.9649 MB / 1.376 GB, free: 27.95 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0002001/1.259, allocations: 78.92 kB / 1.376 GB, free: 27.94 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002262/1.259, allocations: 220.9 kB / 1.377 GB, free: 27.93 MB / 0.8386 GB Notification: Performance of SimCode: time 9.31e-07/1.259, allocations: 3.844 kB / 1.377 GB, free: 27.93 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03134/1.29, allocations: 10.68 MB / 1.387 GB, free: 24.25 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001494/1.291, allocations: 173.8 kB / 1.387 GB, free: 24.05 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.224/3.515, allocations: 4 kB / 1.387 GB, free: 24.04 MB / 0.8386 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