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.312/2.312, allocations: 390.3 MB / 402.8 MB, free: 6.746 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.001305/0.001305, allocations: 180.8 kB / 496.1 MB, free: 12.89 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.997/1.997, allocations: 221.3 MB / 0.7915 GB, free: 5.402 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.0009682/0.0009683, allocations: 95.45 kB / 0.9317 GB, free: 5.715 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.795e-05/3.824e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3023/0.3023, allocations: 143 MB / 1.219 GB, free: 13.43 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9802/1.283, allocations: 149.2 MB / 1.365 GB, free: 4.824 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001985/1.283, allocations: 67.58 kB / 1.365 GB, free: 4.785 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.001119/1.284, allocations: 494.7 kB / 1.365 GB, free: 4.336 MB / 0.823 GB Notification: Performance of FrontEnd: time 9.81e-07/1.284, allocations: 0.5312 kB / 1.365 GB, free: 4.336 MB / 0.823 GB Notification: Performance of Transformations before backend: time 7.594e-06/1.284, allocations: 0.7188 kB / 1.365 GB, free: 4.336 MB / 0.823 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.0003027/1.284, allocations: 316.2 kB / 1.365 GB, free: 3.984 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.78e-05/1.284, allocations: 12.03 kB / 1.365 GB, free: 3.973 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.541e-05/1.284, allocations: 33.5 kB / 1.365 GB, free: 3.934 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.108e-05/1.284, allocations: 0 / 1.365 GB, free: 3.934 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002264/1.285, allocations: 176.5 kB / 1.366 GB, free: 3.723 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.278e-06/1.285, allocations: 0 / 1.366 GB, free: 3.723 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.162e-05/1.285, allocations: 7.906 kB / 1.366 GB, free: 3.715 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.925e-05/1.285, allocations: 40.8 kB / 1.366 GB, free: 3.672 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.364e-06/1.285, allocations: 0 / 1.366 GB, free: 3.672 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.105e-06/1.285, allocations: 0 / 1.366 GB, free: 3.672 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/1.285, allocations: 0 / 1.366 GB, free: 3.672 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.668e-05/1.285, allocations: 4 kB / 1.366 GB, free: 3.668 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001686/1.285, allocations: 160.8 kB / 1.366 GB, free: 3.465 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 4.45e-05/1.285, allocations: 26.02 kB / 1.366 GB, free: 3.434 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.18e-05/1.285, allocations: 12.92 kB / 1.366 GB, free: 3.418 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.389e-05/1.285, allocations: 0 / 1.366 GB, free: 3.418 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.524e-05/1.285, allocations: 30.56 kB / 1.366 GB, free: 3.379 MB / 0.823 GB Notification: Performance of pre-optimization done (n=1): time 1.072e-06/1.285, allocations: 0 / 1.366 GB, free: 3.379 MB / 0.823 GB Notification: Performance of matching and sorting (n=1): time 0.0001304/1.285, allocations: 41.12 kB / 1.366 GB, free: 3.336 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.544e-05/1.285, allocations: 59.28 kB / 1.366 GB, free: 3.266 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.627e-05/1.285, allocations: 101.3 kB / 1.366 GB, free: 3.164 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.442e-05/1.285, allocations: 33.73 kB / 1.366 GB, free: 3.125 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 4.652e-05/1.286, allocations: 80.14 kB / 1.366 GB, free: 3.043 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.814e-05/1.286, allocations: 2.625 kB / 1.366 GB, free: 3.043 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.936e-06/1.286, allocations: 0 / 1.366 GB, free: 3.043 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001248/1.286, allocations: 314.8 kB / 1.366 GB, free: 2.727 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.536e-05/1.286, allocations: 4 kB / 1.366 GB, free: 2.723 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.601e-05/1.286, allocations: 22.86 kB / 1.366 GB, free: 2.699 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.11e-05/1.286, allocations: 8.062 kB / 1.366 GB, free: 2.691 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/1.286, allocations: 0 / 1.366 GB, free: 2.691 MB / 0.823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.256e-05/1.286, allocations: 53.28 kB / 1.367 GB, free: 2.637 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/1.286, allocations: 8 kB / 1.367 GB, free: 2.629 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.608e-06/1.286, allocations: 0 / 1.367 GB, free: 2.629 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.134e-05/1.286, allocations: 0 / 1.367 GB, free: 2.629 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.648e-05/1.286, allocations: 7.984 kB / 1.367 GB, free: 2.621 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/1.286, allocations: 0 / 1.367 GB, free: 2.621 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.187e-05/1.286, allocations: 64 / 1.367 GB, free: 2.621 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.777e-06/1.286, allocations: 8 kB / 1.367 GB, free: 2.613 MB / 0.823 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 () * 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 6.429e-05/1.286, allocations: 108.9 kB / 1.367 GB, free: 2.5 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.933e-06/1.286, allocations: 0 / 1.367 GB, free: 2.5 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001093/1.286, allocations: 52.06 kB / 1.367 GB, free: 2.449 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-06/1.286, allocations: 0 / 1.367 GB, free: 2.449 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/1.286, allocations: 0 / 1.367 GB, free: 2.449 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/1.286, allocations: 3.984 kB / 1.367 GB, free: 2.445 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001288/1.286, allocations: 166.8 kB / 1.367 GB, free: 2.238 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/1.286, allocations: 7.969 kB / 1.367 GB, free: 2.23 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.772e-05/1.286, allocations: 0 / 1.367 GB, free: 2.23 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/1.286, allocations: 4 kB / 1.367 GB, free: 2.227 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.363e-06/1.286, allocations: 0 / 1.367 GB, free: 2.227 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/1.286, allocations: 0 / 1.367 GB, free: 2.227 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/1.286, allocations: 0 / 1.367 GB, free: 2.227 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001578/1.287, allocations: 80.89 kB / 1.367 GB, free: 2.133 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.532e-05/1.287, allocations: 85.09 kB / 1.367 GB, free: 2.031 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.241e-05/1.287, allocations: 4.094 kB / 1.367 GB, free: 2.027 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.015e-05/1.287, allocations: 0 / 1.367 GB, free: 2.027 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.609e-05/1.287, allocations: 3.688 kB / 1.367 GB, free: 2.027 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.599e-06/1.287, allocations: 4 kB / 1.367 GB, free: 2.023 MB / 0.823 GB Notification: Performance of sorting global known variables: time 4.778e-05/1.287, allocations: 84.14 kB / 1.367 GB, free: 1.941 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.3e-07/1.287, allocations: 0 / 1.367 GB, free: 1.941 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001801/1.287, allocations: 7.875 kB / 1.367 GB, free: 1.938 MB / 0.823 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 () * 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.0004035/1.287, allocations: 0.6157 MB / 1.368 GB, free: 1.293 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 7.287e-05/1.288, allocations: 19 kB / 1.368 GB, free: 1.277 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/1.288, allocations: 0 / 1.368 GB, free: 1.277 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 1.761e-05/1.288, allocations: 11.98 kB / 1.368 GB, free: 1.266 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.346e-05/1.288, allocations: 0 / 1.368 GB, free: 1.266 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003142/1.288, allocations: 112.5 kB / 1.368 GB, free: 1.125 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002718/1.288, allocations: 0.6848 MB / 1.369 GB, free: 424 kB / 0.823 GB Notification: Performance of simCode: alias equations: time 1.582e-05/1.288, allocations: 4 kB / 1.369 GB, free: 420 kB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.767e-05/1.288, allocations: 10.75 kB / 1.369 GB, free: 412 kB / 0.823 GB Notification: Performance of SimCode: time 2.3e-07/1.288, allocations: 3.938 kB / 1.369 GB, free: 408 kB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01192/1.3, allocations: 0.9812 MB / 1.37 GB, free: 15.54 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001865/1.3, allocations: 155.9 kB / 1.37 GB, free: 15.31 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.506/2.807, allocations: 0 / 1.37 GB, free: 15.31 MB / 0.8386 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