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 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.Examples.Polynomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|polynominal.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial") translateModel(Buildings.Utilities.Math.Examples.Polynomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|polynominal.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008833/0.0008833, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001346/0.001346, allocations: 179.9 kB / 16.92 MB, free: 6.652 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.343/1.343, allocations: 223.3 MB / 241 MB, free: 5.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.735/2.735, allocations: 462.6 MB / 0.737 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003776/0.0003776, allocations: 8.75 kB / 0.9034 GB, free: 36.38 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3319/0.3323, allocations: 159.6 MB / 1.059 GB, free: 4.996 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Polynomial): time 0.001974/0.3343, allocations: 1.16 MB / 1.06 GB, free: 3.824 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0003401/0.3347, allocations: 95.75 kB / 1.061 GB, free: 3.73 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.995e-05/0.3347, allocations: 4 kB / 1.061 GB, free: 3.727 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 5.339e-05/0.3347, allocations: 3.984 kB / 1.061 GB, free: 3.723 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 3.978e-05/0.3348, allocations: 7.938 kB / 1.061 GB, free: 3.715 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002092/0.335, allocations: 15.98 kB / 1.061 GB, free: 3.699 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 7.518e-05/0.3351, allocations: 19.92 kB / 1.061 GB, free: 3.68 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.662e-05/0.3352, allocations: 11.98 kB / 1.061 GB, free: 3.668 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.911e-05/0.3352, allocations: 7.938 kB / 1.061 GB, free: 3.66 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.113e-05/0.3353, allocations: 11.98 kB / 1.061 GB, free: 3.648 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.319e-05/0.3353, allocations: 0 / 1.061 GB, free: 3.648 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001037/0.3354, allocations: 19.98 kB / 1.061 GB, free: 3.629 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 5.087e-05/0.3355, allocations: 7.875 kB / 1.061 GB, free: 3.621 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.592e-05/0.3356, allocations: 41.62 kB / 1.061 GB, free: 3.574 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001095/0.3357, allocations: 23.95 kB / 1.061 GB, free: 3.551 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.433e-06/0.3357, allocations: 0 / 1.061 GB, free: 3.551 MB / 0.8106 GB Notification: Performance of FrontEnd: time 3.156e-06/0.3357, allocations: 0 / 1.061 GB, free: 3.551 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.354e-06/0.3357, allocations: 0 / 1.061 GB, free: 3.551 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0006371/0.3364, allocations: 351.7 kB / 1.061 GB, free: 3.156 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 6.513e-05/0.3364, allocations: 11.97 kB / 1.061 GB, free: 3.145 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.112e-05/0.3365, allocations: 4.844 kB / 1.061 GB, free: 3.141 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002253/0.3367, allocations: 176.3 kB / 1.061 GB, free: 2.93 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.019e-05/0.3367, allocations: 384 / 1.061 GB, free: 2.93 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.603e-05/0.3368, allocations: 384 / 1.061 GB, free: 2.93 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002485/0.337, allocations: 58.23 kB / 1.061 GB, free: 2.867 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.337, allocations: 192 / 1.061 GB, free: 2.867 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.382e-05/0.3371, allocations: 7.938 kB / 1.061 GB, free: 2.859 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.3371, allocations: 0 / 1.061 GB, free: 2.859 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001922/0.3373, allocations: 43.97 kB / 1.061 GB, free: 2.816 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004096/0.3377, allocations: 257 kB / 1.062 GB, free: 2.516 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001553/0.3379, allocations: 58.41 kB / 1.062 GB, free: 2.449 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.971e-05/0.338, allocations: 28.91 kB / 1.062 GB, free: 2.418 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 4.109e-05/0.338, allocations: 4 kB / 1.062 GB, free: 2.414 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.058e-05/0.3381, allocations: 34.56 kB / 1.062 GB, free: 2.371 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.3381, allocations: 0 / 1.062 GB, free: 2.371 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0004412/0.3385, allocations: 109.6 kB / 1.062 GB, free: 2.258 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.353e-05/0.3386, allocations: 55.41 kB / 1.062 GB, free: 2.191 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001022/0.3387, allocations: 105.8 kB / 1.062 GB, free: 2.078 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.655e-05/0.3387, allocations: 29.64 kB / 1.062 GB, free: 2.043 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.944e-05/0.3388, allocations: 84.14 kB / 1.062 GB, free: 1.957 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.356e-05/0.3388, allocations: 7.891 kB / 1.062 GB, free: 1.949 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.418e-05/0.3388, allocations: 9.719 kB / 1.062 GB, free: 1.934 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001438/0.339, allocations: 318.9 kB / 1.062 GB, free: 1.613 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.603e-05/0.3391, allocations: 23.98 kB / 1.062 GB, free: 1.59 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.151e-05/0.3392, allocations: 23.97 kB / 1.062 GB, free: 1.566 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001834/0.3394, allocations: 52.89 kB / 1.062 GB, free: 1.512 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.3394, allocations: 0 / 1.062 GB, free: 1.512 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000216/0.3396, allocations: 89.53 kB / 1.063 GB, free: 1.418 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.3396, allocations: 8 kB / 1.063 GB, free: 1.41 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/0.3396, allocations: 0 / 1.063 GB, free: 1.41 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.3396, allocations: 0 / 1.063 GB, free: 1.41 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001056/0.3398, allocations: 11.98 kB / 1.063 GB, free: 1.398 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.283e-06/0.3398, allocations: 0 / 1.063 GB, free: 1.398 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.843e-05/0.3398, allocations: 15.92 kB / 1.063 GB, free: 1.383 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.63e-06/0.3398, allocations: 3.969 kB / 1.063 GB, free: 1.379 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 (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 0.0001089/0.34, allocations: 117.8 kB / 1.063 GB, free: 1.254 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.435e-05/0.34, allocations: 4 kB / 1.063 GB, free: 1.25 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002613/0.3403, allocations: 81.19 kB / 1.063 GB, free: 1.164 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.3403, allocations: 8.031 kB / 1.063 GB, free: 1.156 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.077e-06/0.3403, allocations: 0 / 1.063 GB, free: 1.156 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.728e-06/0.3403, allocations: 3.938 kB / 1.063 GB, free: 1.152 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002034/0.3405, allocations: 169.5 kB / 1.063 GB, free: 0.9375 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.3405, allocations: 0 / 1.063 GB, free: 0.9375 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.92e-05/0.3406, allocations: 11.98 kB / 1.063 GB, free: 0.9258 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.552e-06/0.3406, allocations: 0 / 1.063 GB, free: 0.9258 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.185e-06/0.3406, allocations: 256 / 1.063 GB, free: 0.9258 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.3406, allocations: 4 kB / 1.063 GB, free: 0.9219 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.3406, allocations: 4 kB / 1.063 GB, free: 0.918 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002775/0.3409, allocations: 175.5 kB / 1.063 GB, free: 0.7305 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.766e-05/0.341, allocations: 81.11 kB / 1.063 GB, free: 0.6328 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.401e-05/0.341, allocations: 4.031 kB / 1.063 GB, free: 0.6289 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.548e-05/0.3411, allocations: 7.984 kB / 1.063 GB, free: 0.6211 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.841e-05/0.3411, allocations: 4 kB / 1.063 GB, free: 0.6172 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.959e-06/0.3411, allocations: 0 / 1.063 GB, free: 0.6172 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.346e-05/0.3412, allocations: 91.2 kB / 1.063 GB, free: 0.5273 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3412, allocations: 0 / 1.063 GB, free: 0.5273 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002295/0.3414, allocations: 8 kB / 1.063 GB, free: 0.5195 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 (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.0001814/0.3416, allocations: 111.2 kB / 1.063 GB, free: 412 kB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.000248/0.3419, allocations: 47.95 kB / 1.063 GB, free: 364 kB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.165e-06/0.3419, allocations: 0 / 1.063 GB, free: 364 kB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 9.639e-05/0.342, allocations: 32.05 kB / 1.064 GB, free: 332 kB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002712/0.3423, allocations: 3.938 kB / 1.064 GB, free: 328 kB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003264/0.3426, allocations: 150.3 kB / 1.064 GB, free: 144 kB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002826/0.3429, allocations: 0.6809 MB / 1.064 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.219e-05/0.3429, allocations: 7.438 kB / 1.064 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of SimCode: time 2.51e-07/0.3429, allocations: 8 kB / 1.064 GB, free: 15.42 MB / 0.8262 GB Notification: Performance of Templates: time 0.002037/0.345, allocations: 0.6576 MB / 1.065 GB, free: 14.76 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial.makefile (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 & ./Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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