Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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: translateModel(Buildings.Utilities.Math.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x",fileNamePrefix="Buildings_latest_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_latest_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.005208/0.005208, allocations: 101.3 kB / 15.88 MB, free: 5.844 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.001203/0.001203, allocations: 196.8 kB / 16.79 MB, free: 5.781 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.334/1.334, allocations: 222.9 MB / 240.5 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.742/2.742, allocations: 461.9 MB / 0.7348 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001288/0.001288, allocations: 65.92 kB / 0.8991 GB, free: 36.98 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.355/0.3563, allocations: 157.4 MB / 1.053 GB, free: 8.305 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Polynomial): time 0.002678/0.3591, allocations: 0.6503 MB / 1.053 GB, free: 7.648 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0003133/0.3594, allocations: 31.88 kB / 1.053 GB, free: 7.617 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.358e-05/0.3595, allocations: 0 / 1.053 GB, free: 7.617 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.96e-05/0.3595, allocations: 0 / 1.053 GB, free: 7.617 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.053e-06/0.3595, allocations: 0 / 1.053 GB, free: 7.617 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002925/0.3598, allocations: 15.98 kB / 1.053 GB, free: 7.602 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 4.969e-05/0.3599, allocations: 3.984 kB / 1.053 GB, free: 7.598 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.957e-05/0.3599, allocations: 0 / 1.053 GB, free: 7.598 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 1.992e-05/0.36, allocations: 8 kB / 1.053 GB, free: 7.59 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.621e-05/0.36, allocations: 0 / 1.053 GB, free: 7.59 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.043e-05/0.36, allocations: 0 / 1.053 GB, free: 7.59 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001027/0.3601, allocations: 19.92 kB / 1.053 GB, free: 7.57 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 9.969e-06/0.3602, allocations: 0 / 1.053 GB, free: 7.57 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.768e-05/0.3602, allocations: 8 kB / 1.053 GB, free: 7.562 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 8.017e-05/0.3603, allocations: 7.984 kB / 1.053 GB, free: 7.555 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.3603, allocations: 7.938 kB / 1.054 GB, free: 7.547 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.282e-06/0.3603, allocations: 0 / 1.054 GB, free: 7.547 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.438e-06/0.3603, allocations: 0 / 1.054 GB, free: 7.547 MB / 0.8106 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.0003531/0.3607, allocations: 319.5 kB / 1.054 GB, free: 7.184 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.322e-05/0.3607, allocations: 11.97 kB / 1.054 GB, free: 7.172 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.204e-05/0.3608, allocations: 0.9375 kB / 1.054 GB, free: 7.172 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.99e-05/0.3608, allocations: 160.4 kB / 1.054 GB, free: 6.977 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.208e-05/0.3609, allocations: 384 / 1.054 GB, free: 6.977 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.487e-05/0.3609, allocations: 4.375 kB / 1.054 GB, free: 6.973 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001181/0.361, allocations: 34.25 kB / 1.054 GB, free: 6.934 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.361, allocations: 192 / 1.054 GB, free: 6.934 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.036e-05/0.361, allocations: 3.938 kB / 1.054 GB, free: 6.93 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/0.3611, allocations: 7.938 kB / 1.054 GB, free: 6.922 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.561e-05/0.3611, allocations: 7.938 kB / 1.054 GB, free: 6.914 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001561/0.3612, allocations: 145.7 kB / 1.054 GB, free: 6.723 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 4.391e-05/0.3613, allocations: 18.61 kB / 1.054 GB, free: 6.695 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.438e-05/0.3613, allocations: 12.84 kB / 1.054 GB, free: 6.68 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 4.192e-05/0.3614, allocations: 4 kB / 1.054 GB, free: 6.676 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.964e-05/0.3614, allocations: 34.62 kB / 1.054 GB, free: 6.633 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=1): time 1.553e-06/0.3614, allocations: 4 kB / 1.054 GB, free: 6.629 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1): time 0.000145/0.3616, allocations: 37.58 kB / 1.054 GB, free: 6.586 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.811e-05/0.3616, allocations: 51.41 kB / 1.054 GB, free: 6.523 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.302e-05/0.3617, allocations: 89.86 kB / 1.054 GB, free: 6.426 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.31e-05/0.3617, allocations: 25.7 kB / 1.054 GB, free: 6.395 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 2.971e-05/0.3617, allocations: 80.14 kB / 1.055 GB, free: 6.312 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.433e-05/0.3618, allocations: 4 kB / 1.055 GB, free: 6.309 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.304e-05/0.3618, allocations: 17.7 kB / 1.055 GB, free: 6.285 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001147/0.3619, allocations: 315 kB / 1.055 GB, free: 5.969 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.324e-05/0.3619, allocations: 4 kB / 1.055 GB, free: 5.965 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.353e-06/0.3619, allocations: 0 / 1.055 GB, free: 5.965 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.297e-05/0.362, allocations: 8.859 kB / 1.055 GB, free: 5.953 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.362, allocations: 3.938 kB / 1.055 GB, free: 5.949 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.159e-05/0.3621, allocations: 29.7 kB / 1.055 GB, free: 5.914 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/0.3621, allocations: 7.984 kB / 1.055 GB, free: 5.906 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.3621, allocations: 0 / 1.055 GB, free: 5.906 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.823e-05/0.3621, allocations: 15.97 kB / 1.055 GB, free: 5.891 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.165e-05/0.3622, allocations: 0 / 1.055 GB, free: 5.891 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.3622, allocations: 0 / 1.055 GB, free: 5.891 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.429e-05/0.3622, allocations: 0 / 1.055 GB, free: 5.891 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.083e-05/0.3622, allocations: 8 kB / 1.055 GB, free: 5.883 MB / 0.8106 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.081e-05/0.3623, allocations: 105.8 kB / 1.055 GB, free: 5.77 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.466e-06/0.3623, allocations: 0 / 1.055 GB, free: 5.77 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001222/0.3625, allocations: 52.69 kB / 1.055 GB, free: 5.715 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.3625, allocations: 0 / 1.055 GB, free: 5.715 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.3625, allocations: 0 / 1.055 GB, free: 5.715 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.3625, allocations: 0 / 1.055 GB, free: 5.715 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001037/0.3626, allocations: 149.7 kB / 1.055 GB, free: 5.52 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.307e-06/0.3626, allocations: 3.984 kB / 1.055 GB, free: 5.516 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.352e-05/0.3626, allocations: 4 kB / 1.055 GB, free: 5.512 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.3626, allocations: 0 / 1.055 GB, free: 5.512 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.876e-06/0.3626, allocations: 3.938 kB / 1.055 GB, free: 5.508 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.3626, allocations: 0 / 1.055 GB, free: 5.508 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.3627, allocations: 4.031 kB / 1.055 GB, free: 5.504 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.26e-05/0.3627, allocations: 57.14 kB / 1.055 GB, free: 5.43 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.028e-05/0.3628, allocations: 85.03 kB / 1.055 GB, free: 5.328 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.713e-05/0.3628, allocations: 3.938 kB / 1.055 GB, free: 5.324 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.288e-05/0.3628, allocations: 7.938 kB / 1.055 GB, free: 5.316 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.699e-05/0.3629, allocations: 4 kB / 1.055 GB, free: 5.312 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.51e-06/0.3629, allocations: 0 / 1.055 GB, free: 5.312 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.472e-05/0.3629, allocations: 79.31 kB / 1.055 GB, free: 5.234 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.71e-07/0.3629, allocations: 0 / 1.055 GB, free: 5.234 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002009/0.3631, allocations: 4 kB / 1.055 GB, free: 5.23 MB / 0.8106 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.0002026/0.3633, allocations: 103.2 kB / 1.056 GB, free: 5.117 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 7.826e-05/0.3634, allocations: 7.984 kB / 1.056 GB, free: 5.109 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.3634, allocations: 4 kB / 1.056 GB, free: 5.105 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 8.015e-06/0.3634, allocations: 0 / 1.056 GB, free: 5.105 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001386/0.3636, allocations: 4.125 kB / 1.056 GB, free: 5.102 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002501/0.3638, allocations: 112.3 kB / 1.056 GB, free: 4.957 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002644/0.3641, allocations: 0.6809 MB / 1.056 GB, free: 4.25 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.996e-05/0.3642, allocations: 11.44 kB / 1.056 GB, free: 4.238 MB / 0.8106 GB Notification: Performance of SimCode: time 3.61e-07/0.3642, allocations: 0 / 1.056 GB, free: 4.238 MB / 0.8106 GB Notification: Performance of Templates: time 0.002215/0.3664, allocations: 435.6 kB / 1.057 GB, free: 3.812 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Polynomial.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Polynomial.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Polynomial -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Polynomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_Polynomial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Polynomial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches