Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001585/0.001585, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001922/0.001922, allocations: 192.7 kB / 16.25 MB, free: 6.621 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.425/1.425, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.546/2.546, allocations: 437 MB / 0.71 GB, free: 5.27 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001312/0.001312, allocations: 71.89 kB / 0.8687 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6382/0.6396, allocations: 151.6 MB / 1.017 GB, free: 2.699 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Polynomial): time 0.00178/0.6414, allocations: 0.6549 MB / 1.017 GB, free: 2.043 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.000238/0.6416, allocations: 39.8 kB / 1.017 GB, free: 2.004 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.136e-05/0.6417, allocations: 0 / 1.017 GB, free: 2.004 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.486e-05/0.6417, allocations: 0 / 1.017 GB, free: 2.004 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.55e-06/0.6417, allocations: 0 / 1.017 GB, free: 2.004 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002817/0.642, allocations: 15.98 kB / 1.017 GB, free: 1.988 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 3.558e-05/0.642, allocations: 0 / 1.017 GB, free: 1.988 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 4.339e-05/0.6421, allocations: 4 kB / 1.017 GB, free: 1.984 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 1.46e-05/0.6421, allocations: 0 / 1.017 GB, free: 1.984 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 3.39e-05/0.6421, allocations: 4 kB / 1.017 GB, free: 1.98 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 9.158e-06/0.6421, allocations: 0 / 1.017 GB, free: 1.98 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 9.616e-05/0.6422, allocations: 19.97 kB / 1.017 GB, free: 1.961 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 9.578e-06/0.6423, allocations: 3.938 kB / 1.018 GB, free: 1.957 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 1.831e-05/0.6423, allocations: 4 kB / 1.018 GB, free: 1.953 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 8.728e-05/0.6424, allocations: 23.91 kB / 1.018 GB, free: 1.93 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.6424, allocations: 0 / 1.018 GB, free: 1.93 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.034e-06/0.6424, allocations: 0 / 1.018 GB, free: 1.93 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.932e-06/0.6424, allocations: 0 / 1.018 GB, free: 1.93 MB / 0.7637 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.0002828/0.6427, allocations: 311.6 kB / 1.018 GB, free: 1.574 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.683e-05/0.6427, allocations: 16.03 kB / 1.018 GB, free: 1.559 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.036e-05/0.6428, allocations: 8.875 kB / 1.018 GB, free: 1.551 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.551e-05/0.6429, allocations: 160.4 kB / 1.018 GB, free: 1.355 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.052e-05/0.6429, allocations: 384 / 1.018 GB, free: 1.355 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.097e-05/0.6429, allocations: 384 / 1.018 GB, free: 1.355 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001039/0.643, allocations: 34.25 kB / 1.018 GB, free: 1.316 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.663e-06/0.643, allocations: 192 / 1.018 GB, free: 1.316 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-06/0.643, allocations: 3.938 kB / 1.018 GB, free: 1.312 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.643, allocations: 0 / 1.018 GB, free: 1.312 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.159e-05/0.6431, allocations: 3.938 kB / 1.018 GB, free: 1.309 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001223/0.6432, allocations: 153.7 kB / 1.018 GB, free: 1.109 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 4.092e-05/0.6432, allocations: 18.58 kB / 1.018 GB, free: 1.082 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.786e-05/0.6433, allocations: 8.953 kB / 1.018 GB, free: 1.07 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 3.362e-05/0.6433, allocations: 0 / 1.018 GB, free: 1.07 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.477e-05/0.6433, allocations: 34.55 kB / 1.018 GB, free: 1.027 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=1): time 7.22e-07/0.6433, allocations: 0 / 1.018 GB, free: 1.027 MB / 0.7637 GB Notification: Performance of matching and sorting (n=1): time 0.0001206/0.6435, allocations: 45.58 kB / 1.018 GB, free: 0.9766 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.098e-05/0.6435, allocations: 51.41 kB / 1.018 GB, free: 0.9141 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.523e-05/0.6435, allocations: 89.86 kB / 1.018 GB, free: 0.8164 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 1.401e-05/0.6436, allocations: 29.7 kB / 1.018 GB, free: 0.7812 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 2.285e-05/0.6436, allocations: 80.14 kB / 1.019 GB, free: 0.6992 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 3.186e-05/0.6436, allocations: 3.906 kB / 1.019 GB, free: 0.6953 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.592e-05/0.6437, allocations: 13.72 kB / 1.019 GB, free: 0.6758 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001006/0.6438, allocations: 314.8 kB / 1.019 GB, free: 368 kB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.768e-06/0.6438, allocations: 4.125 kB / 1.019 GB, free: 364 kB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.725e-06/0.6438, allocations: 4 kB / 1.019 GB, free: 360 kB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.608e-05/0.6438, allocations: 4.859 kB / 1.019 GB, free: 352 kB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.6438, allocations: 0 / 1.019 GB, free: 352 kB / 0.7637 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.233e-05/0.6439, allocations: 41.64 kB / 1.019 GB, free: 304 kB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.6439, allocations: 4 kB / 1.019 GB, free: 300 kB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.6439, allocations: 0 / 1.019 GB, free: 300 kB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.6439, allocations: 3.938 kB / 1.019 GB, free: 296 kB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.768e-05/0.644, allocations: 12.08 kB / 1.019 GB, free: 284 kB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.644, allocations: 4 kB / 1.019 GB, free: 280 kB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.166e-05/0.644, allocations: 0 / 1.019 GB, free: 280 kB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.184e-05/0.644, allocations: 3.938 kB / 1.019 GB, free: 276 kB / 0.7637 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.96e-05/0.6441, allocations: 110.4 kB / 1.019 GB, free: 156 kB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.623e-06/0.6441, allocations: 3.938 kB / 1.019 GB, free: 152 kB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000116/0.6442, allocations: 48.75 kB / 1.019 GB, free: 96 kB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.6443, allocations: 4 kB / 1.019 GB, free: 92 kB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.6443, allocations: 3.938 kB / 1.019 GB, free: 88 kB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.6443, allocations: 0 / 1.019 GB, free: 88 kB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.585e-05/0.6444, allocations: 141.7 kB / 1.019 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.6444, allocations: 0 / 1.019 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.895e-05/0.6444, allocations: 7.984 kB / 1.019 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.6444, allocations: 0 / 1.019 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.426e-06/0.6444, allocations: 3.938 kB / 1.019 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.6444, allocations: 0 / 1.019 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.6444, allocations: 0 / 1.019 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.406e-05/0.6445, allocations: 61.17 kB / 1.019 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 2.627e-05/0.6445, allocations: 77.11 kB / 1.019 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.286e-05/0.6445, allocations: 7.922 kB / 1.019 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.032e-05/0.6446, allocations: 0 / 1.019 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.257e-05/0.6446, allocations: 0 / 1.019 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.759e-06/0.6446, allocations: 4 kB / 1.019 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 2.841e-05/0.6446, allocations: 75.28 kB / 1.019 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6446, allocations: 4.031 kB / 1.019 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001806/0.6448, allocations: 4 kB / 1.019 GB, free: 15.62 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.0001528/0.645, allocations: 103.2 kB / 1.02 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 8.045e-05/0.6451, allocations: 11.98 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.6451, allocations: 0 / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.967e-06/0.6451, allocations: 8 kB / 1.02 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001263/0.6452, allocations: 0 / 1.02 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001799/0.6454, allocations: 81.09 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002125/0.6456, allocations: 0.669 MB / 1.02 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.767e-05/0.6457, allocations: 4 kB / 1.02 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.286e-05/0.6457, allocations: 11.42 kB / 1.02 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of SimCode: time 2.5e-07/0.6457, allocations: 0 / 1.02 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of Templates: time 0.002138/0.6478, allocations: 296.5 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.Polynomial.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.Polynomial.sim & ./Buildings_10_Buildings.Utilities.Math.Functions.Examples.Polynomial -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.Polynomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_Polynomial.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.Polynomial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches