Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.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.EngineTemperature,fileNamePrefix="Buildings_9_Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature,fileNamePrefix="Buildings_9_Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature",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.302/2.302, allocations: 390.3 MB / 405.3 MB, free: 13.4 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.001106/0.001106, allocations: 181 kB / 498.1 MB, free: 5.68 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.671/1.671, allocations: 223.2 MB / 0.7948 GB, free: 17.95 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.001047/0.001047, allocations: 103.2 kB / 0.9346 GB, free: 6.234 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004044/0.0004045, allocations: 10.41 kB / 1.084 GB, free: 221.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3159/0.3164, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1872/0.5036, allocations: 152.4 MB / 1.372 GB, free: 9.625 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003042/0.5039, allocations: 91.94 kB / 1.372 GB, free: 9.535 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01532/0.5193, allocations: 6.241 MB / 1.378 GB, free: 3.184 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.854e-06/0.5193, allocations: 0 / 1.378 GB, free: 3.184 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.763e-05/0.5194, allocations: 4 kB / 1.378 GB, free: 3.18 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0009209/0.5203, allocations: 0.612 MB / 1.379 GB, free: 2.52 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.586e-05/0.5204, allocations: 8.031 kB / 1.379 GB, free: 2.512 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.668e-05/0.5204, allocations: 50.55 kB / 1.379 GB, free: 2.453 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.15e-05/0.5205, allocations: 43.48 kB / 1.379 GB, free: 2.41 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003095/0.5208, allocations: 253.2 kB / 1.379 GB, free: 2.125 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.876e-05/0.5209, allocations: 8 kB / 1.379 GB, free: 2.117 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.377e-05/0.5209, allocations: 20 kB / 1.379 GB, free: 2.098 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003726/0.5213, allocations: 157.4 kB / 1.379 GB, free: 1.938 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.676e-05/0.5213, allocations: 0 / 1.379 GB, free: 1.938 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.968e-05/0.5213, allocations: 4 kB / 1.379 GB, free: 1.934 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.115e-06/0.5214, allocations: 4 kB / 1.379 GB, free: 1.93 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003366/0.5217, allocations: 123.9 kB / 1.379 GB, free: 1.809 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001021/0.5227, allocations: 0.6016 MB / 1.38 GB, free: 1.156 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003282/0.5231, allocations: 106.6 kB / 1.38 GB, free: 1.043 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.541e-05/0.5231, allocations: 0 / 1.38 GB, free: 1.043 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.438e-05/0.5231, allocations: 34.56 kB / 1.38 GB, free: 1 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=9): time 1.463e-06/0.5231, allocations: 0 / 1.38 GB, free: 1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=9): time 0.0005527/0.5237, allocations: 201.6 kB / 1.38 GB, free: 0.7969 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.81e-05/0.5238, allocations: 51.41 kB / 1.38 GB, free: 0.7344 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004047/0.5242, allocations: 365.1 kB / 1.38 GB, free: 376 kB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.691e-05/0.5242, allocations: 29.8 kB / 1.381 GB, free: 340 kB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.00016/0.5244, allocations: 219.6 kB / 1.381 GB, free: 116 kB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 3.281e-05/0.5244, allocations: 27.56 kB / 1.381 GB, free: 88 kB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.16e-06/0.5244, allocations: 3.938 kB / 1.381 GB, free: 84 kB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001485/0.5246, allocations: 350.8 kB / 1.381 GB, free: 15.73 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001532/0.5247, allocations: 43.97 kB / 1.381 GB, free: 15.69 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001284/0.5249, allocations: 61.62 kB / 1.381 GB, free: 15.62 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001234/0.525, allocations: 39.98 kB / 1.381 GB, free: 15.58 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.525, allocations: 4 kB / 1.381 GB, free: 15.58 MB / 0.8855 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003359/0.5254, allocations: 169.1 kB / 1.381 GB, free: 15.41 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.09e-05/0.5254, allocations: 4 kB / 1.381 GB, free: 15.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.5254, allocations: 0 / 1.381 GB, free: 15.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.862e-05/0.5254, allocations: 3.953 kB / 1.381 GB, free: 15.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001472/0.5256, allocations: 35.95 kB / 1.381 GB, free: 15.36 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.5256, allocations: 0 / 1.381 GB, free: 15.36 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00013/0.5257, allocations: 23.89 kB / 1.381 GB, free: 15.34 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.558e-06/0.5257, allocations: 0 / 1.381 GB, free: 15.34 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (11): * Single equations (assignments): 11 * 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.0001581/0.5259, allocations: 161.8 kB / 1.382 GB, free: 15.17 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.515e-05/0.526, allocations: 35.53 kB / 1.382 GB, free: 15.14 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.335e-05/0.5261, allocations: 43.31 kB / 1.382 GB, free: 15.1 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.5261, allocations: 4 kB / 1.382 GB, free: 15.09 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.5261, allocations: 3.953 kB / 1.382 GB, free: 15.09 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.5261, allocations: 0 / 1.382 GB, free: 15.09 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003189/0.5264, allocations: 313.4 kB / 1.382 GB, free: 14.73 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.5264, allocations: 0 / 1.382 GB, free: 14.73 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001542/0.5266, allocations: 23.98 kB / 1.382 GB, free: 14.71 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.989e-06/0.5266, allocations: 0 / 1.382 GB, free: 14.71 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.45e-05/0.5266, allocations: 7.938 kB / 1.382 GB, free: 14.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.39e-06/0.5266, allocations: 4 kB / 1.382 GB, free: 14.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.5266, allocations: 3.938 kB / 1.382 GB, free: 14.7 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005246/0.5272, allocations: 318.9 kB / 1.382 GB, free: 14.37 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 9.063e-05/0.5273, allocations: 108.7 kB / 1.382 GB, free: 14.24 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.34e-05/0.5273, allocations: 4 kB / 1.382 GB, free: 14.24 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001379/0.5274, allocations: 11.98 kB / 1.382 GB, free: 14.23 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.7e-05/0.5275, allocations: 3.984 kB / 1.382 GB, free: 14.22 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.623e-06/0.5275, allocations: 4 kB / 1.382 GB, free: 14.22 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.000318/0.5278, allocations: 295.1 kB / 1.383 GB, free: 13.93 MB / 0.8855 GB Notification: Performance of sort global known variables: time 4.41e-07/0.5279, allocations: 0 / 1.383 GB, free: 13.93 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002886/0.5281, allocations: 48 kB / 1.383 GB, free: 13.89 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (eng.capTheEng.T) * 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.0008766/0.529, allocations: 0.8646 MB / 1.384 GB, free: 13 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0003117/0.5294, allocations: 99.95 kB / 1.384 GB, free: 12.9 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.5294, allocations: 0 / 1.384 GB, free: 12.9 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001296/0.5295, allocations: 51.91 kB / 1.384 GB, free: 12.85 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003122/0.5298, allocations: 38.11 kB / 1.384 GB, free: 12.81 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002811/0.5326, allocations: 2.074 MB / 1.386 GB, free: 10.67 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003653/0.533, allocations: 0.7984 MB / 1.387 GB, free: 9.848 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 7.176e-05/0.5331, allocations: 17.42 kB / 1.387 GB, free: 9.828 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001208/0.5332, allocations: 99.41 kB / 1.387 GB, free: 9.73 MB / 0.8855 GB Notification: Performance of SimCode: time 6.32e-07/0.5332, allocations: 0 / 1.387 GB, free: 9.73 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02077/0.554, allocations: 5.891 MB / 1.392 GB, free: 4.012 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001948/0.5543, allocations: 192.3 kB / 1.393 GB, free: 3.77 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.997/2.551, allocations: 3.938 kB / 1.393 GB, free: 3.766 MB / 0.8855 GB (rm -f Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe ; mkfifo Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe >> ../files/Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature_fmu --startTime=0 --stopTime=1500 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature.fmu > Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature_res.mat does not exist to compare? outputFormat=mat