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.514/2.514, allocations: 387.4 MB / 394.9 MB, free: 13.35 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.001111/0.001111, allocations: 176.8 kB / 487.4 MB, free: 5.051 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.559/1.559, allocations: 221.5 MB / 0.7824 GB, free: 0.9375 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008373/0.0008372, allocations: 87.86 kB / 0.9219 GB, free: 2.18 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.519e-05/2.52e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2862/0.2863, allocations: 142.4 MB / 1.206 GB, free: 43.83 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9182/1.204, allocations: 147.8 MB / 1.35 GB, free: 18.31 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002751/1.205, allocations: 76.02 kB / 1.35 GB, free: 18.31 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.001775/1.207, allocations: 475.1 kB / 1.351 GB, free: 34 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.453e-06/1.207, allocations: 0 / 1.351 GB, free: 34 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.759e-06/1.207, allocations: 0.9062 kB / 1.351 GB, free: 34 MB / 0.8386 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.0002116/1.207, allocations: 314 kB / 1.351 GB, free: 33.66 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.492e-05/1.207, allocations: 7.688 kB / 1.351 GB, free: 33.66 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.511e-05/1.207, allocations: 3.844 kB / 1.351 GB, free: 33.66 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.602e-05/1.207, allocations: 168.7 kB / 1.351 GB, free: 33.46 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.536e-06/1.207, allocations: 0.6875 kB / 1.351 GB, free: 33.46 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.121e-05/1.207, allocations: 0 / 1.351 GB, free: 33.46 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.77e-05/1.207, allocations: 4 kB / 1.351 GB, free: 33.45 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.185e-05/1.207, allocations: 30.98 kB / 1.351 GB, free: 33.42 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.043e-06/1.207, allocations: 0.6562 kB / 1.351 GB, free: 33.42 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.786e-06/1.207, allocations: 0 / 1.351 GB, free: 33.42 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/1.207, allocations: 3.984 kB / 1.351 GB, free: 33.42 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.582e-05/1.207, allocations: 131.2 kB / 1.352 GB, free: 33.26 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 3.142e-05/1.207, allocations: 25.59 kB / 1.352 GB, free: 33.23 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.711e-05/1.207, allocations: 12.8 kB / 1.352 GB, free: 33.22 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.493e-05/1.207, allocations: 1.266 kB / 1.352 GB, free: 33.22 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.867e-05/1.207, allocations: 38.34 kB / 1.352 GB, free: 33.18 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=1): time 9.62e-07/1.207, allocations: 0 / 1.352 GB, free: 33.18 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1): time 0.000154/1.208, allocations: 31.11 kB / 1.352 GB, free: 33.14 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.317e-05/1.208, allocations: 51.41 kB / 1.352 GB, free: 33.08 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.159e-05/1.208, allocations: 85 kB / 1.352 GB, free: 32.99 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 8.967e-06/1.208, allocations: 25.7 kB / 1.352 GB, free: 32.96 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 2.433e-05/1.208, allocations: 85.81 kB / 1.352 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.682e-05/1.208, allocations: 5.922 kB / 1.352 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.725e-06/1.208, allocations: 0 / 1.352 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001137/1.208, allocations: 314.2 kB / 1.352 GB, free: 32.56 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.965e-06/1.208, allocations: 0 / 1.352 GB, free: 32.56 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.468e-06/1.208, allocations: 0 / 1.352 GB, free: 32.56 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.553e-05/1.208, allocations: 5.125 kB / 1.352 GB, free: 32.56 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/1.208, allocations: 0 / 1.352 GB, free: 32.56 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.269e-05/1.208, allocations: 42.89 kB / 1.352 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/1.208, allocations: 9.016 kB / 1.352 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/1.208, allocations: 0 / 1.352 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.798e-05/1.208, allocations: 0 / 1.352 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.717e-05/1.208, allocations: 0 / 1.352 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.807e-06/1.208, allocations: 3.969 kB / 1.352 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.63e-05/1.208, allocations: 9.484 kB / 1.352 GB, free: 32.51 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.301e-05/1.208, allocations: 1.312 kB / 1.352 GB, free: 32.51 MB / 0.8386 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 () * 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 6.952e-05/1.208, allocations: 101 kB / 1.352 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 5.523e-05/1.208, allocations: 42.91 kB / 1.352 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.159e-06/1.208, allocations: 0 / 1.352 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001106/1.208, allocations: 50.38 kB / 1.352 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-06/1.208, allocations: 0 / 1.352 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/1.208, allocations: 1.406 kB / 1.352 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/1.208, allocations: 0 / 1.352 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.547e-05/1.209, allocations: 123.9 kB / 1.353 GB, free: 32.17 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.42e-07/1.209, allocations: 4.062 kB / 1.353 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.554e-05/1.209, allocations: 3.969 kB / 1.353 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/1.209, allocations: 3.953 kB / 1.353 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.471e-06/1.209, allocations: 3.938 kB / 1.353 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/1.209, allocations: 1.312 kB / 1.353 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/1.209, allocations: 0 / 1.353 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.576e-05/1.209, allocations: 62.44 kB / 1.353 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.974e-05/1.209, allocations: 77.11 kB / 1.353 GB, free: 32 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.273e-05/1.209, allocations: 9.484 kB / 1.353 GB, free: 31.99 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.578e-06/1.209, allocations: 0 / 1.353 GB, free: 31.99 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.886e-05/1.209, allocations: 3.844 kB / 1.353 GB, free: 31.99 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.146e-06/1.209, allocations: 0 / 1.353 GB, free: 31.99 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.137e-05/1.209, allocations: 79.22 kB / 1.353 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/1.209, allocations: 0 / 1.353 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001926/1.209, allocations: 6.625 kB / 1.353 GB, free: 31.91 MB / 0.8386 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 () * 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.0003695/1.209, allocations: 0.5981 MB / 1.353 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 5.901e-05/1.209, allocations: 5.078 kB / 1.353 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/1.209, allocations: 3.938 kB / 1.353 GB, free: 31.31 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 6.292e-06/1.209, allocations: 7.031 kB / 1.353 GB, free: 31.31 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.749e-05/1.21, allocations: 5.5 kB / 1.353 GB, free: 31.31 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002368/1.21, allocations: 76.84 kB / 1.353 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002117/1.21, allocations: 0.6703 MB / 1.354 GB, free: 30.51 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.399e-05/1.21, allocations: 3.906 kB / 1.354 GB, free: 30.51 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.163e-05/1.21, allocations: 9.031 kB / 1.354 GB, free: 30.5 MB / 0.8386 GB Notification: Performance of SimCode: time 2.3e-07/1.21, allocations: 0 / 1.354 GB, free: 30.5 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01646/1.227, allocations: 0.53 MB / 1.355 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000149/1.227, allocations: 138.3 kB / 1.355 GB, free: 30.27 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.383/2.61, allocations: 2.797 kB / 1.355 GB, free: 30.27 MB / 0.8386 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