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/ModelicaServices 4.0.0+maint.om/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/Buildings 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001677/0.001677, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001802/0.001802, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.633/2.633, allocations: 223.2 MB / 239.9 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 5.011/5.011, allocations: 409.2 MB / 0.6838 GB, free: 0.9414 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0005605/0.000561, allocations: 12 kB / 0.8375 GB, free: 6.539 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.359/1.359, allocations: 146.8 MB / 0.9809 GB, free: 6.297 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Polynomial): time 0.001188/1.361, allocations: 313.6 kB / 0.9812 GB, free: 5.988 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0003071/1.361, allocations: 35.91 kB / 0.9812 GB, free: 5.953 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.958e-05/1.361, allocations: 0 / 0.9812 GB, free: 5.953 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.675e-05/1.361, allocations: 4 kB / 0.9812 GB, free: 5.949 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 1.704e-05/1.361, allocations: 0 / 0.9812 GB, free: 5.949 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003749/1.361, allocations: 11.94 kB / 0.9812 GB, free: 5.938 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 6.267e-05/1.361, allocations: 7.984 kB / 0.9812 GB, free: 5.93 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 7.682e-05/1.362, allocations: 0 / 0.9812 GB, free: 5.93 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 3.366e-05/1.362, allocations: 3.984 kB / 0.9812 GB, free: 5.926 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.918e-05/1.362, allocations: 4 kB / 0.9812 GB, free: 5.922 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.541e-05/1.362, allocations: 0 / 0.9812 GB, free: 5.922 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001407/1.362, allocations: 11.98 kB / 0.9812 GB, free: 5.91 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.458e-05/1.362, allocations: 4 kB / 0.9813 GB, free: 5.906 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 6.289e-05/1.362, allocations: 25.7 kB / 0.9813 GB, free: 5.875 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001134/1.362, allocations: 7.984 kB / 0.9813 GB, free: 5.867 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/1.362, allocations: 0 / 0.9813 GB, free: 5.867 MB / 0.7325 GB Notification: Performance of FrontEnd: time 5.791e-06/1.362, allocations: 4 kB / 0.9813 GB, free: 5.863 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.831e-06/1.362, allocations: 3.938 kB / 0.9813 GB, free: 5.859 MB / 0.7325 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.0005615/1.363, allocations: 311.4 kB / 0.9816 GB, free: 5.508 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 6.925e-05/1.363, allocations: 8.031 kB / 0.9816 GB, free: 5.5 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.332e-05/1.363, allocations: 30.56 kB / 0.9816 GB, free: 5.461 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.534e-05/1.363, allocations: 0 / 0.9816 GB, free: 5.461 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000165/1.363, allocations: 163.1 kB / 0.9818 GB, free: 5.262 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.688e-05/1.363, allocations: 3.938 kB / 0.9818 GB, free: 5.258 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.74e-05/1.363, allocations: 0 / 0.9818 GB, free: 5.258 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001692/1.363, allocations: 37.66 kB / 0.9818 GB, free: 5.215 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.68e-05/1.363, allocations: 3.984 kB / 0.9818 GB, free: 5.211 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.258e-05/1.363, allocations: 0 / 0.9818 GB, free: 5.211 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.674e-06/1.364, allocations: 4 kB / 0.9818 GB, free: 5.207 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.753e-05/1.364, allocations: 0 / 0.9818 GB, free: 5.207 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002624/1.364, allocations: 145.6 kB / 0.982 GB, free: 5.016 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 7.422e-05/1.364, allocations: 18.61 kB / 0.982 GB, free: 4.988 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 6.093e-05/1.364, allocations: 4 kB / 0.982 GB, free: 4.984 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.737e-05/1.364, allocations: 34.56 kB / 0.982 GB, free: 4.941 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=1): time 5.801e-06/1.364, allocations: 11.98 kB / 0.982 GB, free: 4.93 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1): time 0.0002274/1.364, allocations: 41.58 kB / 0.9821 GB, free: 4.883 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.418e-05/1.364, allocations: 51.41 kB / 0.9821 GB, free: 4.82 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.321e-05/1.365, allocations: 89.86 kB / 0.9822 GB, free: 4.723 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.414e-05/1.365, allocations: 25.7 kB / 0.9822 GB, free: 4.691 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.075e-05/1.365, allocations: 80.14 kB / 0.9823 GB, free: 4.609 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.875e-05/1.365, allocations: 8.031 kB / 0.9823 GB, free: 4.602 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.298e-06/1.365, allocations: 0 / 0.9823 GB, free: 4.602 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001872/1.365, allocations: 314.8 kB / 0.9826 GB, free: 4.285 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.61e-05/1.365, allocations: 0 / 0.9826 GB, free: 4.285 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.95e-05/1.365, allocations: 4 kB / 0.9826 GB, free: 4.281 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.672e-05/1.365, allocations: 4 kB / 0.9826 GB, free: 4.277 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/1.365, allocations: 0 / 0.9826 GB, free: 4.277 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001154/1.365, allocations: 33.69 kB / 0.9827 GB, free: 4.238 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.213e-05/1.365, allocations: 9.344 kB / 0.9827 GB, free: 4.23 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.125e-05/1.365, allocations: 4 kB / 0.9827 GB, free: 4.227 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.98e-05/1.365, allocations: 0 / 0.9827 GB, free: 4.227 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.823e-05/1.365, allocations: 3.938 kB / 0.9827 GB, free: 4.223 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.226e-05/1.365, allocations: 3.953 kB / 0.9827 GB, free: 4.219 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.695e-05/1.365, allocations: 0 / 0.9827 GB, free: 4.219 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.628e-05/1.365, allocations: 4 kB / 0.9827 GB, free: 4.215 MB / 0.7325 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.0001455/1.366, allocations: 109.8 kB / 0.9828 GB, free: 4.098 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.389e-05/1.366, allocations: 0 / 0.9828 GB, free: 4.098 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001999/1.366, allocations: 44.83 kB / 0.9828 GB, free: 4.051 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.407e-06/1.366, allocations: 0 / 0.9828 GB, free: 4.051 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.367e-06/1.366, allocations: 4 kB / 0.9828 GB, free: 4.047 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.524e-06/1.366, allocations: 3.953 kB / 0.9828 GB, free: 4.043 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001633/1.366, allocations: 145.7 kB / 0.983 GB, free: 3.852 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.247e-06/1.366, allocations: 0 / 0.983 GB, free: 3.852 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.726e-05/1.366, allocations: 4 kB / 0.983 GB, free: 3.848 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.35e-06/1.366, allocations: 0 / 0.983 GB, free: 3.848 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.919e-06/1.366, allocations: 7.969 kB / 0.983 GB, free: 3.84 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.442e-06/1.366, allocations: 0 / 0.983 GB, free: 3.84 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/1.366, allocations: 3.938 kB / 0.983 GB, free: 3.836 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001484/1.366, allocations: 65.08 kB / 0.9831 GB, free: 3.754 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 7.772e-05/1.367, allocations: 77.11 kB / 0.9831 GB, free: 3.66 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.725e-05/1.367, allocations: 3.938 kB / 0.9831 GB, free: 3.656 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.979e-05/1.367, allocations: 0 / 0.9831 GB, free: 3.656 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.319e-05/1.367, allocations: 8.031 kB / 0.9831 GB, free: 3.648 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.626e-06/1.367, allocations: 0 / 0.9831 GB, free: 3.648 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.893e-05/1.367, allocations: 75.28 kB / 0.9832 GB, free: 3.574 MB / 0.7325 GB Notification: Performance of sort global known variables: time 3.71e-07/1.367, allocations: 0 / 0.9832 GB, free: 3.574 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003717/1.367, allocations: 11.98 kB / 0.9832 GB, free: 3.562 MB / 0.7325 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.0007683/1.368, allocations: 0.6068 MB / 0.9838 GB, free: 2.93 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.000121/1.368, allocations: 4 kB / 0.9838 GB, free: 2.926 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/1.368, allocations: 0 / 0.9838 GB, free: 2.926 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 2.571e-05/1.368, allocations: 8 kB / 0.9838 GB, free: 2.918 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000156/1.368, allocations: 0 / 0.9838 GB, free: 2.918 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004941/1.369, allocations: 101.7 kB / 0.9839 GB, free: 2.781 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004234/1.369, allocations: 0.6692 MB / 0.9846 GB, free: 2.086 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 6.363e-05/1.369, allocations: 8.125 kB / 0.9846 GB, free: 2.078 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.761e-05/1.369, allocations: 11.38 kB / 0.9846 GB, free: 2.066 MB / 0.7325 GB Notification: Performance of SimCode: time 4.11e-07/1.369, allocations: 0 / 0.9846 GB, free: 2.066 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0223/1.392, allocations: 0.8216 MB / 0.9854 GB, free: 1.375 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003829/1.392, allocations: 186 kB / 0.9856 GB, free: 1.141 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.702/4.094, allocations: 4.062 kB / 0.9856 GB, free: 1.137 MB / 0.7325 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) Environment - environmentSimulation: 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