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 1.99/1.99, allocations: 390.3 MB / 402.8 MB, free: 6.672 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.001063/0.001063, allocations: 184.7 kB / 496.1 MB, free: 12.87 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.367/1.367, allocations: 221.3 MB / 0.7915 GB, free: 5.43 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.001008/0.001008, allocations: 103.6 kB / 0.9317 GB, free: 5.746 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.802e-05/2.841e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2503/0.2503, allocations: 143 MB / 1.219 GB, free: 13.45 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9419/1.192, allocations: 150 MB / 1.365 GB, free: 4.07 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002295/1.193, allocations: 72.7 kB / 1.365 GB, free: 4.031 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002415/1.195, allocations: 0.7855 MB / 1.366 GB, free: 3.316 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.353e-06/1.195, allocations: 0 / 1.366 GB, free: 3.316 MB / 0.823 GB Notification: Performance of Transformations before backend: time 7.033e-06/1.195, allocations: 0 / 1.366 GB, free: 3.316 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003637/1.195, allocations: 347.3 kB / 1.366 GB, free: 2.934 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.625e-05/1.196, allocations: 8.031 kB / 1.366 GB, free: 2.926 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.28e-05/1.196, allocations: 33.5 kB / 1.367 GB, free: 2.887 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.814e-05/1.196, allocations: 4.781 kB / 1.367 GB, free: 2.883 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001349/1.196, allocations: 170.9 kB / 1.367 GB, free: 2.676 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.466e-05/1.196, allocations: 4 kB / 1.367 GB, free: 2.672 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.059e-05/1.196, allocations: 3.938 kB / 1.367 GB, free: 2.668 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001174/1.196, allocations: 39.77 kB / 1.367 GB, free: 2.629 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/1.196, allocations: 7.984 kB / 1.367 GB, free: 2.621 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.928e-06/1.196, allocations: 3.984 kB / 1.367 GB, free: 2.617 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/1.196, allocations: 0 / 1.367 GB, free: 2.617 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.329e-05/1.196, allocations: 10.81 kB / 1.367 GB, free: 2.609 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004077/1.196, allocations: 271.8 kB / 1.367 GB, free: 2.305 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 6.702e-05/1.196, allocations: 37.58 kB / 1.367 GB, free: 2.266 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.798e-05/1.197, allocations: 12.91 kB / 1.367 GB, free: 2.25 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 4.15e-05/1.197, allocations: 7.812 kB / 1.367 GB, free: 2.246 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.432e-05/1.197, allocations: 30.56 kB / 1.367 GB, free: 2.207 MB / 0.823 GB Notification: Performance of pre-optimization done (n=2): time 1.543e-06/1.197, allocations: 0 / 1.367 GB, free: 2.207 MB / 0.823 GB Notification: Performance of matching and sorting (n=2): time 0.0001565/1.197, allocations: 45 kB / 1.367 GB, free: 2.16 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.995e-05/1.197, allocations: 55.36 kB / 1.367 GB, free: 2.094 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.248e-05/1.197, allocations: 106.4 kB / 1.367 GB, free: 1.992 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.311e-05/1.197, allocations: 25.7 kB / 1.367 GB, free: 1.961 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 5.027e-05/1.197, allocations: 87.77 kB / 1.367 GB, free: 1.875 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.837e-05/1.197, allocations: 15.77 kB / 1.367 GB, free: 1.859 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.296e-06/1.197, allocations: 0 / 1.367 GB, free: 1.859 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 9.263e-05/1.197, allocations: 310.8 kB / 1.368 GB, free: 1.547 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.059e-05/1.197, allocations: 7.25 kB / 1.368 GB, free: 1.543 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.567e-05/1.197, allocations: 7.875 kB / 1.368 GB, free: 1.539 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.357e-05/1.197, allocations: 12.05 kB / 1.368 GB, free: 1.527 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/1.197, allocations: 4 kB / 1.368 GB, free: 1.523 MB / 0.823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.912e-05/1.197, allocations: 52.23 kB / 1.368 GB, free: 1.473 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/1.197, allocations: 4 kB / 1.368 GB, free: 1.469 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/1.197, allocations: 0 / 1.368 GB, free: 1.469 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/1.197, allocations: 0 / 1.368 GB, free: 1.469 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.652e-05/1.197, allocations: 11.98 kB / 1.368 GB, free: 1.457 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/1.197, allocations: 4 kB / 1.368 GB, free: 1.453 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.477e-05/1.198, allocations: 15.97 kB / 1.368 GB, free: 1.438 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.756e-05/1.198, allocations: 0 / 1.368 GB, free: 1.438 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 (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 6.192e-05/1.198, allocations: 112.9 kB / 1.368 GB, free: 1.32 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.346e-05/1.198, allocations: 0 / 1.368 GB, free: 1.32 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001366/1.198, allocations: 58.39 kB / 1.368 GB, free: 1.266 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/1.198, allocations: 4 kB / 1.368 GB, free: 1.262 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/1.198, allocations: 0 / 1.368 GB, free: 1.262 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/1.198, allocations: 4.031 kB / 1.368 GB, free: 1.258 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00015/1.198, allocations: 157 kB / 1.368 GB, free: 1.059 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/1.198, allocations: 0 / 1.368 GB, free: 1.059 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.648e-05/1.198, allocations: 15.98 kB / 1.368 GB, free: 1.043 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/1.198, allocations: 0 / 1.368 GB, free: 1.043 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.214e-06/1.198, allocations: 0 / 1.368 GB, free: 1.043 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/1.198, allocations: 0 / 1.368 GB, free: 1.043 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/1.198, allocations: 0 / 1.368 GB, free: 1.043 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001259/1.198, allocations: 153.6 kB / 1.368 GB, free: 0.8828 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.3e-05/1.198, allocations: 85 kB / 1.368 GB, free: 0.7812 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.423e-05/1.198, allocations: 3.25 kB / 1.368 GB, free: 0.7812 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.758e-05/1.198, allocations: 8 kB / 1.368 GB, free: 0.7734 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.819e-05/1.198, allocations: 3.984 kB / 1.368 GB, free: 0.7695 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.991e-06/1.198, allocations: 0 / 1.368 GB, free: 0.7695 MB / 0.823 GB Notification: Performance of sorting global known variables: time 4.803e-05/1.198, allocations: 87.78 kB / 1.368 GB, free: 0.6875 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.31e-07/1.198, allocations: 0 / 1.368 GB, free: 0.6875 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001961/1.199, allocations: 12.03 kB / 1.368 GB, free: 0.6758 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 (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.0004062/1.199, allocations: 0.6807 MB / 1.369 GB, free: 15.98 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 8.409e-05/1.199, allocations: 19.61 kB / 1.369 GB, free: 15.96 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/1.199, allocations: 0 / 1.369 GB, free: 15.96 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.587e-05/1.199, allocations: 15.72 kB / 1.369 GB, free: 15.95 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001528/1.199, allocations: 1.406 kB / 1.369 GB, free: 15.95 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003297/1.2, allocations: 105.1 kB / 1.369 GB, free: 15.82 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002225/1.2, allocations: 0.6848 MB / 1.37 GB, free: 15.11 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.66e-05/1.2, allocations: 4.375 kB / 1.37 GB, free: 15.1 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.007e-05/1.2, allocations: 11.44 kB / 1.37 GB, free: 15.09 MB / 0.8386 GB Notification: Performance of SimCode: time 5.51e-07/1.2, allocations: 3.938 kB / 1.37 GB, free: 15.09 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0133/1.213, allocations: 1.151 MB / 1.371 GB, free: 14.05 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000211/1.214, allocations: 154.5 kB / 1.371 GB, free: 13.83 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.613/2.827, allocations: 0 / 1.371 GB, free: 13.83 MB / 0.8386 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