Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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: translateModel(Buildings.Utilities.Math.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.Examples.Polynomial") translateModel(Buildings.Utilities.Math.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.Examples.Polynomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001761/0.001761, allocations: 105 kB / 16.27 MB, free: 6.41 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.002224/0.002224, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.408/1.408, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.218/2.218, allocations: 390.3 MB / 0.6653 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001337/0.001337, allocations: 66.28 kB / 0.8132 GB, free: 33.17 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3047/0.306, allocations: 140.4 MB / 0.9503 GB, free: 8.836 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Polynomial): time 0.001872/0.308, allocations: 0.5708 MB / 0.9508 GB, free: 8.254 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0002428/0.3082, allocations: 35.88 kB / 0.9509 GB, free: 8.219 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.322e-05/0.3082, allocations: 0 / 0.9509 GB, free: 8.219 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.366e-05/0.3083, allocations: 0 / 0.9509 GB, free: 8.219 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.34e-06/0.3083, allocations: 4 kB / 0.9509 GB, free: 8.215 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.00027/0.3085, allocations: 15.92 kB / 0.9509 GB, free: 8.199 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 3.98e-05/0.3086, allocations: 0 / 0.9509 GB, free: 8.199 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.773e-05/0.3086, allocations: 4 kB / 0.9509 GB, free: 8.195 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 1.883e-05/0.3087, allocations: 7.938 kB / 0.9509 GB, free: 8.188 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 3.283e-05/0.3087, allocations: 3.984 kB / 0.9509 GB, free: 8.184 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 8.676e-06/0.3087, allocations: 0 / 0.9509 GB, free: 8.184 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 9.2e-05/0.3088, allocations: 15.98 kB / 0.9509 GB, free: 8.168 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 8.697e-06/0.3088, allocations: 0 / 0.9509 GB, free: 8.168 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 1.914e-05/0.3089, allocations: 3.984 kB / 0.9509 GB, free: 8.164 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 8.538e-05/0.3089, allocations: 11.98 kB / 0.9509 GB, free: 8.152 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.201e-06/0.309, allocations: 8 kB / 0.9509 GB, free: 8.145 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.223e-06/0.309, allocations: 0 / 0.9509 GB, free: 8.145 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.819e-06/0.309, allocations: 0 / 0.9509 GB, free: 8.145 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.0003169/0.3093, allocations: 321.1 kB / 0.9513 GB, free: 7.781 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.748e-05/0.3093, allocations: 12.03 kB / 0.9513 GB, free: 7.77 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.864e-05/0.3094, allocations: 4.875 kB / 0.9513 GB, free: 7.766 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.299e-05/0.3095, allocations: 160.4 kB / 0.9514 GB, free: 7.57 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.016e-05/0.3095, allocations: 384 / 0.9514 GB, free: 7.57 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.723e-06/0.3095, allocations: 384 / 0.9514 GB, free: 7.57 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.919e-05/0.3096, allocations: 42.25 kB / 0.9515 GB, free: 7.523 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.133e-06/0.3096, allocations: 192 / 0.9515 GB, free: 7.523 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.397e-06/0.3096, allocations: 3.938 kB / 0.9515 GB, free: 7.52 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.3096, allocations: 3.938 kB / 0.9515 GB, free: 7.516 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.807e-05/0.3096, allocations: 0 / 0.9515 GB, free: 7.516 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000138/0.3098, allocations: 149.7 kB / 0.9516 GB, free: 7.32 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 3.391e-05/0.3098, allocations: 22.45 kB / 0.9516 GB, free: 7.289 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.566e-05/0.3099, allocations: 4.953 kB / 0.9516 GB, free: 7.281 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.017e-05/0.3099, allocations: 8 kB / 0.9516 GB, free: 7.273 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.208e-05/0.3099, allocations: 34.55 kB / 0.9517 GB, free: 7.23 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=1): time 8.62e-07/0.3099, allocations: 0 / 0.9517 GB, free: 7.23 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1): time 0.0001171/0.31, allocations: 45.55 kB / 0.9517 GB, free: 7.18 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.323e-05/0.3101, allocations: 55.34 kB / 0.9518 GB, free: 7.113 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.352e-05/0.3101, allocations: 89.86 kB / 0.9519 GB, free: 7.016 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.115e-05/0.3101, allocations: 25.7 kB / 0.9519 GB, free: 6.984 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 3.314e-05/0.3102, allocations: 84.27 kB / 0.952 GB, free: 6.898 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.404e-05/0.3102, allocations: 0 / 0.952 GB, free: 6.898 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.487e-05/0.3102, allocations: 13.72 kB / 0.952 GB, free: 6.879 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000108/0.3104, allocations: 318.8 kB / 0.9523 GB, free: 6.559 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.848e-06/0.3104, allocations: 0 / 0.9523 GB, free: 6.559 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.731e-06/0.3104, allocations: 0 / 0.9523 GB, free: 6.559 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.684e-05/0.3104, allocations: 8.859 kB / 0.9523 GB, free: 6.547 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.3104, allocations: 0 / 0.9523 GB, free: 6.547 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.005e-05/0.3105, allocations: 37.77 kB / 0.9523 GB, free: 6.504 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.09e-05/0.3105, allocations: 4 kB / 0.9523 GB, free: 6.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.3105, allocations: 0 / 0.9523 GB, free: 6.5 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/0.3105, allocations: 7.875 kB / 0.9523 GB, free: 6.492 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.036e-05/0.3106, allocations: 7.984 kB / 0.9523 GB, free: 6.484 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.897e-06/0.3106, allocations: 0 / 0.9523 GB, free: 6.484 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.144e-05/0.3106, allocations: 0 / 0.9523 GB, free: 6.484 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.488e-05/0.3106, allocations: 3.984 kB / 0.9524 GB, free: 6.48 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.932e-05/0.3107, allocations: 113.9 kB / 0.9525 GB, free: 6.359 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.066e-06/0.3107, allocations: 4 kB / 0.9525 GB, free: 6.355 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.366e-05/0.3108, allocations: 40.75 kB / 0.9525 GB, free: 6.309 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.3108, allocations: 0 / 0.9525 GB, free: 6.309 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.3108, allocations: 0 / 0.9525 GB, free: 6.309 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.3108, allocations: 4 kB / 0.9525 GB, free: 6.305 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.972e-05/0.3109, allocations: 141.7 kB / 0.9526 GB, free: 6.117 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/0.3109, allocations: 0 / 0.9526 GB, free: 6.117 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.716e-05/0.311, allocations: 8.016 kB / 0.9527 GB, free: 6.109 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.005e-06/0.311, allocations: 7.984 kB / 0.9527 GB, free: 6.102 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.446e-06/0.311, allocations: 3.938 kB / 0.9527 GB, free: 6.098 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.311, allocations: 7.875 kB / 0.9527 GB, free: 6.09 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.311, allocations: 0 / 0.9527 GB, free: 6.09 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.718e-05/0.3111, allocations: 61.14 kB / 0.9527 GB, free: 6.012 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.903e-05/0.3111, allocations: 85.03 kB / 0.9528 GB, free: 5.91 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.09e-05/0.3111, allocations: 3.969 kB / 0.9528 GB, free: 5.906 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.02e-05/0.3111, allocations: 4 kB / 0.9528 GB, free: 5.902 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.116e-05/0.3112, allocations: 0 / 0.9528 GB, free: 5.902 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.193e-05/0.3112, allocations: 4 kB / 0.9528 GB, free: 5.898 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 2.47e-05/0.3112, allocations: 75.28 kB / 0.9529 GB, free: 5.824 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3112, allocations: 0 / 0.9529 GB, free: 5.824 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0001839/0.3114, allocations: 8 kB / 0.9529 GB, free: 5.816 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 (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.0001464/0.3115, allocations: 99.25 kB / 0.953 GB, free: 5.711 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 6.75e-05/0.3116, allocations: 15.92 kB / 0.953 GB, free: 5.695 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.3116, allocations: 0 / 0.953 GB, free: 5.695 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 9.318e-06/0.3116, allocations: 4 kB / 0.953 GB, free: 5.691 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001286/0.3118, allocations: 2.188 kB / 0.953 GB, free: 5.691 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001931/0.312, allocations: 112.8 kB / 0.9531 GB, free: 5.551 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002504/0.3122, allocations: 0.6727 MB / 0.9538 GB, free: 4.852 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.767e-05/0.3123, allocations: 11.42 kB / 0.9538 GB, free: 4.84 MB / 0.7325 GB Notification: Performance of SimCode: time 3.81e-07/0.3123, allocations: 4.125 kB / 0.9538 GB, free: 4.836 MB / 0.7325 GB Notification: Performance of Templates: time 0.001806/0.3141, allocations: 443.6 kB / 0.9542 GB, free: 4.402 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.Polynomial.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.Polynomial.sim & ./Buildings_9_Buildings.Utilities.Math.Functions.Examples.Polynomial -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.Polynomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_Polynomial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.Polynomial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches