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/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.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/Buildings 10.0.0-master/package.mo): time 2.321/2.321, allocations: 393.5 MB / 408.4 MB, free: 11 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.001156/0.001156, allocations: 183.9 kB / 0.4901 GB, free: 2.258 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.688/1.688, allocations: 223.1 MB / 0.7992 GB, free: 14.66 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.001087/0.001086, allocations: 94.33 kB / 0.9396 GB, free: 1.836 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003575/0.0003576, allocations: 11.44 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2713/0.2717, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1925/0.4643, allocations: 150 MB / 1.376 GB, free: 3.387 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002158/0.4646, allocations: 71.95 kB / 1.376 GB, free: 3.316 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.002482/0.4671, allocations: 0.7826 MB / 1.377 GB, free: 2.531 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.453e-06/0.4671, allocations: 0 / 1.377 GB, free: 2.531 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 8.035e-06/0.4671, allocations: 0 / 1.377 GB, free: 2.531 MB / 0.8698 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.0004383/0.4676, allocations: 363.2 kB / 1.377 GB, free: 2.129 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.053e-05/0.4676, allocations: 8.562 kB / 1.377 GB, free: 2.121 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.768e-05/0.4677, allocations: 30.56 kB / 1.377 GB, free: 2.082 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.66e-05/0.4677, allocations: 4 kB / 1.377 GB, free: 2.078 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001382/0.4678, allocations: 163 kB / 1.377 GB, free: 1.879 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.248e-05/0.4679, allocations: 0 / 1.377 GB, free: 1.879 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.324e-05/0.4679, allocations: 8 kB / 1.377 GB, free: 1.871 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001946/0.4681, allocations: 53.67 kB / 1.377 GB, free: 1.812 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.4681, allocations: 7.984 kB / 1.377 GB, free: 1.805 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.4681, allocations: 0 / 1.377 GB, free: 1.805 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.4681, allocations: 0 / 1.377 GB, free: 1.805 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001937/0.4683, allocations: 47.95 kB / 1.377 GB, free: 1.758 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005165/0.4689, allocations: 284.8 kB / 1.378 GB, free: 1.43 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001307/0.469, allocations: 46.55 kB / 1.378 GB, free: 1.375 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.92e-05/0.469, allocations: 0 / 1.378 GB, free: 1.375 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.677e-05/0.4691, allocations: 42.5 kB / 1.378 GB, free: 1.324 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=2): time 1.573e-06/0.4691, allocations: 4.062 kB / 1.378 GB, free: 1.32 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2): time 0.0004028/0.4695, allocations: 113.6 kB / 1.378 GB, free: 1.203 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.89e-05/0.4696, allocations: 51.41 kB / 1.378 GB, free: 1.141 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.532e-05/0.4696, allocations: 101 kB / 1.378 GB, free: 1.035 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.698e-05/0.4697, allocations: 25.7 kB / 1.378 GB, free: 1.004 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 5.474e-05/0.4697, allocations: 88.12 kB / 1.378 GB, free: 0.9141 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.073e-05/0.4698, allocations: 7.906 kB / 1.378 GB, free: 0.9062 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.486e-06/0.4698, allocations: 0 / 1.378 GB, free: 0.9062 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001355/0.4699, allocations: 310.8 kB / 1.378 GB, free: 0.5938 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001011/0.47, allocations: 28.02 kB / 1.378 GB, free: 0.5664 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.203e-05/0.4701, allocations: 27.97 kB / 1.378 GB, free: 0.5391 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.263e-05/0.4702, allocations: 23.98 kB / 1.378 GB, free: 0.5156 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.4702, allocations: 0 / 1.378 GB, free: 0.5156 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002279/0.4704, allocations: 85.59 kB / 1.378 GB, free: 436 kB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/0.4705, allocations: 8 kB / 1.378 GB, free: 428 kB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.4705, allocations: 0 / 1.378 GB, free: 428 kB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.4705, allocations: 4.031 kB / 1.378 GB, free: 424 kB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.36e-05/0.4706, allocations: 11.98 kB / 1.378 GB, free: 412 kB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.4706, allocations: 0 / 1.378 GB, free: 412 kB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.363e-05/0.4707, allocations: 11.98 kB / 1.378 GB, free: 400 kB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.864e-05/0.4707, allocations: 3.953 kB / 1.379 GB, free: 396 kB / 0.8698 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.646e-05/0.4708, allocations: 105.8 kB / 1.379 GB, free: 280 kB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.478e-05/0.4708, allocations: 8 kB / 1.379 GB, free: 272 kB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002631/0.4711, allocations: 93.08 kB / 1.379 GB, free: 176 kB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.4711, allocations: 0 / 1.379 GB, free: 176 kB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.054e-06/0.4711, allocations: 0 / 1.379 GB, free: 176 kB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.4711, allocations: 3.938 kB / 1.379 GB, free: 172 kB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002073/0.4714, allocations: 177.6 kB / 1.379 GB, free: 15.95 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.4714, allocations: 0 / 1.379 GB, free: 15.95 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.424e-05/0.4714, allocations: 8 kB / 1.379 GB, free: 15.94 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.4715, allocations: 3.984 kB / 1.379 GB, free: 15.93 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.015e-06/0.4715, allocations: 0 / 1.379 GB, free: 15.93 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.4715, allocations: 0 / 1.379 GB, free: 15.93 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.4715, allocations: 0 / 1.379 GB, free: 15.93 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000265/0.4717, allocations: 179.5 kB / 1.379 GB, free: 15.74 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 5.029e-05/0.4718, allocations: 81.11 kB / 1.379 GB, free: 15.64 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.386e-05/0.4718, allocations: 0 / 1.379 GB, free: 15.64 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.554e-05/0.4719, allocations: 7.984 kB / 1.379 GB, free: 15.64 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.112e-05/0.472, allocations: 8.031 kB / 1.379 GB, free: 15.63 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.963e-06/0.472, allocations: 256 / 1.379 GB, free: 15.63 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 4.85e-05/0.472, allocations: 91.27 kB / 1.379 GB, free: 15.54 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.7e-07/0.472, allocations: 3.938 kB / 1.379 GB, free: 15.54 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002157/0.4723, allocations: 12 kB / 1.379 GB, free: 15.52 MB / 0.8855 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.0006413/0.4729, allocations: 0.7187 MB / 1.38 GB, free: 14.78 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0002099/0.4731, allocations: 59.92 kB / 1.38 GB, free: 14.72 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.4731, allocations: 0 / 1.38 GB, free: 14.72 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 9.62e-05/0.4732, allocations: 27.92 kB / 1.38 GB, free: 14.69 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001577/0.4734, allocations: 7.938 kB / 1.38 GB, free: 14.68 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004348/0.4738, allocations: 146.7 kB / 1.38 GB, free: 14.5 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003147/0.4742, allocations: 0.6809 MB / 1.381 GB, free: 13.79 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 2.604e-05/0.4742, allocations: 0 / 1.381 GB, free: 13.79 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.061e-05/0.4742, allocations: 11.44 kB / 1.381 GB, free: 13.78 MB / 0.8855 GB Notification: Performance of SimCode: time 4.11e-07/0.4742, allocations: 0 / 1.381 GB, free: 13.78 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01247/0.4867, allocations: 1.139 MB / 1.382 GB, free: 12.76 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002065/0.487, allocations: 184.2 kB / 1.382 GB, free: 12.52 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.572/2.059, allocations: 0 / 1.382 GB, free: 12.52 MB / 0.8855 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) 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