Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.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.Examples.Polynomial,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_Polynomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Polynomial,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_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.001044/0.001044, allocations: 86.95 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.001218/0.001218, 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.435/1.435, allocations: 223.3 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.561/2.561, allocations: 409.4 MB / 0.684 GB, free: 1 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0004178/0.0004179, allocations: 8 kB / 0.8378 GB, free: 6.543 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.77/0.7704, allocations: 146.8 MB / 0.9811 GB, free: 6.293 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Polynomial): time 0.001862/0.7724, allocations: 1.145 MB / 0.9823 GB, free: 5.141 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0003004/0.7727, allocations: 86.98 kB / 0.9823 GB, free: 5.055 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.71e-05/0.7727, allocations: 3.938 kB / 0.9823 GB, free: 5.051 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 5.824e-05/0.7728, allocations: 11.86 kB / 0.9824 GB, free: 5.039 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 4.044e-05/0.7728, allocations: 4 kB / 0.9824 GB, free: 5.035 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002216/0.7731, allocations: 15.98 kB / 0.9824 GB, free: 5.02 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 5.727e-05/0.7731, allocations: 15.94 kB / 0.9824 GB, free: 5.004 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 9.331e-05/0.7732, allocations: 15.97 kB / 0.9824 GB, free: 4.988 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 4.831e-05/0.7733, allocations: 7.938 kB / 0.9824 GB, free: 4.98 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 3.716e-05/0.7733, allocations: 7.984 kB / 0.9824 GB, free: 4.973 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.151e-05/0.7734, allocations: 4 kB / 0.9824 GB, free: 4.969 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 7.978e-05/0.7734, allocations: 15.92 kB / 0.9824 GB, free: 4.953 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.312e-05/0.7735, allocations: 4 kB / 0.9824 GB, free: 4.949 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.488e-05/0.7735, allocations: 25.7 kB / 0.9825 GB, free: 4.918 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 8.6e-05/0.7736, allocations: 31.95 kB / 0.9825 GB, free: 4.887 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.7736, allocations: 4 kB / 0.9825 GB, free: 4.883 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.274e-06/0.7736, allocations: 0 / 0.9825 GB, free: 4.883 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.43e-06/0.7736, allocations: 0 / 0.9825 GB, free: 4.883 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004417/0.7741, allocations: 337.6 kB / 0.9828 GB, free: 4.504 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.302e-05/0.7741, allocations: 12.03 kB / 0.9828 GB, free: 4.492 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.313e-05/0.7742, allocations: 38.5 kB / 0.9829 GB, free: 4.445 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.568e-05/0.7742, allocations: 7.906 kB / 0.9829 GB, free: 4.438 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001361/0.7744, allocations: 175 kB / 0.983 GB, free: 4.227 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.007e-05/0.7744, allocations: 0 / 0.983 GB, free: 4.227 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.637e-06/0.7744, allocations: 0 / 0.983 GB, free: 4.227 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001926/0.7746, allocations: 61.62 kB / 0.9831 GB, free: 4.16 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.7746, allocations: 0 / 0.9831 GB, free: 4.16 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.436e-06/0.7746, allocations: 0 / 0.9831 GB, free: 4.16 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.185e-06/0.7746, allocations: 0 / 0.9831 GB, free: 4.16 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001809/0.7748, allocations: 47.97 kB / 0.9831 GB, free: 4.113 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003855/0.7752, allocations: 256.9 kB / 0.9834 GB, free: 3.812 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001392/0.7754, allocations: 54.5 kB / 0.9834 GB, free: 3.75 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.001e-05/0.7755, allocations: 28.89 kB / 0.9835 GB, free: 3.719 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.846e-05/0.7755, allocations: 0 / 0.9835 GB, free: 3.719 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001171/0.7756, allocations: 38.56 kB / 0.9835 GB, free: 3.672 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 9.91e-07/0.7756, allocations: 0 / 0.9835 GB, free: 3.672 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0003442/0.776, allocations: 101.6 kB / 0.9836 GB, free: 3.566 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.022e-05/0.776, allocations: 63.47 kB / 0.9837 GB, free: 3.492 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001527/0.7762, allocations: 105.8 kB / 0.9838 GB, free: 3.379 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.652e-05/0.7762, allocations: 25.7 kB / 0.9838 GB, free: 3.348 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.671e-05/0.7763, allocations: 84.14 kB / 0.9839 GB, free: 3.262 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.857e-05/0.7763, allocations: 7.891 kB / 0.9839 GB, free: 3.254 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.07e-06/0.7763, allocations: 4 kB / 0.9839 GB, free: 3.25 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001308/0.7765, allocations: 310.8 kB / 0.9842 GB, free: 2.938 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.09e-05/0.7765, allocations: 27.92 kB / 0.9842 GB, free: 2.91 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.327e-05/0.7766, allocations: 27.97 kB / 0.9842 GB, free: 2.883 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.733e-05/0.7767, allocations: 23.98 kB / 0.9843 GB, free: 2.859 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.7767, allocations: 4.062 kB / 0.9843 GB, free: 2.855 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001975/0.7769, allocations: 89.45 kB / 0.9843 GB, free: 2.762 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.7769, allocations: 5.719 kB / 0.9844 GB, free: 2.758 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.777, allocations: 0 / 0.9844 GB, free: 2.758 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/0.777, allocations: 0 / 0.9844 GB, free: 2.758 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.369e-05/0.7771, allocations: 16.02 kB / 0.9844 GB, free: 2.742 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.715e-06/0.7771, allocations: 4 kB / 0.9844 GB, free: 2.738 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.241e-05/0.7771, allocations: 4.25 kB / 0.9844 GB, free: 2.734 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.406e-06/0.7771, allocations: 4 kB / 0.9844 GB, free: 2.73 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 (2): * Single equations (assignments): 2 * 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 9.932e-05/0.7772, allocations: 113.8 kB / 0.9845 GB, free: 2.609 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.59e-05/0.7773, allocations: 7.938 kB / 0.9845 GB, free: 2.602 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002209/0.7775, allocations: 85.19 kB / 0.9846 GB, free: 2.512 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/0.7775, allocations: 0 / 0.9846 GB, free: 2.512 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.7775, allocations: 0 / 0.9846 GB, free: 2.512 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.7775, allocations: 0 / 0.9846 GB, free: 2.512 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001617/0.7777, allocations: 165.7 kB / 0.9847 GB, free: 2.301 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.7777, allocations: 3.938 kB / 0.9847 GB, free: 2.297 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.407e-05/0.7778, allocations: 12.03 kB / 0.9847 GB, free: 2.285 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.16e-06/0.7778, allocations: 3.984 kB / 0.9848 GB, free: 2.281 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.546e-06/0.7778, allocations: 3.953 kB / 0.9848 GB, free: 2.277 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.7778, allocations: 4 kB / 0.9848 GB, free: 2.273 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.7778, allocations: 0 / 0.9848 GB, free: 2.273 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002432/0.7781, allocations: 175.5 kB / 0.9849 GB, free: 2.086 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.228e-05/0.7781, allocations: 81.02 kB / 0.985 GB, free: 1.988 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.27e-05/0.7781, allocations: 0 / 0.985 GB, free: 1.988 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.667e-05/0.7782, allocations: 15.94 kB / 0.985 GB, free: 1.973 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.758e-05/0.7783, allocations: 3.938 kB / 0.985 GB, free: 1.969 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.076e-06/0.7783, allocations: 4.031 kB / 0.985 GB, free: 1.965 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.296e-05/0.7783, allocations: 91.27 kB / 0.9851 GB, free: 1.875 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7783, allocations: 0 / 0.9851 GB, free: 1.875 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002278/0.7786, allocations: 8 kB / 0.9851 GB, free: 1.867 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 (2): * Single equations (assignments): 2 * 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.0007206/0.7793, allocations: 0.7046 MB / 0.9858 GB, free: 1.133 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002242/0.7795, allocations: 55.98 kB / 0.9859 GB, free: 1.078 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.7795, allocations: 0 / 0.9859 GB, free: 1.078 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001081/0.7797, allocations: 27.92 kB / 0.9859 GB, free: 1.051 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003121/0.78, allocations: 11.89 kB / 0.9859 GB, free: 1.039 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005444/0.7805, allocations: 150.4 kB / 0.986 GB, free: 0.8555 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005124/0.7811, allocations: 0.6809 MB / 0.9867 GB, free: 152 kB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.813e-05/0.7811, allocations: 0 / 0.9867 GB, free: 152 kB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.765e-05/0.7811, allocations: 11.44 kB / 0.9867 GB, free: 140 kB / 0.7325 GB Notification: Performance of SimCode: time 2.2e-07/0.7811, allocations: 0 / 0.9867 GB, free: 140 kB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01206/0.7932, allocations: 1.157 MB / 0.9878 GB, free: 15.1 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001813/0.7934, allocations: 177.2 kB / 0.988 GB, free: 14.87 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.83/2.623, allocations: 4 kB / 0.988 GB, free: 14.86 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Examples_Polynomial_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Examples_Polynomial.fmu > Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial_res.mat does not exist to compare? outputFormat=mat