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.001036/0.001036, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.00135/0.00135, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.391/1.391, allocations: 223.2 MB / 240 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.414/2.414, allocations: 409.4 MB / 0.684 GB, free: 0.9492 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003376/0.0003377, allocations: 15.94 kB / 0.8378 GB, free: 6.504 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6446/0.645, allocations: 146.8 MB / 0.9812 GB, free: 6.266 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Polynomial): time 0.0007091/0.6457, allocations: 309.6 kB / 0.9815 GB, free: 5.961 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0001912/0.6459, allocations: 39.91 kB / 0.9815 GB, free: 5.922 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.047e-06/0.6459, allocations: 0 / 0.9815 GB, free: 5.922 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.033e-05/0.646, allocations: 0 / 0.9815 GB, free: 5.922 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.49e-06/0.646, allocations: 0 / 0.9815 GB, free: 5.922 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002216/0.6462, allocations: 11.98 kB / 0.9815 GB, free: 5.91 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 3.66e-05/0.6462, allocations: 0 / 0.9815 GB, free: 5.91 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 3.797e-05/0.6463, allocations: 0 / 0.9815 GB, free: 5.91 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 1.635e-05/0.6463, allocations: 4 kB / 0.9815 GB, free: 5.906 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 3.897e-05/0.6464, allocations: 4 kB / 0.9815 GB, free: 5.902 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 8.285e-06/0.6464, allocations: 0 / 0.9815 GB, free: 5.902 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 7.537e-05/0.6465, allocations: 15.98 kB / 0.9815 GB, free: 5.887 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.106e-05/0.6465, allocations: 7.984 kB / 0.9815 GB, free: 5.879 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.162e-05/0.6465, allocations: 29.64 kB / 0.9816 GB, free: 5.844 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 5.738e-05/0.6466, allocations: 7.984 kB / 0.9816 GB, free: 5.836 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.6466, allocations: 3.938 kB / 0.9816 GB, free: 5.832 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.573e-06/0.6466, allocations: 0 / 0.9816 GB, free: 5.832 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.619e-06/0.6466, allocations: 0 / 0.9816 GB, free: 5.832 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.0002524/0.6469, allocations: 315.4 kB / 0.9819 GB, free: 5.477 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.557e-05/0.6469, allocations: 11.97 kB / 0.9819 GB, free: 5.465 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.561e-05/0.6469, allocations: 30.56 kB / 0.9819 GB, free: 5.426 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.712e-05/0.647, allocations: 8 kB / 0.9819 GB, free: 5.418 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.421e-05/0.647, allocations: 159.1 kB / 0.9821 GB, free: 5.223 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.426e-06/0.6471, allocations: 0 / 0.9821 GB, free: 5.223 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.845e-06/0.6471, allocations: 0 / 0.9821 GB, free: 5.223 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.462e-05/0.6472, allocations: 41.64 kB / 0.9821 GB, free: 5.176 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.063e-06/0.6472, allocations: 0 / 0.9821 GB, free: 5.176 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.684e-06/0.6472, allocations: 3.984 kB / 0.9821 GB, free: 5.172 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-06/0.6472, allocations: 0 / 0.9821 GB, free: 5.172 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.995e-05/0.6472, allocations: 3.938 kB / 0.9821 GB, free: 5.168 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001635/0.6474, allocations: 149.7 kB / 0.9823 GB, free: 4.973 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 3.889e-05/0.6474, allocations: 14.58 kB / 0.9823 GB, free: 4.949 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.553e-05/0.6475, allocations: 4.859 kB / 0.9823 GB, free: 4.941 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.275e-05/0.6475, allocations: 12.05 kB / 0.9823 GB, free: 4.93 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.182e-05/0.6475, allocations: 30.56 kB / 0.9823 GB, free: 4.891 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=1): time 8.72e-07/0.6475, allocations: 0 / 0.9823 GB, free: 4.891 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1): time 0.0001082/0.6476, allocations: 37.72 kB / 0.9824 GB, free: 4.848 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.409e-05/0.6477, allocations: 59.41 kB / 0.9824 GB, free: 4.777 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.121e-05/0.6477, allocations: 89.86 kB / 0.9825 GB, free: 4.68 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.654e-05/0.6477, allocations: 25.7 kB / 0.9825 GB, free: 4.648 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 2.165e-05/0.6478, allocations: 80.14 kB / 0.9826 GB, free: 4.566 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.371e-05/0.6478, allocations: 3.906 kB / 0.9826 GB, free: 4.562 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.074e-06/0.6478, allocations: 0 / 0.9826 GB, free: 4.562 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001603/0.648, allocations: 318.8 kB / 0.9829 GB, free: 4.238 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.945e-06/0.648, allocations: 0 / 0.9829 GB, free: 4.238 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.859e-06/0.648, allocations: 8 kB / 0.9829 GB, free: 4.23 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.071e-05/0.648, allocations: 0 / 0.9829 GB, free: 4.23 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.648, allocations: 0 / 0.9829 GB, free: 4.23 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.672e-05/0.6481, allocations: 37.64 kB / 0.983 GB, free: 4.188 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.099e-05/0.6481, allocations: 4 kB / 0.983 GB, free: 4.184 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.6481, allocations: 0 / 0.983 GB, free: 4.184 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.036e-05/0.6481, allocations: 0 / 0.983 GB, free: 4.184 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.052e-05/0.6482, allocations: 7.953 kB / 0.983 GB, free: 4.176 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.281e-06/0.6482, allocations: 3.984 kB / 0.983 GB, free: 4.172 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.32e-05/0.6482, allocations: 96 / 0.983 GB, free: 4.172 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.294e-05/0.6482, allocations: 7.938 kB / 0.983 GB, free: 4.164 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 7.346e-05/0.6483, allocations: 109.8 kB / 0.9831 GB, free: 4.047 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.771e-06/0.6483, allocations: 3.938 kB / 0.9831 GB, free: 4.043 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002108/0.6485, allocations: 40.81 kB / 0.9831 GB, free: 4 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-06/0.6486, allocations: 0 / 0.9831 GB, free: 4 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.072e-06/0.6486, allocations: 3.984 kB / 0.9831 GB, free: 3.996 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.099e-06/0.6486, allocations: 8 kB / 0.9831 GB, free: 3.988 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.441e-05/0.6487, allocations: 141.7 kB / 0.9833 GB, free: 3.801 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.6487, allocations: 3.938 kB / 0.9833 GB, free: 3.797 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.55e-05/0.6487, allocations: 0 / 0.9833 GB, free: 3.797 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.038e-06/0.6487, allocations: 4 kB / 0.9833 GB, free: 3.793 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.745e-06/0.6487, allocations: 4 kB / 0.9833 GB, free: 3.789 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.6487, allocations: 3.984 kB / 0.9833 GB, free: 3.785 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.6487, allocations: 0 / 0.9833 GB, free: 3.785 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.547e-05/0.6488, allocations: 65.09 kB / 0.9833 GB, free: 3.703 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.796e-05/0.6489, allocations: 77.11 kB / 0.9834 GB, free: 3.609 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.177e-06/0.6489, allocations: 0 / 0.9834 GB, free: 3.609 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.263e-05/0.6489, allocations: 3.984 kB / 0.9834 GB, free: 3.605 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.477e-05/0.6489, allocations: 0 / 0.9834 GB, free: 3.605 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.17e-06/0.6489, allocations: 4 kB / 0.9834 GB, free: 3.602 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001042/0.649, allocations: 75.28 kB / 0.9835 GB, free: 3.527 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.649, allocations: 0 / 0.9835 GB, free: 3.527 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002042/0.6492, allocations: 7.953 kB / 0.9835 GB, free: 3.52 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.0004684/0.6497, allocations: 0.6049 MB / 0.9841 GB, free: 2.891 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 6.643e-05/0.6498, allocations: 8 kB / 0.9841 GB, free: 2.883 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.6498, allocations: 0 / 0.9841 GB, free: 2.883 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 7.163e-06/0.6498, allocations: 96 / 0.9841 GB, free: 2.883 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001382/0.6499, allocations: 4.062 kB / 0.9841 GB, free: 2.879 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003703/0.6503, allocations: 112.2 kB / 0.9842 GB, free: 2.73 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002453/0.6506, allocations: 0.6731 MB / 0.9849 GB, free: 2.031 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.444e-05/0.6506, allocations: 0 / 0.9849 GB, free: 2.031 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.43e-05/0.6506, allocations: 11.44 kB / 0.9849 GB, free: 2.02 MB / 0.7325 GB Notification: Performance of SimCode: time 2.81e-07/0.6506, allocations: 0 / 0.9849 GB, free: 2.02 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009822/0.6605, allocations: 0.8379 MB / 0.9857 GB, free: 1.32 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001571/0.6607, allocations: 191.6 kB / 0.9859 GB, free: 1.082 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.675/2.335, allocations: 0 / 0.9859 GB, free: 1.082 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