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.0009592/0.0009593, allocations: 87.03 kB / 15.06 MB, free: 1.09 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.001083/0.001083, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.525/1.525, allocations: 223.3 MB / 240 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.923/2.923, allocations: 462.6 MB / 0.736 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0006291/0.0006293, allocations: 10.72 kB / 0.9021 GB, free: 36.62 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4142/0.4149, allocations: 159.6 MB / 1.058 GB, free: 5.285 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Polynomial): time 0.0009071/0.4158, allocations: 318.8 kB / 1.058 GB, free: 4.973 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0002237/0.4161, allocations: 27.98 kB / 1.058 GB, free: 4.945 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.143e-05/0.4161, allocations: 3.938 kB / 1.058 GB, free: 4.941 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.128e-05/0.4161, allocations: 4 kB / 1.058 GB, free: 4.938 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.373e-06/0.4162, allocations: 0 / 1.058 GB, free: 4.938 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002698/0.4164, allocations: 11.98 kB / 1.058 GB, free: 4.926 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 4.279e-05/0.4165, allocations: 0 / 1.058 GB, free: 4.926 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.921e-05/0.4165, allocations: 3.984 kB / 1.058 GB, free: 4.922 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 1.707e-05/0.4166, allocations: 0 / 1.058 GB, free: 4.922 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.654e-05/0.4166, allocations: 8 kB / 1.058 GB, free: 4.914 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 9.458e-06/0.4166, allocations: 0 / 1.058 GB, free: 4.914 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 9.702e-05/0.4167, allocations: 11.98 kB / 1.058 GB, free: 4.902 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 7.895e-06/0.4168, allocations: 0 / 1.058 GB, free: 4.902 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.554e-05/0.4168, allocations: 29.7 kB / 1.058 GB, free: 4.867 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 7.804e-05/0.4169, allocations: 15.92 kB / 1.058 GB, free: 4.852 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/0.4169, allocations: 0 / 1.058 GB, free: 4.852 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.493e-06/0.4169, allocations: 3.938 kB / 1.058 GB, free: 4.848 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.87e-06/0.4169, allocations: 0 / 1.058 GB, free: 4.848 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.0002792/0.4172, allocations: 319.3 kB / 1.059 GB, free: 4.488 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.795e-05/0.4172, allocations: 8.031 kB / 1.059 GB, free: 4.48 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.096e-05/0.4173, allocations: 0 / 1.059 GB, free: 4.48 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.861e-05/0.4174, allocations: 159.1 kB / 1.059 GB, free: 4.285 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.087e-05/0.4174, allocations: 4 kB / 1.059 GB, free: 4.281 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.706e-06/0.4174, allocations: 7.953 kB / 1.059 GB, free: 4.273 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.791e-05/0.4175, allocations: 25.7 kB / 1.059 GB, free: 4.242 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.4175, allocations: 3.984 kB / 1.059 GB, free: 4.238 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.206e-06/0.4175, allocations: 0 / 1.059 GB, free: 4.238 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.4175, allocations: 7.938 kB / 1.059 GB, free: 4.23 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.617e-05/0.4176, allocations: 7.984 kB / 1.059 GB, free: 4.223 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001464/0.4177, allocations: 141.7 kB / 1.059 GB, free: 4.035 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 6.182e-05/0.4178, allocations: 26.55 kB / 1.059 GB, free: 4 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.809e-05/0.4178, allocations: 4.859 kB / 1.059 GB, free: 3.992 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 4.451e-05/0.4179, allocations: 8.016 kB / 1.059 GB, free: 3.984 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.682e-05/0.4179, allocations: 38.56 kB / 1.059 GB, free: 3.938 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/0.4179, allocations: 0 / 1.059 GB, free: 3.938 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1): time 0.0001437/0.418, allocations: 37.62 kB / 1.059 GB, free: 3.895 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.185e-05/0.4181, allocations: 51.41 kB / 1.059 GB, free: 3.832 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.647e-05/0.4181, allocations: 89.98 kB / 1.059 GB, free: 3.734 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.3e-05/0.4182, allocations: 29.7 kB / 1.059 GB, free: 3.699 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.594e-05/0.4182, allocations: 84.14 kB / 1.059 GB, free: 3.613 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.928e-05/0.4182, allocations: 0 / 1.059 GB, free: 3.613 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.034e-06/0.4182, allocations: 0 / 1.059 GB, free: 3.613 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.000144/0.4184, allocations: 310.8 kB / 1.06 GB, free: 3.301 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.338e-05/0.4184, allocations: 4 kB / 1.06 GB, free: 3.297 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.143e-06/0.4184, allocations: 4 kB / 1.06 GB, free: 3.293 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.871e-05/0.4184, allocations: 0 / 1.06 GB, free: 3.293 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.4185, allocations: 4.062 kB / 1.06 GB, free: 3.289 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.203e-05/0.4185, allocations: 33.69 kB / 1.06 GB, free: 3.25 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.021e-05/0.4185, allocations: 13.52 kB / 1.06 GB, free: 3.238 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.4185, allocations: 3.938 kB / 1.06 GB, free: 3.234 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.08e-05/0.4186, allocations: 0 / 1.06 GB, free: 3.234 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.955e-05/0.4186, allocations: 3.938 kB / 1.06 GB, free: 3.23 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.774e-06/0.4186, allocations: 4 kB / 1.06 GB, free: 3.227 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.199e-05/0.4187, allocations: 0 / 1.06 GB, free: 3.227 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.404e-05/0.4187, allocations: 0 / 1.06 GB, free: 3.227 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001134/0.4188, allocations: 109.9 kB / 1.06 GB, free: 3.109 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.554e-06/0.4188, allocations: 3.984 kB / 1.06 GB, free: 3.105 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001094/0.4189, allocations: 44.78 kB / 1.06 GB, free: 3.059 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-06/0.4189, allocations: 0 / 1.06 GB, free: 3.059 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.4189, allocations: 0 / 1.06 GB, free: 3.059 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.053e-06/0.4189, allocations: 0 / 1.06 GB, free: 3.059 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001328/0.4191, allocations: 153.7 kB / 1.06 GB, free: 2.859 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.4191, allocations: 4.031 kB / 1.06 GB, free: 2.855 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.492e-05/0.4191, allocations: 0 / 1.06 GB, free: 2.855 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.4191, allocations: 0 / 1.06 GB, free: 2.855 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.331e-06/0.4191, allocations: 0 / 1.06 GB, free: 2.855 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-06/0.4191, allocations: 7.953 kB / 1.06 GB, free: 2.848 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.4191, allocations: 3.938 kB / 1.06 GB, free: 2.844 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.389e-05/0.4192, allocations: 61.12 kB / 1.06 GB, free: 2.766 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001583/0.4194, allocations: 81.05 kB / 1.06 GB, free: 2.668 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.139e-05/0.4194, allocations: 8.031 kB / 1.06 GB, free: 2.66 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.054e-05/0.4194, allocations: 0 / 1.06 GB, free: 2.66 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.327e-05/0.4194, allocations: 3.953 kB / 1.06 GB, free: 2.656 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.126e-06/0.4195, allocations: 0 / 1.06 GB, free: 2.656 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.23e-05/0.4195, allocations: 75.28 kB / 1.06 GB, free: 2.582 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.01e-07/0.4195, allocations: 0 / 1.06 GB, free: 2.582 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002089/0.4197, allocations: 8 kB / 1.06 GB, free: 2.574 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001759/0.4199, allocations: 103.2 kB / 1.06 GB, free: 2.461 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 7.433e-05/0.42, allocations: 15.94 kB / 1.06 GB, free: 2.445 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.42, allocations: 0 / 1.06 GB, free: 2.445 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 6.633e-06/0.42, allocations: 0 / 1.06 GB, free: 2.445 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001448/0.4201, allocations: 4 kB / 1.06 GB, free: 2.441 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001922/0.4203, allocations: 82.59 kB / 1.061 GB, free: 2.332 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002814/0.4206, allocations: 0.6692 MB / 1.061 GB, free: 1.637 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.01e-05/0.4207, allocations: 8.125 kB / 1.061 GB, free: 1.629 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.116e-05/0.4207, allocations: 7.438 kB / 1.061 GB, free: 1.621 MB / 0.8106 GB Notification: Performance of SimCode: time 2.31e-07/0.4207, allocations: 0 / 1.061 GB, free: 1.621 MB / 0.8106 GB Notification: Performance of Templates: time 0.002499/0.4232, allocations: 280 kB / 1.061 GB, free: 1.348 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/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