Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001579/0.001579, allocations: 105.5 kB / 15.98 MB, free: 6.352 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.001581/0.001581, allocations: 195.6 kB / 16.91 MB, free: 6.184 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.439/1.439, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.68/2.68, allocations: 469.8 MB / 0.7427 GB, free: 3.617 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001953/0.001953, allocations: 64.86 kB / 0.9087 GB, free: 14.22 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3075/0.3095, allocations: 159.1 MB / 1.064 GB, free: 15.1 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Polynomial): time 0.001722/0.3113, allocations: 0.6426 MB / 1.065 GB, free: 14.45 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0002058/0.3115, allocations: 39.7 kB / 1.065 GB, free: 14.41 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.796e-06/0.3115, allocations: 0 / 1.065 GB, free: 14.41 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 1.144e-05/0.3115, allocations: 4 kB / 1.065 GB, free: 14.41 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 4.869e-06/0.3115, allocations: 0 / 1.065 GB, free: 14.41 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002358/0.3118, allocations: 12 kB / 1.065 GB, free: 14.4 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 3.444e-05/0.3118, allocations: 3.984 kB / 1.065 GB, free: 14.39 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 4.084e-05/0.3119, allocations: 0 / 1.065 GB, free: 14.39 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 1.63e-05/0.3119, allocations: 7.984 kB / 1.065 GB, free: 14.39 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 2.96e-05/0.3119, allocations: 0 / 1.065 GB, free: 14.39 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 7.905e-06/0.3119, allocations: 0 / 1.065 GB, free: 14.39 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 8.164e-05/0.312, allocations: 19.92 kB / 1.065 GB, free: 14.37 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 7.754e-06/0.312, allocations: 0 / 1.065 GB, free: 14.37 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 1.849e-05/0.3121, allocations: 8 kB / 1.065 GB, free: 14.36 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 5.921e-05/0.3121, allocations: 7.984 kB / 1.065 GB, free: 14.35 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.3121, allocations: 4 kB / 1.065 GB, free: 14.35 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.302e-06/0.3121, allocations: 0 / 1.065 GB, free: 14.35 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 8.075e-06/0.3121, allocations: 0 / 1.065 GB, free: 14.35 MB / 0.8419 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.0003202/0.3125, allocations: 319.5 kB / 1.065 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.322e-05/0.3125, allocations: 8.031 kB / 1.065 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.482e-05/0.3125, allocations: 0.9375 kB / 1.065 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001115/0.3127, allocations: 164.3 kB / 1.065 GB, free: 13.78 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.142e-06/0.3127, allocations: 384 / 1.065 GB, free: 13.78 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.214e-05/0.3127, allocations: 8.375 kB / 1.065 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.582e-05/0.3128, allocations: 30.25 kB / 1.065 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.883e-06/0.3128, allocations: 192 / 1.065 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.043e-05/0.3128, allocations: 3.938 kB / 1.065 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.467e-06/0.3128, allocations: 0 / 1.065 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.143e-05/0.3128, allocations: 7.938 kB / 1.065 GB, free: 13.72 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001505/0.313, allocations: 145.7 kB / 1.066 GB, free: 13.53 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 3.786e-05/0.313, allocations: 18.61 kB / 1.066 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.988e-05/0.3131, allocations: 16.84 kB / 1.066 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.501e-05/0.3131, allocations: 0 / 1.066 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.498e-05/0.3131, allocations: 34.62 kB / 1.066 GB, free: 13.44 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=1): time 7.61e-07/0.3131, allocations: 0 / 1.066 GB, free: 13.44 MB / 0.8419 GB Notification: Performance of matching and sorting (n=1): time 0.0001241/0.3133, allocations: 41.58 kB / 1.066 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.173e-05/0.3133, allocations: 51.41 kB / 1.066 GB, free: 13.33 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.322e-05/0.3134, allocations: 89.86 kB / 1.066 GB, free: 13.23 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.526e-05/0.3134, allocations: 29.83 kB / 1.066 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 3.492e-05/0.3134, allocations: 80.14 kB / 1.066 GB, free: 13.12 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.627e-05/0.3135, allocations: 4 kB / 1.066 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.032e-05/0.3135, allocations: 13.7 kB / 1.066 GB, free: 13.09 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.000127/0.3136, allocations: 310.8 kB / 1.066 GB, free: 12.78 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.296e-05/0.3136, allocations: 8 kB / 1.066 GB, free: 12.77 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.581e-06/0.3136, allocations: 0 / 1.066 GB, free: 12.77 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.915e-05/0.3137, allocations: 16.92 kB / 1.066 GB, free: 12.75 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.3137, allocations: 0 / 1.066 GB, free: 12.75 MB / 0.8419 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.73e-05/0.3137, allocations: 33.64 kB / 1.066 GB, free: 12.71 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.3138, allocations: 7.984 kB / 1.066 GB, free: 12.71 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.576e-06/0.3138, allocations: 0 / 1.066 GB, free: 12.71 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.3138, allocations: 7.938 kB / 1.066 GB, free: 12.7 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.374e-05/0.3138, allocations: 0 / 1.066 GB, free: 12.7 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.439e-06/0.3139, allocations: 0 / 1.066 GB, free: 12.7 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.171e-05/0.3139, allocations: 0 / 1.066 GB, free: 12.7 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.363e-05/0.3139, allocations: 4 kB / 1.066 GB, free: 12.7 MB / 0.8419 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.329e-05/0.314, allocations: 109.9 kB / 1.066 GB, free: 12.58 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.586e-06/0.314, allocations: 0 / 1.066 GB, free: 12.58 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001015/0.3141, allocations: 60.61 kB / 1.066 GB, free: 12.51 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.263e-06/0.3141, allocations: 0 / 1.066 GB, free: 12.51 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.367e-06/0.3141, allocations: 0 / 1.066 GB, free: 12.51 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-06/0.3141, allocations: 3.938 kB / 1.066 GB, free: 12.51 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001036/0.3142, allocations: 141.7 kB / 1.067 GB, free: 12.32 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.3142, allocations: 7.984 kB / 1.067 GB, free: 12.31 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.738e-05/0.3142, allocations: 4 kB / 1.067 GB, free: 12.31 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.223e-06/0.3143, allocations: 0 / 1.067 GB, free: 12.31 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.073e-06/0.3143, allocations: 3.938 kB / 1.067 GB, free: 12.3 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.3143, allocations: 0 / 1.067 GB, free: 12.3 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.3143, allocations: 0 / 1.067 GB, free: 12.3 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.984e-05/0.3143, allocations: 57.14 kB / 1.067 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.713e-05/0.3144, allocations: 89.03 kB / 1.067 GB, free: 12.12 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.126e-05/0.3144, allocations: 3.938 kB / 1.067 GB, free: 12.12 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.037e-05/0.3144, allocations: 0 / 1.067 GB, free: 12.12 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.705e-05/0.3145, allocations: 4 kB / 1.067 GB, free: 12.12 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.266e-06/0.3145, allocations: 3.938 kB / 1.067 GB, free: 12.11 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 3.206e-05/0.3145, allocations: 75.28 kB / 1.067 GB, free: 12.04 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3145, allocations: 0 / 1.067 GB, free: 12.04 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0001794/0.3147, allocations: 4 kB / 1.067 GB, free: 12.04 MB / 0.8419 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.000163/0.3149, allocations: 119.2 kB / 1.067 GB, free: 11.91 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 6.458e-05/0.3149, allocations: 7.984 kB / 1.067 GB, free: 11.9 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.3149, allocations: 0 / 1.067 GB, free: 11.9 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 6.953e-06/0.3149, allocations: 0 / 1.067 GB, free: 11.9 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000129/0.3151, allocations: 4 kB / 1.067 GB, free: 11.89 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000177/0.3153, allocations: 104.9 kB / 1.067 GB, free: 11.76 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000292/0.3156, allocations: 0.6729 MB / 1.068 GB, free: 11.06 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.067e-05/0.3156, allocations: 15.56 kB / 1.068 GB, free: 11.05 MB / 0.8419 GB Notification: Performance of SimCode: time 2.004e-06/0.3156, allocations: 0 / 1.068 GB, free: 11.05 MB / 0.8419 GB Notification: Performance of Templates: time 0.00179/0.3174, allocations: 455.5 kB / 1.068 GB, free: 10.6 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.Polynomial.makefile (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.Polynomial.sim & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.Polynomial -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.Polynomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_Polynomial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.Polynomial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches