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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.007426/0.007426, allocations: 101 kB / 15.73 MB, free: 6.055 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.001974/0.001975, allocations: 192.9 kB / 16.67 MB, free: 5.969 MB / 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: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.667/2.667, allocations: 482.6 MB / 0.7551 GB, free: 6.609 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001812/0.001812, allocations: 68.59 kB / 1.083 GB, free: 13.76 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2725/0.2743, allocations: 162.3 MB / 1.242 GB, free: 8.898 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Polynomial): time 0.002302/0.2766, allocations: 1.44 MB / 1.243 GB, free: 7.445 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0002532/0.2769, allocations: 91.73 kB / 1.243 GB, free: 7.355 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.209e-05/0.2769, allocations: 3.938 kB / 1.243 GB, free: 7.352 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 5.282e-05/0.277, allocations: 7.938 kB / 1.243 GB, free: 7.344 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 2.635e-05/0.277, allocations: 0 / 1.243 GB, free: 7.344 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001892/0.2772, allocations: 23.91 kB / 1.243 GB, free: 7.32 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 5.707e-05/0.2773, allocations: 23.92 kB / 1.243 GB, free: 7.297 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 7.613e-05/0.2774, allocations: 12 kB / 1.243 GB, free: 7.285 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 3.078e-05/0.2774, allocations: 3.984 kB / 1.243 GB, free: 7.281 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 3.138e-05/0.2775, allocations: 11.94 kB / 1.243 GB, free: 7.27 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.17e-05/0.2775, allocations: 4 kB / 1.243 GB, free: 7.266 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 7.833e-05/0.2776, allocations: 19.97 kB / 1.243 GB, free: 7.246 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.303e-05/0.2776, allocations: 11.94 kB / 1.243 GB, free: 7.234 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 1.955e-05/0.2776, allocations: 7.938 kB / 1.243 GB, free: 7.227 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001101/0.2777, allocations: 44.09 kB / 1.244 GB, free: 7.184 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.2777, allocations: 0 / 1.244 GB, free: 7.184 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.262e-06/0.2777, allocations: 0 / 1.244 GB, free: 7.184 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 3.567e-06/0.2778, allocations: 4 kB / 1.244 GB, free: 7.18 MB / 0.9669 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.0004123/0.2782, allocations: 343.4 kB / 1.244 GB, free: 6.793 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.066e-05/0.2782, allocations: 8.031 kB / 1.244 GB, free: 6.785 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.166e-05/0.2783, allocations: 34.75 kB / 1.244 GB, free: 6.742 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.022e-05/0.2783, allocations: 12.77 kB / 1.244 GB, free: 6.73 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001204/0.2784, allocations: 168.4 kB / 1.244 GB, free: 6.527 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.215e-06/0.2784, allocations: 4.375 kB / 1.244 GB, free: 6.523 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.426e-06/0.2784, allocations: 384 / 1.244 GB, free: 6.523 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001625/0.2786, allocations: 54.23 kB / 1.244 GB, free: 6.465 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.2786, allocations: 3.938 kB / 1.244 GB, free: 6.461 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.641e-06/0.2786, allocations: 0 / 1.244 GB, free: 6.461 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.367e-06/0.2786, allocations: 0 / 1.244 GB, free: 6.461 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001602/0.2788, allocations: 39.95 kB / 1.244 GB, free: 6.422 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002945/0.2791, allocations: 256.9 kB / 1.244 GB, free: 6.121 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001222/0.2792, allocations: 50.48 kB / 1.244 GB, free: 6.062 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.132e-05/0.2793, allocations: 20.91 kB / 1.244 GB, free: 6.039 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.473e-05/0.2794, allocations: 4 kB / 1.244 GB, free: 6.035 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.087e-05/0.2794, allocations: 30.56 kB / 1.245 GB, free: 5.996 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.2794, allocations: 0 / 1.245 GB, free: 5.996 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0003278/0.2797, allocations: 97.56 kB / 1.245 GB, free: 5.895 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.226e-05/0.2798, allocations: 51.41 kB / 1.245 GB, free: 5.832 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.323e-05/0.2799, allocations: 101.9 kB / 1.245 GB, free: 5.723 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.5e-05/0.2799, allocations: 25.7 kB / 1.245 GB, free: 5.691 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.82e-05/0.2799, allocations: 92.12 kB / 1.245 GB, free: 5.598 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.494e-05/0.28, allocations: 7.891 kB / 1.245 GB, free: 5.59 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.694e-05/0.28, allocations: 17.84 kB / 1.245 GB, free: 5.566 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001233/0.2801, allocations: 314.8 kB / 1.245 GB, free: 5.25 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.396e-05/0.2802, allocations: 19.97 kB / 1.245 GB, free: 5.23 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.15e-05/0.2803, allocations: 15.98 kB / 1.245 GB, free: 5.215 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001482/0.2804, allocations: 40.83 kB / 1.245 GB, free: 5.172 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.2805, allocations: 8 kB / 1.245 GB, free: 5.164 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001957/0.2807, allocations: 69.59 kB / 1.245 GB, free: 5.09 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.082e-05/0.2807, allocations: 4 kB / 1.245 GB, free: 5.086 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.816e-06/0.2807, allocations: 4 kB / 1.245 GB, free: 5.082 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.124e-05/0.2807, allocations: 0 / 1.245 GB, free: 5.082 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.46e-05/0.2808, allocations: 7.984 kB / 1.245 GB, free: 5.074 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.848e-06/0.2808, allocations: 0 / 1.245 GB, free: 5.074 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.381e-05/0.2808, allocations: 11.95 kB / 1.245 GB, free: 5.062 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.789e-06/0.2808, allocations: 4 kB / 1.245 GB, free: 5.059 MB / 0.9669 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.442e-05/0.2809, allocations: 117.8 kB / 1.245 GB, free: 4.934 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.214e-05/0.281, allocations: 7.891 kB / 1.245 GB, free: 4.926 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002247/0.2812, allocations: 85.11 kB / 1.246 GB, free: 4.836 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.2812, allocations: 0 / 1.246 GB, free: 4.836 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.2812, allocations: 0 / 1.246 GB, free: 4.836 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.873e-06/0.2812, allocations: 4.031 kB / 1.246 GB, free: 4.832 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001574/0.2814, allocations: 161.9 kB / 1.246 GB, free: 4.625 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.2814, allocations: 0 / 1.246 GB, free: 4.625 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.14e-05/0.2814, allocations: 11.98 kB / 1.246 GB, free: 4.613 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.353e-06/0.2814, allocations: 0 / 1.246 GB, free: 4.613 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.61e-06/0.2815, allocations: 4 kB / 1.246 GB, free: 4.609 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.2815, allocations: 0 / 1.246 GB, free: 4.609 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.2815, allocations: 0 / 1.246 GB, free: 4.609 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002296/0.2817, allocations: 167.5 kB / 1.246 GB, free: 4.43 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.822e-05/0.2818, allocations: 89.05 kB / 1.246 GB, free: 4.324 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.468e-06/0.2818, allocations: 0 / 1.246 GB, free: 4.324 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.612e-05/0.2819, allocations: 4 kB / 1.246 GB, free: 4.32 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.002e-05/0.2819, allocations: 7.969 kB / 1.246 GB, free: 4.312 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.799e-06/0.2819, allocations: 0 / 1.246 GB, free: 4.312 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.506e-05/0.2819, allocations: 91.22 kB / 1.246 GB, free: 4.223 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1e-07/0.282, allocations: 32 / 1.246 GB, free: 4.223 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002055/0.2822, allocations: 12 kB / 1.246 GB, free: 4.211 MB / 0.9669 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000538/0.2827, allocations: 0.7012 MB / 1.247 GB, free: 3.484 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001944/0.2829, allocations: 44 kB / 1.247 GB, free: 3.441 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.472e-06/0.2829, allocations: 0 / 1.247 GB, free: 3.441 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 9.386e-05/0.283, allocations: 27.91 kB / 1.247 GB, free: 3.414 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000229/0.2833, allocations: 7.938 kB / 1.247 GB, free: 3.406 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003519/0.2836, allocations: 147 kB / 1.247 GB, free: 3.223 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002841/0.2839, allocations: 0.6808 MB / 1.248 GB, free: 2.516 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 1.831e-05/0.2839, allocations: 0 / 1.248 GB, free: 2.516 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.7e-05/0.284, allocations: 15.44 kB / 1.248 GB, free: 2.5 MB / 0.9669 GB Notification: Performance of SimCode: time 2.31e-07/0.284, allocations: 0 / 1.248 GB, free: 2.5 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1346/0.4185, allocations: 1.422 MB / 1.249 GB, free: 1.16 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.193/8.612, allocations: 5.75 kB / 1.249 GB, free: 1.156 MB / 0.9669 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/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=400 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Examples_Polynomial.fmu > Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_Polynomial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches