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.001505/0.001505, allocations: 105.6 kB / 16.41 MB, free: 6.512 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.001574/0.001574, allocations: 187 kB / 17.34 MB, free: 5.742 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.368/1.368, allocations: 222.9 MB / 241 MB, free: 15.13 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.258/2.258, allocations: 390.3 MB / 0.6655 GB, free: 0.5781 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001452/0.001452, allocations: 63.91 kB / 0.9516 GB, free: 7.566 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.041/1.042, allocations: 140.4 MB / 1.089 GB, free: 5.488 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Polynomial): time 0.001843/1.044, allocations: 0.5792 MB / 1.089 GB, free: 5.133 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0002362/1.045, allocations: 34.8 kB / 1.089 GB, free: 5.113 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.491e-05/1.045, allocations: 1.062 kB / 1.089 GB, free: 5.113 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.63e-05/1.045, allocations: 3.938 kB / 1.089 GB, free: 5.109 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.321e-06/1.045, allocations: 0 / 1.089 GB, free: 5.109 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003078/1.045, allocations: 24.91 kB / 1.089 GB, free: 5.094 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 4.452e-05/1.045, allocations: 2.469 kB / 1.089 GB, free: 5.094 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.392e-05/1.045, allocations: 1.5 kB / 1.089 GB, free: 5.094 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 1.656e-05/1.045, allocations: 1.781 kB / 1.089 GB, free: 5.094 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.461e-05/1.045, allocations: 1.156 kB / 1.089 GB, free: 5.094 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.033e-05/1.045, allocations: 0 / 1.089 GB, free: 5.094 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000107/1.045, allocations: 20.2 kB / 1.089 GB, free: 5.09 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 9.808e-06/1.045, allocations: 0.5625 kB / 1.089 GB, free: 5.09 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.187e-05/1.045, allocations: 9.719 kB / 1.089 GB, free: 5.082 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 9.86e-05/1.045, allocations: 15.81 kB / 1.089 GB, free: 5.078 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/1.045, allocations: 0 / 1.089 GB, free: 5.078 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.693e-06/1.045, allocations: 4 kB / 1.089 GB, free: 5.074 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.061e-06/1.045, allocations: 0 / 1.089 GB, free: 5.074 MB / 0.8575 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.000274/1.046, allocations: 315.2 kB / 1.09 GB, free: 4.723 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/1.046, allocations: 8.844 kB / 1.09 GB, free: 4.723 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.065e-05/1.046, allocations: 2.469 kB / 1.09 GB, free: 4.723 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.95e-05/1.046, allocations: 161.5 kB / 1.09 GB, free: 4.527 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.017e-06/1.046, allocations: 5.016 kB / 1.09 GB, free: 4.523 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.11e-05/1.046, allocations: 1.812 kB / 1.09 GB, free: 4.523 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.181e-05/1.046, allocations: 33.2 kB / 1.09 GB, free: 4.488 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/1.046, allocations: 192 / 1.09 GB, free: 4.488 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.578e-06/1.046, allocations: 3.938 kB / 1.09 GB, free: 4.484 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/1.046, allocations: 1.562 kB / 1.09 GB, free: 4.484 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.976e-05/1.046, allocations: 1.625 kB / 1.09 GB, free: 4.484 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.686e-05/1.046, allocations: 144.5 kB / 1.09 GB, free: 4.297 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 3.528e-05/1.046, allocations: 24.53 kB / 1.09 GB, free: 4.266 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.62e-05/1.046, allocations: 6.781 kB / 1.09 GB, free: 4.258 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.394e-05/1.046, allocations: 5.469 kB / 1.09 GB, free: 4.254 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.251e-05/1.046, allocations: 32.56 kB / 1.09 GB, free: 4.215 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=1): time 8.72e-07/1.046, allocations: 0 / 1.09 GB, free: 4.215 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1): time 0.000121/1.046, allocations: 37.66 kB / 1.09 GB, free: 4.18 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.212e-05/1.046, allocations: 52.02 kB / 1.09 GB, free: 4.117 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.269e-05/1.046, allocations: 93.86 kB / 1.09 GB, free: 4.016 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 7.344e-06/1.046, allocations: 25.7 kB / 1.09 GB, free: 3.984 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 1.056e-05/1.046, allocations: 81.36 kB / 1.09 GB, free: 3.902 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.056e-05/1.047, allocations: 4.781 kB / 1.09 GB, free: 3.898 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.405e-05/1.047, allocations: 13.3 kB / 1.09 GB, free: 3.883 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.756e-05/1.047, allocations: 319.2 kB / 1.091 GB, free: 3.562 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.104e-05/1.047, allocations: 1.672 kB / 1.091 GB, free: 3.562 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.001e-06/1.047, allocations: 1.156 kB / 1.091 GB, free: 3.562 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.281e-05/1.047, allocations: 12.69 kB / 1.091 GB, free: 3.551 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/1.047, allocations: 0.6562 kB / 1.091 GB, free: 3.551 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.96e-05/1.047, allocations: 44.81 kB / 1.091 GB, free: 3.508 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.233e-05/1.047, allocations: 5.062 kB / 1.091 GB, free: 3.508 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/1.047, allocations: 1.781 kB / 1.091 GB, free: 3.508 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/1.047, allocations: 3.938 kB / 1.091 GB, free: 3.504 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.483e-05/1.047, allocations: 3.062 kB / 1.091 GB, free: 3.504 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/1.047, allocations: 0 / 1.091 GB, free: 3.504 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.296e-05/1.047, allocations: 4.734 kB / 1.091 GB, free: 3.5 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.176e-05/1.047, allocations: 1.625 kB / 1.091 GB, free: 3.5 MB / 0.8575 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 4.445e-05/1.047, allocations: 108.3 kB / 1.091 GB, free: 3.387 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.564e-06/1.047, allocations: 8.016 kB / 1.091 GB, free: 3.379 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.356e-05/1.047, allocations: 46.25 kB / 1.091 GB, free: 3.336 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-06/1.047, allocations: 0 / 1.091 GB, free: 3.336 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-06/1.047, allocations: 2.141 kB / 1.091 GB, free: 3.336 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/1.047, allocations: 0 / 1.091 GB, free: 3.336 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.174e-05/1.047, allocations: 144.7 kB / 1.091 GB, free: 3.148 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/1.047, allocations: 0 / 1.091 GB, free: 3.148 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.722e-05/1.047, allocations: 7.109 kB / 1.091 GB, free: 3.145 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.323e-06/1.047, allocations: 0 / 1.091 GB, free: 3.145 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-06/1.047, allocations: 5.625 kB / 1.091 GB, free: 3.141 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.32e-07/1.047, allocations: 0 / 1.091 GB, free: 3.141 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/1.047, allocations: 0.7031 kB / 1.091 GB, free: 3.141 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.719e-05/1.047, allocations: 62.05 kB / 1.091 GB, free: 3.07 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.338e-05/1.047, allocations: 77.77 kB / 1.091 GB, free: 2.977 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.245e-05/1.047, allocations: 5.609 kB / 1.091 GB, free: 2.973 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.08e-05/1.047, allocations: 5.188 kB / 1.091 GB, free: 2.969 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.831e-05/1.047, allocations: 0.6562 kB / 1.091 GB, free: 2.969 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.92e-06/1.047, allocations: 1.219 kB / 1.091 GB, free: 2.969 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 1.67e-05/1.047, allocations: 76.97 kB / 1.091 GB, free: 2.895 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/1.047, allocations: 0 / 1.091 GB, free: 2.895 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002168/1.048, allocations: 7.344 kB / 1.091 GB, free: 2.895 MB / 0.8575 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.0001589/1.048, allocations: 105.6 kB / 1.091 GB, free: 2.801 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 7.505e-05/1.048, allocations: 12.97 kB / 1.091 GB, free: 2.793 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.093e-06/1.048, allocations: 0 / 1.091 GB, free: 2.793 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.028e-05/1.048, allocations: 6.688 kB / 1.091 GB, free: 2.789 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001388/1.048, allocations: 3.297 kB / 1.091 GB, free: 2.789 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001887/1.048, allocations: 106.7 kB / 1.091 GB, free: 2.66 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000138/1.048, allocations: 0.6723 MB / 1.092 GB, free: 1.965 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.496e-05/1.048, allocations: 9.266 kB / 1.092 GB, free: 1.957 MB / 0.8575 GB Notification: Performance of SimCode: time 2.21e-07/1.048, allocations: 128 / 1.092 GB, free: 1.957 MB / 0.8575 GB Notification: Performance of Templates: time 0.03246/1.081, allocations: 453.4 kB / 1.093 GB, free: 1.93 MB / 0.8575 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