Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.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.Example8,fileNamePrefix="Buildings_latest_Buildings_Fluid_Examples_Performance_Example8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example8,fileNamePrefix="Buildings_latest_Buildings_Fluid_Examples_Performance_Example8",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.233/2.233, allocations: 390.3 MB / 402.8 MB, free: 6.688 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.001285/0.001285, allocations: 184.8 kB / 496.1 MB, free: 12.88 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.492/1.492, allocations: 221.3 MB / 0.7915 GB, free: 5.457 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.001045/0.001045, allocations: 95.94 kB / 0.9317 GB, free: 5.777 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.634e-05/3.638e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3154/0.3154, allocations: 143 MB / 1.219 GB, free: 13.43 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.097/1.412, allocations: 149.1 MB / 1.364 GB, free: 4.895 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002464/1.413, allocations: 69.92 kB / 1.365 GB, free: 4.855 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.000778/1.414, allocations: 414.1 kB / 1.365 GB, free: 4.461 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.623e-06/1.414, allocations: 4.688 kB / 1.365 GB, free: 4.457 MB / 0.823 GB Notification: Performance of Transformations before backend: time 7.474e-06/1.414, allocations: 0 / 1.365 GB, free: 4.457 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.000336/1.414, allocations: 306 kB / 1.365 GB, free: 4.117 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 6.103e-05/1.414, allocations: 12.09 kB / 1.365 GB, free: 4.105 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.913e-05/1.414, allocations: 34.25 kB / 1.365 GB, free: 4.066 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.496e-05/1.414, allocations: 0 / 1.365 GB, free: 4.066 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001349/1.414, allocations: 167 kB / 1.365 GB, free: 3.863 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.511e-05/1.414, allocations: 0.6875 kB / 1.365 GB, free: 3.863 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.44e-05/1.414, allocations: 4 kB / 1.365 GB, free: 3.859 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001292/1.414, allocations: 46.88 kB / 1.365 GB, free: 3.805 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/1.414, allocations: 0 / 1.365 GB, free: 3.805 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.083e-05/1.414, allocations: 0 / 1.365 GB, free: 3.805 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/1.414, allocations: 3.938 kB / 1.365 GB, free: 3.801 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.203e-05/1.415, allocations: 7.188 kB / 1.365 GB, free: 3.797 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000207/1.415, allocations: 157.9 kB / 1.366 GB, free: 3.594 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 6.487e-05/1.415, allocations: 41.16 kB / 1.366 GB, free: 3.535 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.66e-05/1.415, allocations: 13.84 kB / 1.366 GB, free: 3.516 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.234e-05/1.415, allocations: 0 / 1.366 GB, free: 3.516 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.215e-05/1.415, allocations: 36.38 kB / 1.366 GB, free: 3.477 MB / 0.823 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/1.415, allocations: 0 / 1.366 GB, free: 3.477 MB / 0.823 GB Notification: Performance of matching and sorting (n=2): time 0.0001879/1.415, allocations: 45.62 kB / 1.366 GB, free: 3.426 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.552e-05/1.415, allocations: 77.11 kB / 1.366 GB, free: 3.332 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.818e-05/1.415, allocations: 85.88 kB / 1.366 GB, free: 3.242 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.447e-05/1.415, allocations: 28.77 kB / 1.366 GB, free: 3.211 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 3.17e-05/1.415, allocations: 84.14 kB / 1.366 GB, free: 3.125 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 3.764e-05/1.415, allocations: 12.56 kB / 1.366 GB, free: 3.113 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.665e-06/1.415, allocations: 0 / 1.366 GB, free: 3.113 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001356/1.416, allocations: 314.8 kB / 1.366 GB, free: 2.797 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.22e-05/1.416, allocations: 4.062 kB / 1.366 GB, free: 2.793 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.181e-05/1.416, allocations: 17.47 kB / 1.366 GB, free: 2.773 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.733e-05/1.416, allocations: 9.953 kB / 1.366 GB, free: 2.766 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.13e-06/1.416, allocations: 0 / 1.366 GB, free: 2.766 MB / 0.823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.953e-05/1.416, allocations: 37.64 kB / 1.366 GB, free: 2.723 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/1.416, allocations: 4 kB / 1.366 GB, free: 2.719 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/1.416, allocations: 4.125 kB / 1.366 GB, free: 2.715 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.786e-05/1.416, allocations: 4 kB / 1.366 GB, free: 2.711 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.315e-05/1.416, allocations: 7.984 kB / 1.366 GB, free: 2.703 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/1.416, allocations: 0 / 1.366 GB, free: 2.703 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.074e-05/1.416, allocations: 0 / 1.366 GB, free: 2.703 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.13e-05/1.416, allocations: 0 / 1.366 GB, free: 2.703 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 0.0001116/1.416, allocations: 115.6 kB / 1.367 GB, free: 2.586 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.227e-06/1.416, allocations: 0 / 1.367 GB, free: 2.586 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001466/1.416, allocations: 56.23 kB / 1.367 GB, free: 2.531 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/1.416, allocations: 0 / 1.367 GB, free: 2.531 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/1.416, allocations: 0 / 1.367 GB, free: 2.531 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.127e-06/1.416, allocations: 4 kB / 1.367 GB, free: 2.527 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001377/1.416, allocations: 153.6 kB / 1.367 GB, free: 2.328 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.908e-06/1.416, allocations: 0 / 1.367 GB, free: 2.328 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.851e-05/1.416, allocations: 7.938 kB / 1.367 GB, free: 2.32 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.245e-06/1.416, allocations: 0 / 1.367 GB, free: 2.32 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.878e-06/1.416, allocations: 4 kB / 1.367 GB, free: 2.316 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/1.417, allocations: 0 / 1.367 GB, free: 2.316 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/1.417, allocations: 0 / 1.367 GB, free: 2.316 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001258/1.417, allocations: 86.91 kB / 1.367 GB, free: 2.211 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.976e-05/1.417, allocations: 85.02 kB / 1.367 GB, free: 2.109 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.369e-05/1.417, allocations: 3.938 kB / 1.367 GB, free: 2.105 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.99e-05/1.417, allocations: 0 / 1.367 GB, free: 2.105 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.1e-05/1.417, allocations: 32 / 1.367 GB, free: 2.105 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.065e-06/1.417, allocations: 12 kB / 1.367 GB, free: 2.094 MB / 0.823 GB Notification: Performance of sorting global known variables: time 4.045e-05/1.417, allocations: 75.28 kB / 1.367 GB, free: 2.02 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.71e-07/1.417, allocations: 0 / 1.367 GB, free: 2.02 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.000286/1.417, allocations: 3.938 kB / 1.367 GB, free: 2.02 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * 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 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.0004943/1.418, allocations: 0.6797 MB / 1.368 GB, free: 1.309 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 8.73e-05/1.418, allocations: 18.92 kB / 1.368 GB, free: 1.293 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/1.418, allocations: 0 / 1.368 GB, free: 1.293 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 1.248e-05/1.418, allocations: 4 kB / 1.368 GB, free: 1.289 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001337/1.418, allocations: 5.656 kB / 1.368 GB, free: 1.285 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003682/1.418, allocations: 95.48 kB / 1.368 GB, free: 1.156 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003039/1.419, allocations: 0.677 MB / 1.368 GB, free: 464 kB / 0.823 GB Notification: Performance of simCode: alias equations: time 2.418e-05/1.419, allocations: 0 / 1.368 GB, free: 464 kB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.741e-05/1.419, allocations: 11.44 kB / 1.368 GB, free: 452 kB / 0.823 GB Notification: Performance of SimCode: time 4.21e-07/1.419, allocations: 0 / 1.368 GB, free: 452 kB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01318/1.432, allocations: 0.7286 MB / 1.369 GB, free: 15.84 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002408/1.432, allocations: 149.4 kB / 1.369 GB, free: 15.61 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.509/2.942, allocations: 3.938 kB / 1.369 GB, free: 15.61 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Examples.Performance.Example8_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Examples_Performance_Example8_fmu --startTime=0 --stopTime=50 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Examples_Performance_Example8.fmu > Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Examples.Performance.Example8_res.mat does not exist to compare? outputFormat=mat