Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Polynomial.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.Utilities.Math.Functions.Examples.Polynomial,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_Polynomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Polynomial,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_Polynomial",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.458/2.458, allocations: 393.5 MB / 408.4 MB, free: 10.99 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.001404/0.001403, allocations: 187.8 kB / 0.4901 GB, free: 2.227 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.609/1.609, allocations: 223.1 MB / 0.7992 GB, free: 14.71 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.0008876/0.0008876, allocations: 92.33 kB / 0.9396 GB, free: 1.902 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004234/0.0004237, allocations: 12.56 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2591/0.2596, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1803/0.44, allocations: 149.3 MB / 1.375 GB, free: 4.113 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002638/0.4403, allocations: 79.92 kB / 1.375 GB, free: 4.035 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.001165/0.4415, allocations: 480.6 kB / 1.376 GB, free: 3.562 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.234e-06/0.4415, allocations: 4 kB / 1.376 GB, free: 3.559 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 4.318e-06/0.4415, allocations: 0 / 1.376 GB, free: 3.559 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.0002516/0.4418, allocations: 307.4 kB / 1.376 GB, free: 3.211 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.939e-05/0.4418, allocations: 12.62 kB / 1.376 GB, free: 3.199 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.568e-05/0.4419, allocations: 30.56 kB / 1.376 GB, free: 3.16 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.07e-05/0.4419, allocations: 0 / 1.376 GB, free: 3.16 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.907e-05/0.442, allocations: 167.3 kB / 1.376 GB, free: 2.957 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.562e-05/0.442, allocations: 8 kB / 1.376 GB, free: 2.949 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.171e-05/0.442, allocations: 7.875 kB / 1.376 GB, free: 2.941 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.989e-05/0.4421, allocations: 29.7 kB / 1.376 GB, free: 2.906 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.103e-06/0.4422, allocations: 0 / 1.376 GB, free: 2.906 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.155e-06/0.4422, allocations: 0 / 1.376 GB, free: 2.906 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.938e-06/0.4422, allocations: 0 / 1.376 GB, free: 2.906 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.28e-05/0.4422, allocations: 4 kB / 1.376 GB, free: 2.902 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001563/0.4424, allocations: 149.6 kB / 1.376 GB, free: 2.707 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.052e-05/0.4424, allocations: 23.44 kB / 1.376 GB, free: 2.676 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.718e-05/0.4425, allocations: 8.031 kB / 1.376 GB, free: 2.668 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.605e-05/0.4425, allocations: 30.56 kB / 1.376 GB, free: 2.629 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=1): time 9.92e-07/0.4425, allocations: 0 / 1.376 GB, free: 2.629 MB / 0.8698 GB Notification: Performance of matching and sorting (n=1): time 0.0001417/0.4426, allocations: 29.7 kB / 1.376 GB, free: 2.594 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.74e-05/0.4427, allocations: 55.41 kB / 1.376 GB, free: 2.527 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.918e-05/0.4427, allocations: 85 kB / 1.377 GB, free: 2.438 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.238e-05/0.4427, allocations: 25.7 kB / 1.377 GB, free: 2.406 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 3.573e-05/0.4428, allocations: 84.27 kB / 1.377 GB, free: 2.32 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.932e-05/0.4428, allocations: 7.922 kB / 1.377 GB, free: 2.312 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.204e-06/0.4428, allocations: 0 / 1.377 GB, free: 2.312 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001214/0.443, allocations: 314.8 kB / 1.377 GB, free: 1.996 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.027e-06/0.443, allocations: 0 / 1.377 GB, free: 1.996 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.945e-06/0.443, allocations: 7.938 kB / 1.377 GB, free: 1.988 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.972e-05/0.443, allocations: 3.953 kB / 1.377 GB, free: 1.984 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.443, allocations: 0 / 1.377 GB, free: 1.984 MB / 0.8698 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.666e-05/0.4431, allocations: 37.77 kB / 1.377 GB, free: 1.941 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.4431, allocations: 7.938 kB / 1.377 GB, free: 1.934 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.4431, allocations: 0 / 1.377 GB, free: 1.934 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.4431, allocations: 3.984 kB / 1.377 GB, free: 1.93 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.333e-05/0.4432, allocations: 4 kB / 1.377 GB, free: 1.926 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.4432, allocations: 0 / 1.377 GB, free: 1.926 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.209e-05/0.4432, allocations: 0 / 1.377 GB, free: 1.926 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.095e-05/0.4432, allocations: 0 / 1.377 GB, free: 1.926 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (1): * Single equations (assignments): 1 * 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.19e-05/0.4433, allocations: 113.8 kB / 1.377 GB, free: 1.805 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.252e-06/0.4433, allocations: 4.031 kB / 1.377 GB, free: 1.801 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001014/0.4434, allocations: 48.66 kB / 1.377 GB, free: 1.75 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.4434, allocations: 0 / 1.377 GB, free: 1.75 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/0.4435, allocations: 4 kB / 1.377 GB, free: 1.746 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.4435, allocations: 4 kB / 1.377 GB, free: 1.742 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.723e-05/0.4436, allocations: 141.7 kB / 1.377 GB, free: 1.555 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/0.4436, allocations: 3.953 kB / 1.377 GB, free: 1.551 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.05e-05/0.4436, allocations: 8.016 kB / 1.377 GB, free: 1.543 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.911e-06/0.4436, allocations: 4 kB / 1.377 GB, free: 1.539 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.041e-06/0.4436, allocations: 0 / 1.377 GB, free: 1.539 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.4436, allocations: 3.938 kB / 1.377 GB, free: 1.535 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.4436, allocations: 0 / 1.377 GB, free: 1.535 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.48e-05/0.4437, allocations: 65.06 kB / 1.377 GB, free: 1.453 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.461e-05/0.4438, allocations: 85.05 kB / 1.377 GB, free: 1.352 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.969e-06/0.4438, allocations: 0 / 1.377 GB, free: 1.352 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.129e-05/0.4438, allocations: 4.031 kB / 1.377 GB, free: 1.348 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.26e-05/0.4438, allocations: 0 / 1.377 GB, free: 1.348 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.951e-06/0.4438, allocations: 4 kB / 1.377 GB, free: 1.344 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 3.041e-05/0.4439, allocations: 75.28 kB / 1.378 GB, free: 1.27 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1e-07/0.4439, allocations: 0 / 1.378 GB, free: 1.27 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002003/0.4441, allocations: 8 kB / 1.378 GB, free: 1.262 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (1): * Single equations (assignments): 1 * 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.0004108/0.4445, allocations: 0.6054 MB / 1.378 GB, free: 0.6289 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 6.457e-05/0.4446, allocations: 7.938 kB / 1.378 GB, free: 0.6211 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.4446, allocations: 1.531 kB / 1.378 GB, free: 0.6211 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 8.215e-06/0.4446, allocations: 0 / 1.378 GB, free: 0.6211 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.152e-05/0.4447, allocations: 11.88 kB / 1.378 GB, free: 0.6094 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003128/0.445, allocations: 108.3 kB / 1.378 GB, free: 472 kB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000321/0.4453, allocations: 0.6811 MB / 1.379 GB, free: 15.75 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 2.875e-05/0.4454, allocations: 0 / 1.379 GB, free: 15.75 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.519e-05/0.4454, allocations: 11.44 kB / 1.379 GB, free: 15.74 MB / 0.8855 GB Notification: Performance of SimCode: time 3.5e-07/0.4454, allocations: 0 / 1.379 GB, free: 15.74 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01252/0.458, allocations: 0.8194 MB / 1.38 GB, free: 15.05 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002533/0.4583, allocations: 184.8 kB / 1.38 GB, free: 14.82 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.515/1.973, allocations: 5.062 kB / 1.38 GB, free: 14.81 MB / 0.8855 GB (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Polynomial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Polynomial_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Functions_Examples_Polynomial_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_Polynomial.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Polynomial_res.mat does not exist to compare? outputFormat=mat