Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.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.EngineTemperature,fileNamePrefix="Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.451/2.451, allocations: 393.5 MB / 408.4 MB, free: 11.02 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.001414/0.001414, allocations: 181.5 kB / 0.4901 GB, free: 2.238 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.58 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.0009067/0.0009068, allocations: 104.1 kB / 0.9396 GB, free: 1.805 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000548/0.000548, allocations: 6.969 kB / 1.09 GB, free: 216.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3114/0.312, allocations: 143 MB / 1.229 GB, free: 105.5 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1845/0.4965, allocations: 153.2 MB / 1.379 GB, free: 172 kB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003037/0.4969, allocations: 91.94 kB / 1.379 GB, free: 80 kB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01522/0.5121, allocations: 6.245 MB / 1.385 GB, free: 9.723 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.903e-06/0.5122, allocations: 0 / 1.385 GB, free: 9.723 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.608e-05/0.5122, allocations: 4 kB / 1.385 GB, free: 9.719 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0009009/0.5131, allocations: 0.6105 MB / 1.386 GB, free: 9.059 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.856e-05/0.5132, allocations: 8.562 kB / 1.386 GB, free: 9.051 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.343e-05/0.5132, allocations: 46.56 kB / 1.386 GB, free: 8.996 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.971e-05/0.5133, allocations: 47.47 kB / 1.386 GB, free: 8.949 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002919/0.5136, allocations: 249.3 kB / 1.386 GB, free: 8.668 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.928e-05/0.5137, allocations: 12 kB / 1.386 GB, free: 8.656 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.762e-05/0.5137, allocations: 16 kB / 1.386 GB, free: 8.641 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003663/0.5141, allocations: 165 kB / 1.386 GB, free: 8.473 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.604e-05/0.5141, allocations: 0 / 1.386 GB, free: 8.473 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.786e-05/0.5141, allocations: 4 kB / 1.386 GB, free: 8.469 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.585e-06/0.5142, allocations: 4 kB / 1.386 GB, free: 8.465 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003222/0.5145, allocations: 123.9 kB / 1.386 GB, free: 8.344 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009375/0.5154, allocations: 0.5977 MB / 1.387 GB, free: 7.695 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003086/0.5158, allocations: 118.5 kB / 1.387 GB, free: 7.57 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 1.17e-05/0.5158, allocations: 4 kB / 1.387 GB, free: 7.566 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.67e-05/0.5158, allocations: 34.56 kB / 1.387 GB, free: 7.523 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=9): time 1.423e-06/0.5158, allocations: 0 / 1.387 GB, free: 7.523 MB / 0.8855 GB Notification: Performance of matching and sorting (n=9): time 0.000502/0.5163, allocations: 201.3 kB / 1.387 GB, free: 7.32 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.244e-05/0.5164, allocations: 51.41 kB / 1.387 GB, free: 7.258 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003844/0.5168, allocations: 357.1 kB / 1.388 GB, free: 6.895 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.673e-05/0.5168, allocations: 29.7 kB / 1.388 GB, free: 6.859 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001527/0.5169, allocations: 207.8 kB / 1.388 GB, free: 6.652 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 3.547e-05/0.517, allocations: 35.45 kB / 1.388 GB, free: 6.617 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.31e-06/0.517, allocations: 0 / 1.388 GB, free: 6.617 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001217/0.5171, allocations: 354.8 kB / 1.388 GB, free: 6.262 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001202/0.5172, allocations: 43.97 kB / 1.388 GB, free: 6.219 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001286/0.5174, allocations: 57.56 kB / 1.388 GB, free: 6.156 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001222/0.5175, allocations: 51.92 kB / 1.388 GB, free: 6.105 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.5175, allocations: 4 kB / 1.388 GB, free: 6.102 MB / 0.8855 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003235/0.5179, allocations: 161.2 kB / 1.389 GB, free: 5.938 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.5179, allocations: 8.031 kB / 1.389 GB, free: 5.93 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.5179, allocations: 0 / 1.389 GB, free: 5.93 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.761e-05/0.5179, allocations: 3.953 kB / 1.389 GB, free: 5.926 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001411/0.5181, allocations: 28.45 kB / 1.389 GB, free: 5.898 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.5181, allocations: 0 / 1.389 GB, free: 5.898 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001271/0.5182, allocations: 31.83 kB / 1.389 GB, free: 5.867 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.215e-06/0.5182, allocations: 0 / 1.389 GB, free: 5.867 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.0001584/0.5184, allocations: 170.4 kB / 1.389 GB, free: 5.691 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.772e-05/0.5185, allocations: 39.47 kB / 1.389 GB, free: 5.652 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.478e-05/0.5185, allocations: 43.31 kB / 1.389 GB, free: 5.609 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.614e-06/0.5186, allocations: 0 / 1.389 GB, free: 5.609 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.5186, allocations: 3.953 kB / 1.389 GB, free: 5.605 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.5186, allocations: 0 / 1.389 GB, free: 5.605 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003194/0.5189, allocations: 313.4 kB / 1.389 GB, free: 5.25 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.5189, allocations: 0 / 1.389 GB, free: 5.25 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001497/0.5191, allocations: 27.98 kB / 1.389 GB, free: 5.223 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/0.5191, allocations: 0 / 1.389 GB, free: 5.223 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.262e-05/0.5191, allocations: 4 kB / 1.389 GB, free: 5.219 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/0.5191, allocations: 0 / 1.389 GB, free: 5.219 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.5191, allocations: 0 / 1.389 GB, free: 5.219 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004631/0.5196, allocations: 314.9 kB / 1.389 GB, free: 4.895 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 7.967e-05/0.5197, allocations: 100.7 kB / 1.39 GB, free: 4.777 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.85e-05/0.5197, allocations: 0 / 1.39 GB, free: 4.777 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001337/0.5198, allocations: 15.98 kB / 1.39 GB, free: 4.762 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.914e-05/0.5199, allocations: 8.047 kB / 1.39 GB, free: 4.754 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.581e-06/0.5199, allocations: 4 kB / 1.39 GB, free: 4.75 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0002724/0.5202, allocations: 295.1 kB / 1.39 GB, free: 4.465 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.61e-07/0.5202, allocations: 0 / 1.39 GB, free: 4.465 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002839/0.5205, allocations: 47.84 kB / 1.39 GB, free: 4.418 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.0008178/0.5213, allocations: 0.8696 MB / 1.391 GB, free: 3.523 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0003079/0.5216, allocations: 103.8 kB / 1.391 GB, free: 3.422 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.5216, allocations: 0 / 1.391 GB, free: 3.422 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001395/0.5218, allocations: 48.03 kB / 1.391 GB, free: 3.375 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003549/0.5221, allocations: 33.55 kB / 1.391 GB, free: 3.344 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003175/0.5253, allocations: 2.077 MB / 1.393 GB, free: 1.211 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004288/0.5258, allocations: 0.8062 MB / 1.394 GB, free: 388 kB / 0.8855 GB Notification: Performance of simCode: alias equations: time 8.037e-05/0.5259, allocations: 13.42 kB / 1.394 GB, free: 368 kB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001244/0.526, allocations: 107.4 kB / 1.394 GB, free: 264 kB / 0.8855 GB Notification: Performance of SimCode: time 6.11e-07/0.526, allocations: 0 / 1.394 GB, free: 264 kB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01923/0.5452, allocations: 5.893 MB / 1.4 GB, free: 10.55 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002127/0.5455, allocations: 192.3 kB / 1.4 GB, free: 10.31 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.06/2.606, allocations: 0 / 1.4 GB, free: 10.31 MB / 0.9011 GB (rm -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature_fmu --startTime=0 --stopTime=1500 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature.fmu > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature_res.mat does not exist to compare? outputFormat=mat