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 1.984/1.984, allocations: 390.3 MB / 402.8 MB, free: 6.695 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.0009664/0.0009665, allocations: 180.8 kB / 496.1 MB, free: 12.86 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.266/1.266, allocations: 221.3 MB / 0.7915 GB, free: 5.387 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.000812/0.0008121, allocations: 91.91 kB / 0.9318 GB, free: 5.695 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.266e-05/4.285e-05, allocations: 8 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2306/0.2306, allocations: 143 MB / 1.219 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7549/0.9856, allocations: 149.3 MB / 1.365 GB, free: 4.805 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002292/0.9859, allocations: 75.39 kB / 1.365 GB, free: 4.762 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.001115/0.987, allocations: 479.3 kB / 1.365 GB, free: 4.309 MB / 0.823 GB Notification: Performance of FrontEnd: time 8.476e-06/0.9871, allocations: 0 / 1.365 GB, free: 4.309 MB / 0.823 GB Notification: Performance of Transformations before backend: time 6.893e-06/0.9871, allocations: 7.75 kB / 1.365 GB, free: 4.305 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002427/0.9873, allocations: 312.8 kB / 1.365 GB, free: 3.957 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.779e-05/0.9874, allocations: 9.656 kB / 1.365 GB, free: 3.949 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.269e-05/0.9874, allocations: 34.56 kB / 1.365 GB, free: 3.906 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.968e-05/0.9874, allocations: 0 / 1.365 GB, free: 3.906 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.921e-05/0.9875, allocations: 163 kB / 1.366 GB, free: 3.707 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.197e-05/0.9876, allocations: 5.25 kB / 1.366 GB, free: 3.703 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.828e-06/0.9876, allocations: 0 / 1.366 GB, free: 3.703 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.525e-05/0.9877, allocations: 33.16 kB / 1.366 GB, free: 3.668 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.827e-06/0.9877, allocations: 0 / 1.366 GB, free: 3.668 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.205e-06/0.9877, allocations: 0 / 1.366 GB, free: 3.668 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.9877, allocations: 0 / 1.366 GB, free: 3.668 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.57e-05/0.9877, allocations: 7.922 kB / 1.366 GB, free: 3.66 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001355/0.9879, allocations: 152.6 kB / 1.366 GB, free: 3.465 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 4.226e-05/0.9879, allocations: 18.58 kB / 1.366 GB, free: 3.438 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.767e-05/0.988, allocations: 5.828 kB / 1.366 GB, free: 3.43 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.628e-05/0.988, allocations: 7.5 kB / 1.366 GB, free: 3.426 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.25e-05/0.988, allocations: 30.56 kB / 1.366 GB, free: 3.387 MB / 0.823 GB Notification: Performance of pre-optimization done (n=1): time 9.82e-07/0.988, allocations: 0 / 1.366 GB, free: 3.387 MB / 0.823 GB Notification: Performance of matching and sorting (n=1): time 0.0001248/0.9882, allocations: 37.62 kB / 1.366 GB, free: 3.344 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.175e-05/0.9882, allocations: 51.41 kB / 1.366 GB, free: 3.281 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.003e-05/0.9882, allocations: 93.03 kB / 1.366 GB, free: 3.184 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.004e-05/0.9883, allocations: 25.7 kB / 1.366 GB, free: 3.152 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 3.291e-05/0.9883, allocations: 82.11 kB / 1.366 GB, free: 3.07 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.441e-05/0.9883, allocations: 0.7812 kB / 1.366 GB, free: 3.07 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.056e-06/0.9883, allocations: 0 / 1.366 GB, free: 3.07 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 9.932e-05/0.9884, allocations: 318.5 kB / 1.366 GB, free: 2.754 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.335e-06/0.9885, allocations: 0 / 1.366 GB, free: 2.754 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.953e-06/0.9885, allocations: 4 kB / 1.366 GB, free: 2.75 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.689e-05/0.9885, allocations: 64 / 1.366 GB, free: 2.75 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.9885, allocations: 7.938 kB / 1.366 GB, free: 2.742 MB / 0.823 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.599e-05/0.9886, allocations: 37.69 kB / 1.367 GB, free: 2.699 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.9886, allocations: 4 kB / 1.367 GB, free: 2.695 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.9886, allocations: 0 / 1.367 GB, free: 2.695 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.9886, allocations: 0 / 1.367 GB, free: 2.695 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.077e-05/0.9887, allocations: 11.88 kB / 1.367 GB, free: 2.688 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.9887, allocations: 0 / 1.367 GB, free: 2.688 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.299e-05/0.9887, allocations: 3.938 kB / 1.367 GB, free: 2.684 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.129e-05/0.9887, allocations: 0 / 1.367 GB, free: 2.684 MB / 0.823 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.273e-05/0.9888, allocations: 109 kB / 1.367 GB, free: 2.57 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.675e-06/0.9888, allocations: 4 kB / 1.367 GB, free: 2.566 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001007/0.9889, allocations: 48.28 kB / 1.367 GB, free: 2.52 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.9889, allocations: 0 / 1.367 GB, free: 2.52 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.9889, allocations: 0 / 1.367 GB, free: 2.52 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.9889, allocations: 0 / 1.367 GB, free: 2.52 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.745e-05/0.989, allocations: 153.6 kB / 1.367 GB, free: 2.32 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.989, allocations: 4.031 kB / 1.367 GB, free: 2.316 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.787e-05/0.989, allocations: 0 / 1.367 GB, free: 2.316 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.9891, allocations: 0 / 1.367 GB, free: 2.316 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.73e-06/0.9891, allocations: 4 kB / 1.367 GB, free: 2.312 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.779e-06/0.9891, allocations: 0 / 1.367 GB, free: 2.312 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.9891, allocations: 3.938 kB / 1.367 GB, free: 2.309 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.483e-05/0.9892, allocations: 56.12 kB / 1.367 GB, free: 2.238 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.75e-05/0.9892, allocations: 89.05 kB / 1.367 GB, free: 2.133 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.006e-05/0.9892, allocations: 4.031 kB / 1.367 GB, free: 2.129 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.739e-06/0.9892, allocations: 0 / 1.367 GB, free: 2.129 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.609e-05/0.9892, allocations: 0 / 1.367 GB, free: 2.129 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.879e-06/0.9893, allocations: 0 / 1.367 GB, free: 2.129 MB / 0.823 GB Notification: Performance of sorting global known variables: time 2.612e-05/0.9893, allocations: 82.47 kB / 1.367 GB, free: 2.051 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9893, allocations: 0 / 1.367 GB, free: 2.051 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001645/0.9895, allocations: 4 kB / 1.367 GB, free: 2.047 MB / 0.823 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.0003768/0.9898, allocations: 0.6083 MB / 1.368 GB, free: 1.41 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 6.313e-05/0.9899, allocations: 4 kB / 1.368 GB, free: 1.406 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.9899, allocations: 0 / 1.368 GB, free: 1.406 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 6.512e-06/0.9899, allocations: 0 / 1.368 GB, free: 1.406 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.704e-05/0.99, allocations: 4.688 kB / 1.368 GB, free: 1.402 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000238/0.9903, allocations: 86.48 kB / 1.368 GB, free: 1.285 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002197/0.9905, allocations: 0.6809 MB / 1.368 GB, free: 0.5781 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 2.472e-05/0.9905, allocations: 0 / 1.368 GB, free: 0.5781 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.546e-05/0.9906, allocations: 7.438 kB / 1.368 GB, free: 0.5703 MB / 0.823 GB Notification: Performance of SimCode: time 5.01e-07/0.9906, allocations: 0 / 1.368 GB, free: 0.5703 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01208/1.003, allocations: 0.8316 MB / 1.369 GB, free: 15.87 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002109/1.003, allocations: 161.9 kB / 1.369 GB, free: 15.65 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.368/2.371, allocations: 0 / 1.369 GB, free: 15.65 MB / 0.8386 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