Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.Performance.Example5.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.Examples.Performance.Example5,fileNamePrefix="Buildings_latest_Buildings_Fluid_Examples_Performance_Example5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example5,fileNamePrefix="Buildings_latest_Buildings_Fluid_Examples_Performance_Example5",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.208/2.208, allocations: 393.5 MB / 408.4 MB, free: 11.11 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.001168/0.001168, allocations: 187.9 kB / 0.4901 GB, free: 2.309 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.437/1.437, allocations: 223.1 MB / 0.7992 GB, free: 14.77 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.0009706/0.0009705, allocations: 90.45 kB / 0.9396 GB, free: 1.941 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003504/0.0003505, allocations: 14.5 kB / 1.09 GB, free: 216.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3051/0.3054, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1812/0.4867, allocations: 149.2 MB / 1.375 GB, free: 4.297 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002606/0.487, allocations: 67.95 kB / 1.375 GB, free: 4.23 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.001401/0.4884, allocations: 488.9 kB / 1.376 GB, free: 3.75 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.532e-06/0.4885, allocations: 0 / 1.376 GB, free: 3.75 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 8.246e-06/0.4885, allocations: 4 kB / 1.376 GB, free: 3.746 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003594/0.4889, allocations: 331.3 kB / 1.376 GB, free: 3.375 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.941e-05/0.4889, allocations: 8.562 kB / 1.376 GB, free: 3.367 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.733e-05/0.489, allocations: 30.56 kB / 1.376 GB, free: 3.328 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.058e-05/0.489, allocations: 7.906 kB / 1.376 GB, free: 3.32 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002336/0.4892, allocations: 179 kB / 1.376 GB, free: 3.105 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.029e-05/0.4893, allocations: 4 kB / 1.376 GB, free: 3.102 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.698e-05/0.4893, allocations: 4 kB / 1.376 GB, free: 3.098 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.316e-05/0.4894, allocations: 33.69 kB / 1.376 GB, free: 3.059 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.4894, allocations: 0 / 1.376 GB, free: 3.059 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.536e-06/0.4894, allocations: 3.938 kB / 1.376 GB, free: 3.055 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.4894, allocations: 0 / 1.376 GB, free: 3.055 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.937e-05/0.4894, allocations: 7.984 kB / 1.376 GB, free: 3.047 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001674/0.4896, allocations: 153.6 kB / 1.376 GB, free: 2.848 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.413e-05/0.4897, allocations: 31.56 kB / 1.376 GB, free: 2.809 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.437e-05/0.4897, allocations: 0 / 1.376 GB, free: 2.809 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.433e-05/0.4897, allocations: 34.62 kB / 1.376 GB, free: 2.766 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=1): time 9.21e-07/0.4897, allocations: 0 / 1.376 GB, free: 2.766 MB / 0.8698 GB Notification: Performance of matching and sorting (n=1): time 0.0001651/0.4899, allocations: 41.62 kB / 1.376 GB, free: 2.719 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.757e-05/0.4899, allocations: 51.41 kB / 1.376 GB, free: 2.656 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.254e-05/0.49, allocations: 105.1 kB / 1.377 GB, free: 2.547 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.535e-05/0.4901, allocations: 29.7 kB / 1.377 GB, free: 2.512 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 5.16e-05/0.4901, allocations: 84.14 kB / 1.377 GB, free: 2.426 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.362e-05/0.4902, allocations: 3.906 kB / 1.377 GB, free: 2.422 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.895e-06/0.4902, allocations: 0 / 1.377 GB, free: 2.422 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001252/0.4903, allocations: 318.8 kB / 1.377 GB, free: 2.102 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.638e-05/0.4903, allocations: 8 kB / 1.377 GB, free: 2.094 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.37e-05/0.4903, allocations: 13.72 kB / 1.377 GB, free: 2.074 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.552e-05/0.4904, allocations: 12.05 kB / 1.377 GB, free: 2.062 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.4904, allocations: 0 / 1.377 GB, free: 2.062 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.093e-05/0.4905, allocations: 49.62 kB / 1.377 GB, free: 2.008 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.4905, allocations: 8 kB / 1.377 GB, free: 2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.511e-06/0.4905, allocations: 0 / 1.377 GB, free: 2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/0.4905, allocations: 0 / 1.377 GB, free: 2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.893e-05/0.4906, allocations: 4 kB / 1.377 GB, free: 1.996 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.561e-06/0.4906, allocations: 3.938 kB / 1.377 GB, free: 1.992 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.489e-05/0.4906, allocations: 4.062 kB / 1.377 GB, free: 1.988 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.454e-06/0.4907, allocations: 4 kB / 1.377 GB, free: 1.984 MB / 0.8698 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 (2): * Single equations (assignments): 2 * 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 8.173e-05/0.4907, allocations: 118.6 kB / 1.377 GB, free: 1.859 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.656e-06/0.4908, allocations: 0 / 1.377 GB, free: 1.859 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001136/0.4909, allocations: 48.81 kB / 1.377 GB, free: 1.809 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.4909, allocations: 0 / 1.377 GB, free: 1.809 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.4909, allocations: 0 / 1.377 GB, free: 1.809 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.4909, allocations: 0 / 1.377 GB, free: 1.809 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000123/0.491, allocations: 165.5 kB / 1.377 GB, free: 1.598 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.491, allocations: 4.031 kB / 1.377 GB, free: 1.594 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.381e-05/0.4911, allocations: 8.234 kB / 1.377 GB, free: 1.586 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.4911, allocations: 0 / 1.377 GB, free: 1.586 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.907e-06/0.4911, allocations: 4 kB / 1.377 GB, free: 1.582 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.4911, allocations: 0 / 1.377 GB, free: 1.582 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.4911, allocations: 0 / 1.377 GB, free: 1.582 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001372/0.4913, allocations: 73.06 kB / 1.377 GB, free: 1.492 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.499e-05/0.4913, allocations: 93.17 kB / 1.378 GB, free: 1.383 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.344e-05/0.4914, allocations: 0 / 1.378 GB, free: 1.383 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.238e-05/0.4914, allocations: 0 / 1.378 GB, free: 1.383 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.332e-05/0.4914, allocations: 4 kB / 1.378 GB, free: 1.379 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.398e-06/0.4914, allocations: 7.938 kB / 1.378 GB, free: 1.371 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 5.301e-05/0.4915, allocations: 83.27 kB / 1.378 GB, free: 1.289 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1e-07/0.4915, allocations: 0 / 1.378 GB, free: 1.289 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0001927/0.4917, allocations: 12 kB / 1.378 GB, free: 1.277 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c) * 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 (2): * Single equations (assignments): 2 * 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.0004214/0.4921, allocations: 0.6209 MB / 1.378 GB, free: 0.6289 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 6.979e-05/0.4922, allocations: 15.98 kB / 1.378 GB, free: 0.6133 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.4922, allocations: 0 / 1.378 GB, free: 0.6133 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 1.364e-05/0.4922, allocations: 4 kB / 1.378 GB, free: 0.6094 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.861e-05/0.4923, allocations: 7.234 kB / 1.378 GB, free: 0.6055 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006421/0.493, allocations: 0.523 MB / 1.379 GB, free: 28 kB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002782/0.4933, allocations: 0.6809 MB / 1.379 GB, free: 15.32 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 1.715e-05/0.4933, allocations: 4 kB / 1.379 GB, free: 15.32 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.934e-05/0.4933, allocations: 15.44 kB / 1.379 GB, free: 15.3 MB / 0.8855 GB Notification: Performance of SimCode: time 4.3e-07/0.4933, allocations: 0 / 1.379 GB, free: 15.3 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01151/0.5049, allocations: 0.9655 MB / 1.38 GB, free: 14.45 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000174/0.5051, allocations: 182 kB / 1.381 GB, free: 14.21 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.633/2.138, allocations: 0 / 1.381 GB, free: 14.21 MB / 0.8855 GB (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example5.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.Example5.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example5.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Examples.Performance.Example5_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Examples_Performance_Example5_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Examples_Performance_Example5.fmu > Buildings_latest_Buildings.Fluid.Examples.Performance.Example5.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Examples.Performance.Example5_res.mat does not exist to compare? outputFormat=mat