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.386/2.386, allocations: 393.5 MB / 408.4 MB, free: 11.05 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.001069/0.001069, allocations: 195 kB / 0.4901 GB, free: 2.281 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.548/1.548, allocations: 223.1 MB / 0.7992 GB, free: 14.8 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.0008712/0.0008712, allocations: 92.33 kB / 0.9396 GB, free: 1.957 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003626/0.0003626, allocations: 14.03 kB / 1.09 GB, free: 216.5 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3323/0.3327, allocations: 143 MB / 1.229 GB, free: 105.9 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1964/0.5291, allocations: 149.2 MB / 1.375 GB, free: 4.488 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002613/0.5294, allocations: 63.97 kB / 1.375 GB, free: 4.426 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.000841/0.5303, allocations: 407.4 kB / 1.375 GB, free: 4.02 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.825e-06/0.5303, allocations: 0 / 1.375 GB, free: 4.02 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 6.052e-06/0.5304, allocations: 0 / 1.375 GB, free: 4.02 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002971/0.5307, allocations: 315.4 kB / 1.376 GB, free: 3.664 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.51e-05/0.5307, allocations: 16.56 kB / 1.376 GB, free: 3.648 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.011e-05/0.5308, allocations: 34.56 kB / 1.376 GB, free: 3.605 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.35e-05/0.5308, allocations: 0 / 1.376 GB, free: 3.605 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.911e-05/0.5309, allocations: 163.3 kB / 1.376 GB, free: 3.406 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.165e-05/0.5309, allocations: 0 / 1.376 GB, free: 3.406 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.21e-05/0.5309, allocations: 3.938 kB / 1.376 GB, free: 3.402 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001156/0.5311, allocations: 47.41 kB / 1.376 GB, free: 3.344 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.5311, allocations: 0 / 1.376 GB, free: 3.344 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.907e-06/0.5311, allocations: 3.938 kB / 1.376 GB, free: 3.34 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.5311, allocations: 8 kB / 1.376 GB, free: 3.332 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.301e-05/0.5311, allocations: 0 / 1.376 GB, free: 3.332 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001722/0.5313, allocations: 171.4 kB / 1.376 GB, free: 3.113 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.026e-05/0.5314, allocations: 33.28 kB / 1.376 GB, free: 3.062 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.155e-05/0.5314, allocations: 0 / 1.376 GB, free: 3.062 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.425e-05/0.5314, allocations: 38.56 kB / 1.376 GB, free: 3.016 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=2): time 2.294e-06/0.5314, allocations: 0 / 1.376 GB, free: 3.016 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2): time 0.0001776/0.5316, allocations: 45.69 kB / 1.376 GB, free: 2.965 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.343e-05/0.5317, allocations: 81.05 kB / 1.376 GB, free: 2.867 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.805e-05/0.5317, allocations: 89 kB / 1.376 GB, free: 2.773 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.48e-05/0.5318, allocations: 25.7 kB / 1.376 GB, free: 2.742 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 4.263e-05/0.5318, allocations: 80.14 kB / 1.377 GB, free: 2.66 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 3.767e-05/0.5319, allocations: 8.156 kB / 1.377 GB, free: 2.652 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.324e-06/0.5319, allocations: 0 / 1.377 GB, free: 2.652 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001414/0.532, allocations: 314.8 kB / 1.377 GB, free: 2.336 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.214e-05/0.532, allocations: 0 / 1.377 GB, free: 2.336 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.95e-05/0.5321, allocations: 9.719 kB / 1.377 GB, free: 2.32 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.443e-05/0.5321, allocations: 15.94 kB / 1.377 GB, free: 2.305 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.5321, allocations: 0 / 1.377 GB, free: 2.305 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.745e-05/0.5322, allocations: 41.7 kB / 1.377 GB, free: 2.258 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 3.112e-05/0.5322, allocations: 8 kB / 1.377 GB, free: 2.25 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.952e-06/0.5322, allocations: 0 / 1.377 GB, free: 2.25 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.5323, allocations: 0 / 1.377 GB, free: 2.25 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.435e-05/0.5323, allocations: 4 kB / 1.377 GB, free: 2.246 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.977e-06/0.5324, allocations: 3.984 kB / 1.377 GB, free: 2.242 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.79e-05/0.5324, allocations: 0 / 1.377 GB, free: 2.242 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.074e-05/0.5324, allocations: 4 kB / 1.377 GB, free: 2.238 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 7.882e-05/0.5325, allocations: 121.8 kB / 1.377 GB, free: 2.109 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.148e-05/0.5325, allocations: 3.984 kB / 1.377 GB, free: 2.105 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001199/0.5326, allocations: 48.75 kB / 1.377 GB, free: 2.055 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.5326, allocations: 4 kB / 1.377 GB, free: 2.051 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.5326, allocations: 0 / 1.377 GB, free: 2.051 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.5326, allocations: 0 / 1.377 GB, free: 2.051 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000113/0.5328, allocations: 145.7 kB / 1.377 GB, free: 1.859 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.5328, allocations: 7.953 kB / 1.377 GB, free: 1.852 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.347e-05/0.5328, allocations: 0 / 1.377 GB, free: 1.852 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.496e-06/0.5328, allocations: 8.062 kB / 1.377 GB, free: 1.844 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.193e-06/0.5328, allocations: 0 / 1.377 GB, free: 1.844 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.5328, allocations: 0 / 1.377 GB, free: 1.844 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-06/0.5328, allocations: 7.938 kB / 1.377 GB, free: 1.836 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001088/0.533, allocations: 87.66 kB / 1.377 GB, free: 1.723 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.804e-05/0.533, allocations: 88.98 kB / 1.377 GB, free: 1.617 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.261e-05/0.533, allocations: 0 / 1.377 GB, free: 1.617 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.51e-05/0.5331, allocations: 0 / 1.377 GB, free: 1.617 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.452e-05/0.5331, allocations: 4 kB / 1.377 GB, free: 1.613 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.835e-06/0.5331, allocations: 0 / 1.377 GB, free: 1.613 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 3.819e-05/0.5331, allocations: 75.28 kB / 1.377 GB, free: 1.539 MB / 0.8698 GB Notification: Performance of sort global known variables: time 2.31e-07/0.5331, allocations: 0 / 1.377 GB, free: 1.539 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002029/0.5333, allocations: 4 kB / 1.377 GB, free: 1.535 MB / 0.8698 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 () * 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.0004612/0.5338, allocations: 0.6897 MB / 1.378 GB, free: 0.8125 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 8.821e-05/0.5339, allocations: 7.984 kB / 1.378 GB, free: 0.8047 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.5339, allocations: 0 / 1.378 GB, free: 0.8047 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 1.239e-05/0.5339, allocations: 12.09 kB / 1.378 GB, free: 0.793 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.811e-05/0.534, allocations: 4 kB / 1.378 GB, free: 0.7891 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003206/0.5344, allocations: 129.1 kB / 1.378 GB, free: 0.6172 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002788/0.5346, allocations: 0.6731 MB / 1.379 GB, free: 15.92 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 2.366e-05/0.5347, allocations: 3.984 kB / 1.379 GB, free: 15.91 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.14e-05/0.5347, allocations: 7.438 kB / 1.379 GB, free: 15.91 MB / 0.8855 GB Notification: Performance of SimCode: time 2.4e-07/0.5347, allocations: 0 / 1.379 GB, free: 15.91 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01245/0.5472, allocations: 0.7278 MB / 1.38 GB, free: 15.3 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003298/0.5476, allocations: 174.2 kB / 1.38 GB, free: 15.06 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.475/2.022, allocations: 0 / 1.38 GB, free: 15.06 MB / 0.8855 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