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.0009609/0.0009611, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.007708/0.007708, allocations: 169.7 kB / 16.27 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.407/1.407, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Experimental/DHC/UsersGuide/package.mo:2:1-389:15:writable] Warning: UsersGuide was referenced in the package.order file, but was not found in package.mo, UsersGuide/package.mo or UsersGuide.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.691/2.691, allocations: 443.3 MB / 0.7175 GB, free: 1.477 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003754/0.0003755, allocations: 12.5 kB / 0.8796 GB, free: 41.47 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3065/0.3069, allocations: 155.2 MB / 1.031 GB, free: 4.371 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Polynomial): time 0.0006788/0.3077, allocations: 320.4 kB / 1.031 GB, free: 4.055 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0002425/0.3079, allocations: 43.81 kB / 1.031 GB, free: 4.012 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.989e-06/0.3079, allocations: 0 / 1.031 GB, free: 4.012 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.284e-05/0.308, allocations: 0 / 1.031 GB, free: 4.012 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 4.258e-06/0.308, allocations: 0 / 1.031 GB, free: 4.012 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002299/0.3082, allocations: 7.984 kB / 1.031 GB, free: 4.004 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 3.544e-05/0.3083, allocations: 4 kB / 1.031 GB, free: 4 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 3.753e-05/0.3083, allocations: 3.938 kB / 1.031 GB, free: 3.996 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 1.565e-05/0.3083, allocations: 4 kB / 1.031 GB, free: 3.992 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 3.775e-05/0.3084, allocations: 0 / 1.031 GB, free: 3.992 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.138e-05/0.3084, allocations: 8 kB / 1.031 GB, free: 3.984 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 7.817e-05/0.3085, allocations: 11.98 kB / 1.031 GB, free: 3.973 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 7.625e-06/0.3085, allocations: 0 / 1.031 GB, free: 3.973 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.764e-05/0.3085, allocations: 33.69 kB / 1.032 GB, free: 3.934 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 7.747e-05/0.3086, allocations: 15.97 kB / 1.032 GB, free: 3.918 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.3086, allocations: 0 / 1.032 GB, free: 3.918 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.493e-06/0.3086, allocations: 0 / 1.032 GB, free: 3.918 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.326e-06/0.3086, allocations: 4 kB / 1.032 GB, free: 3.914 MB / 0.7794 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.000256/0.3089, allocations: 309.1 kB / 1.032 GB, free: 3.562 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.479e-05/0.3089, allocations: 12.03 kB / 1.032 GB, free: 3.551 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.517e-05/0.309, allocations: 12.92 kB / 1.032 GB, free: 3.539 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.489e-05/0.309, allocations: 164.3 kB / 1.032 GB, free: 3.34 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.336e-06/0.3091, allocations: 384 / 1.032 GB, free: 3.34 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.344e-05/0.3091, allocations: 4.375 kB / 1.032 GB, free: 3.336 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.805e-05/0.3092, allocations: 30.2 kB / 1.032 GB, free: 3.301 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.152e-06/0.3092, allocations: 4.188 kB / 1.032 GB, free: 3.297 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.546e-06/0.3092, allocations: 3.938 kB / 1.032 GB, free: 3.293 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.3092, allocations: 0 / 1.032 GB, free: 3.293 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.722e-05/0.3092, allocations: 0 / 1.032 GB, free: 3.293 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001287/0.3094, allocations: 157.6 kB / 1.032 GB, free: 3.09 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 3.235e-05/0.3094, allocations: 18.61 kB / 1.032 GB, free: 3.062 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.574e-05/0.3094, allocations: 4.859 kB / 1.032 GB, free: 3.055 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.589e-05/0.3095, allocations: 8 kB / 1.032 GB, free: 3.047 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.973e-05/0.3095, allocations: 30.56 kB / 1.032 GB, free: 3.008 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=1): time 8.92e-07/0.3095, allocations: 0 / 1.032 GB, free: 3.008 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1): time 0.000122/0.3096, allocations: 41.62 kB / 1.032 GB, free: 2.961 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.97e-05/0.3097, allocations: 59.53 kB / 1.032 GB, free: 2.891 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.554e-05/0.3097, allocations: 89.86 kB / 1.032 GB, free: 2.793 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.141e-05/0.3097, allocations: 25.7 kB / 1.032 GB, free: 2.762 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 2.129e-05/0.3097, allocations: 80.14 kB / 1.033 GB, free: 2.68 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.752e-05/0.3098, allocations: 0 / 1.033 GB, free: 2.68 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.106e-05/0.3098, allocations: 9.719 kB / 1.033 GB, free: 2.664 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.664e-05/0.3099, allocations: 310.8 kB / 1.033 GB, free: 2.352 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.598e-06/0.3099, allocations: 0 / 1.033 GB, free: 2.352 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.822e-06/0.3099, allocations: 11.94 kB / 1.033 GB, free: 2.34 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.624e-05/0.31, allocations: 12.86 kB / 1.033 GB, free: 2.324 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.31, allocations: 0 / 1.033 GB, free: 2.324 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.315e-05/0.31, allocations: 33.69 kB / 1.033 GB, free: 2.285 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/0.31, allocations: 4 kB / 1.033 GB, free: 2.281 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.31, allocations: 0 / 1.033 GB, free: 2.281 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.088e-05/0.3101, allocations: 7.938 kB / 1.033 GB, free: 2.273 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.797e-05/0.3101, allocations: 0 / 1.033 GB, free: 2.273 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.549e-06/0.3101, allocations: 0 / 1.033 GB, free: 2.273 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.27e-05/0.3101, allocations: 4.094 kB / 1.033 GB, free: 2.27 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.425e-05/0.3102, allocations: 4 kB / 1.033 GB, free: 2.266 MB / 0.7794 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 5.958e-05/0.3102, allocations: 113.7 kB / 1.033 GB, free: 2.145 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.536e-06/0.3102, allocations: 0 / 1.033 GB, free: 2.145 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.648e-05/0.3103, allocations: 52.69 kB / 1.033 GB, free: 2.082 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-06/0.3104, allocations: 0 / 1.033 GB, free: 2.082 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.3104, allocations: 4.031 kB / 1.033 GB, free: 2.078 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.3104, allocations: 3.984 kB / 1.033 GB, free: 2.074 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.276e-05/0.3105, allocations: 146 kB / 1.033 GB, free: 1.883 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.3105, allocations: 0 / 1.033 GB, free: 1.883 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.885e-05/0.3105, allocations: 7.938 kB / 1.033 GB, free: 1.875 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.3105, allocations: 0 / 1.033 GB, free: 1.875 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.933e-06/0.3105, allocations: 3.938 kB / 1.033 GB, free: 1.871 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.3105, allocations: 0 / 1.033 GB, free: 1.871 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3105, allocations: 0 / 1.033 GB, free: 1.871 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.693e-05/0.3106, allocations: 69.06 kB / 1.033 GB, free: 1.785 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 2.962e-05/0.3106, allocations: 77.11 kB / 1.033 GB, free: 1.691 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.046e-05/0.3106, allocations: 3.938 kB / 1.033 GB, free: 1.688 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.11e-05/0.3107, allocations: 0 / 1.033 GB, free: 1.688 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.541e-05/0.3107, allocations: 8 kB / 1.033 GB, free: 1.68 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.586e-06/0.3107, allocations: 0 / 1.033 GB, free: 1.68 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 2.638e-05/0.3107, allocations: 75.28 kB / 1.033 GB, free: 1.605 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3107, allocations: 0 / 1.033 GB, free: 1.605 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001901/0.3109, allocations: 4 kB / 1.033 GB, free: 1.602 MB / 0.7794 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.0001366/0.3111, allocations: 111.2 kB / 1.034 GB, free: 1.484 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 5.439e-05/0.3111, allocations: 4 kB / 1.034 GB, free: 1.48 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.3111, allocations: 4 kB / 1.034 GB, free: 1.477 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.839e-06/0.3111, allocations: 7.938 kB / 1.034 GB, free: 1.469 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001241/0.3113, allocations: 1.828 kB / 1.034 GB, free: 1.469 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001594/0.3114, allocations: 78.61 kB / 1.034 GB, free: 1.367 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000191/0.3116, allocations: 0.6772 MB / 1.034 GB, free: 0.6641 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.454e-05/0.3117, allocations: 0 / 1.034 GB, free: 0.6641 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.105e-05/0.3117, allocations: 11.44 kB / 1.034 GB, free: 0.6523 MB / 0.7794 GB Notification: Performance of SimCode: time 3.6e-07/0.3117, allocations: 0 / 1.034 GB, free: 0.6523 MB / 0.7794 GB Notification: Performance of Templates: time 0.002022/0.3137, allocations: 280.6 kB / 1.035 GB, free: 388 kB / 0.7794 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/jenkins/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