Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Functions.Examples.Polynomial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Polynomial,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Functions_Examples_Polynomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Polynomial,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.405/2.405, allocations: 390.3 MB / 405.3 MB, free: 13.48 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.001444/0.001444, allocations: 169.1 kB / 498.1 MB, free: 5.715 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.543/1.543, allocations: 223.2 MB / 0.7948 GB, free: 18.81 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.0008308/0.0008308, allocations: 96.08 kB / 0.9346 GB, free: 7.121 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0005998/0.0006, allocations: 11.81 kB / 1.084 GB, free: 212.8 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.28/0.2806, allocations: 142.4 MB / 1.223 GB, free: 89.46 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.191/0.4717, allocations: 148.5 MB / 1.368 GB, free: 4.762 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003159/0.4721, allocations: 71.95 kB / 1.368 GB, free: 4.691 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.00148/0.4736, allocations: 488.8 kB / 1.369 GB, free: 4.211 MB / 0.8698 GB Notification: Performance of FrontEnd: time 3.697e-06/0.4736, allocations: 3.938 kB / 1.369 GB, free: 4.207 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.106e-05/0.4736, allocations: 4 kB / 1.369 GB, free: 4.203 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.0003956/0.474, allocations: 311.4 kB / 1.369 GB, free: 3.852 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 6.63e-05/0.4741, allocations: 12.09 kB / 1.369 GB, free: 3.84 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.582e-05/0.4742, allocations: 30.56 kB / 1.369 GB, free: 3.801 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.801e-05/0.4742, allocations: 7.938 kB / 1.369 GB, free: 3.793 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001372/0.4744, allocations: 163 kB / 1.369 GB, free: 3.594 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.442e-05/0.4744, allocations: 4 kB / 1.369 GB, free: 3.59 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.276e-05/0.4744, allocations: 0 / 1.369 GB, free: 3.59 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001499/0.4746, allocations: 37.69 kB / 1.369 GB, free: 3.547 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.647e-06/0.4746, allocations: 0 / 1.369 GB, free: 3.547 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.288e-05/0.4746, allocations: 0 / 1.369 GB, free: 3.547 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.4746, allocations: 3.938 kB / 1.369 GB, free: 3.543 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.007e-05/0.4746, allocations: 4 kB / 1.369 GB, free: 3.539 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002035/0.4749, allocations: 145.6 kB / 1.369 GB, free: 3.348 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.012e-05/0.4749, allocations: 24.52 kB / 1.369 GB, free: 3.316 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.757e-05/0.475, allocations: 8.078 kB / 1.369 GB, free: 3.309 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.585e-05/0.475, allocations: 30.56 kB / 1.369 GB, free: 3.27 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=1): time 1.122e-06/0.475, allocations: 0 / 1.369 GB, free: 3.27 MB / 0.8698 GB Notification: Performance of matching and sorting (n=1): time 0.0001723/0.4752, allocations: 33.64 kB / 1.369 GB, free: 3.23 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.623e-05/0.4753, allocations: 55.41 kB / 1.369 GB, free: 3.164 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.191e-05/0.4753, allocations: 85 kB / 1.369 GB, free: 3.074 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.475e-05/0.4754, allocations: 29.83 kB / 1.369 GB, free: 3.039 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 3.455e-05/0.4754, allocations: 80.14 kB / 1.37 GB, free: 2.957 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 3.329e-05/0.4754, allocations: 7.906 kB / 1.37 GB, free: 2.949 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.254e-06/0.4755, allocations: 0 / 1.37 GB, free: 2.949 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001519/0.4756, allocations: 310.8 kB / 1.37 GB, free: 2.637 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.425e-05/0.4756, allocations: 3.984 kB / 1.37 GB, free: 2.633 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.779e-06/0.4756, allocations: 4 kB / 1.37 GB, free: 2.629 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.323e-05/0.4757, allocations: 3.953 kB / 1.37 GB, free: 2.625 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.4757, allocations: 4.062 kB / 1.37 GB, free: 2.621 MB / 0.8698 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.018e-05/0.4758, allocations: 37.64 kB / 1.37 GB, free: 2.578 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.144e-05/0.4758, allocations: 4.625 kB / 1.37 GB, free: 2.574 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/0.4758, allocations: 0 / 1.37 GB, free: 2.574 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/0.4758, allocations: 0 / 1.37 GB, free: 2.574 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.601e-05/0.4759, allocations: 4 kB / 1.37 GB, free: 2.57 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.918e-06/0.4759, allocations: 3.984 kB / 1.37 GB, free: 2.566 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.495e-05/0.4759, allocations: 0 / 1.37 GB, free: 2.566 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.336e-05/0.476, allocations: 0 / 1.37 GB, free: 2.566 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 0.0001126/0.4761, allocations: 117.8 kB / 1.37 GB, free: 2.441 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.021e-05/0.4761, allocations: 4 kB / 1.37 GB, free: 2.438 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001184/0.4762, allocations: 40.75 kB / 1.37 GB, free: 2.391 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.528e-06/0.4762, allocations: 3.938 kB / 1.37 GB, free: 2.387 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.812e-06/0.4762, allocations: 3.938 kB / 1.37 GB, free: 2.383 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.4763, allocations: 4 kB / 1.37 GB, free: 2.379 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001472/0.4764, allocations: 145.7 kB / 1.37 GB, free: 2.188 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/0.4764, allocations: 7.984 kB / 1.37 GB, free: 2.18 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.033e-05/0.4764, allocations: 0 / 1.37 GB, free: 2.18 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.4765, allocations: 0 / 1.37 GB, free: 2.18 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.145e-06/0.4765, allocations: 4 kB / 1.37 GB, free: 2.176 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.629e-06/0.4765, allocations: 3.984 kB / 1.37 GB, free: 2.172 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.4765, allocations: 0 / 1.37 GB, free: 2.172 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.441e-05/0.4766, allocations: 49.14 kB / 1.37 GB, free: 2.105 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.727e-05/0.4767, allocations: 85.06 kB / 1.37 GB, free: 2.004 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.707e-05/0.4767, allocations: 4.031 kB / 1.37 GB, free: 2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.318e-05/0.4767, allocations: 0 / 1.37 GB, free: 2 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.676e-05/0.4767, allocations: 3.984 kB / 1.37 GB, free: 1.996 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.578e-06/0.4767, allocations: 8 kB / 1.37 GB, free: 1.988 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 4.458e-05/0.4768, allocations: 79.28 kB / 1.37 GB, free: 1.91 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4768, allocations: 0 / 1.37 GB, free: 1.91 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002233/0.477, allocations: 8 kB / 1.37 GB, free: 1.902 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.0006182/0.4776, allocations: 0.6121 MB / 1.371 GB, free: 1.262 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001017/0.4778, allocations: 4 kB / 1.371 GB, free: 1.258 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.4778, allocations: 0 / 1.371 GB, free: 1.258 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 8.837e-06/0.4778, allocations: 3.938 kB / 1.371 GB, free: 1.254 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001097/0.4779, allocations: 4 kB / 1.371 GB, free: 1.25 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003821/0.4783, allocations: 108.5 kB / 1.371 GB, free: 1.102 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003505/0.4787, allocations: 0.6731 MB / 1.372 GB, free: 412 kB / 0.8698 GB Notification: Performance of simCode: alias equations: time 3.098e-05/0.4787, allocations: 0 / 1.372 GB, free: 412 kB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.135e-05/0.4787, allocations: 11.44 kB / 1.372 GB, free: 400 kB / 0.8698 GB Notification: Performance of SimCode: time 3.41e-07/0.4787, allocations: 0 / 1.372 GB, free: 400 kB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01399/0.4927, allocations: 0.8276 MB / 1.373 GB, free: 15.68 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000257/0.4931, allocations: 186.9 kB / 1.373 GB, free: 15.45 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.589/2.082, allocations: 0 / 1.373 GB, free: 15.45 MB / 0.8855 GB (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.Polynomial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Math.Functions.Examples.Polynomial_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Math_Functions_Examples_Polynomial_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Math_Functions_Examples_Polynomial.fmu > Buildings_9_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.Math.Functions.Examples.Polynomial_res.mat does not exist to compare? outputFormat=mat