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.001034/0.001034, allocations: 108 kB / 15.6 MB, free: 132 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.00108/0.00108, allocations: 195.5 kB / 16.53 MB, free: 6.391 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.306/1.306, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.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.249/2.249, allocations: 390.2 MB / 0.6647 GB, free: 416 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001212/0.001213, allocations: 63.91 kB / 0.8125 GB, free: 14.44 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.652/0.6533, allocations: 140.4 MB / 0.9496 GB, free: 9.199 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Polynomial): time 0.002064/0.6554, allocations: 0.5792 MB / 0.9502 GB, free: 8.75 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0002433/0.6556, allocations: 32.12 kB / 0.9502 GB, free: 8.727 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.599e-05/0.6557, allocations: 1.375 kB / 0.9502 GB, free: 8.727 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.122e-05/0.6557, allocations: 0 / 0.9502 GB, free: 8.727 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.498e-06/0.6557, allocations: 3.938 kB / 0.9502 GB, free: 8.723 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002869/0.656, allocations: 17.48 kB / 0.9502 GB, free: 8.711 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.148e-05/0.6561, allocations: 2.75 kB / 0.9502 GB, free: 8.711 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.393e-05/0.6561, allocations: 3.938 kB / 0.9502 GB, free: 8.707 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.261e-05/0.6561, allocations: 1.375 kB / 0.9502 GB, free: 8.707 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.135e-05/0.6562, allocations: 5.359 kB / 0.9502 GB, free: 8.703 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.257e-06/0.6562, allocations: 3.938 kB / 0.9502 GB, free: 8.699 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.413e-05/0.6563, allocations: 16.23 kB / 0.9502 GB, free: 8.691 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.526e-06/0.6563, allocations: 0 / 0.9502 GB, free: 8.691 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.788e-05/0.6563, allocations: 0 / 0.9502 GB, free: 8.691 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.431e-05/0.6564, allocations: 18.84 kB / 0.9503 GB, free: 8.68 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.6564, allocations: 5.375 kB / 0.9503 GB, free: 8.676 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.613e-06/0.6564, allocations: 0 / 0.9503 GB, free: 8.676 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.869e-06/0.6564, allocations: 0 / 0.9503 GB, free: 8.676 MB / 0.7169 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.0002355/0.6567, allocations: 315.7 kB / 0.9506 GB, free: 8.32 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.6567, allocations: 9.625 kB / 0.9506 GB, free: 8.32 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.302e-05/0.6567, allocations: 4.922 kB / 0.9506 GB, free: 8.316 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.637e-05/0.6568, allocations: 160.4 kB / 0.9507 GB, free: 8.121 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.229e-05/0.6568, allocations: 5.75 kB / 0.9507 GB, free: 8.117 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.017e-06/0.6568, allocations: 384 / 0.9507 GB, free: 8.117 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.828e-05/0.6569, allocations: 40.94 kB / 0.9508 GB, free: 8.074 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.6569, allocations: 192 / 0.9508 GB, free: 8.074 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.195e-06/0.6569, allocations: 3.938 kB / 0.9508 GB, free: 8.07 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.167e-06/0.657, allocations: 0 / 0.9508 GB, free: 8.07 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.932e-05/0.657, allocations: 2.75 kB / 0.9508 GB, free: 8.07 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001307/0.6571, allocations: 143.1 kB / 0.9509 GB, free: 7.883 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.988e-05/0.6572, allocations: 19.95 kB / 0.9509 GB, free: 7.855 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.661e-05/0.6572, allocations: 6.234 kB / 0.9509 GB, free: 7.848 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.284e-05/0.6572, allocations: 9.312 kB / 0.951 GB, free: 7.84 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.628e-05/0.6572, allocations: 35.92 kB / 0.951 GB, free: 7.797 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 8.12e-07/0.6573, allocations: 0 / 0.951 GB, free: 7.797 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.0001224/0.6574, allocations: 35.14 kB / 0.951 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.915e-05/0.6574, allocations: 56.72 kB / 0.9511 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.544e-05/0.6574, allocations: 89.86 kB / 0.9512 GB, free: 7.598 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.671e-06/0.6574, allocations: 25.7 kB / 0.9512 GB, free: 7.566 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 9.899e-06/0.6575, allocations: 84.27 kB / 0.9513 GB, free: 7.48 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.128e-05/0.6575, allocations: 9.281 kB / 0.9513 GB, free: 7.473 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.327e-05/0.6575, allocations: 11.09 kB / 0.9513 GB, free: 7.457 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.706e-05/0.6576, allocations: 316.2 kB / 0.9516 GB, free: 7.141 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.948e-06/0.6576, allocations: 1.375 kB / 0.9516 GB, free: 7.141 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.654e-06/0.6576, allocations: 5.312 kB / 0.9516 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.26e-05/0.6576, allocations: 7.609 kB / 0.9516 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.6576, allocations: 4 kB / 0.9516 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.538e-05/0.6577, allocations: 39.2 kB / 0.9516 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/0.6577, allocations: 5.5 kB / 0.9516 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.097e-06/0.6577, allocations: 0 / 0.9516 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.6577, allocations: 5.312 kB / 0.9517 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.254e-05/0.6578, allocations: 5.359 kB / 0.9517 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.6578, allocations: 0 / 0.9517 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.335e-05/0.6578, allocations: 1.375 kB / 0.9517 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.119e-05/0.6578, allocations: 1.375 kB / 0.9517 GB, free: 7.078 MB / 0.7169 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 3.94e-05/0.6579, allocations: 111.2 kB / 0.9518 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.524e-06/0.6579, allocations: 0 / 0.9518 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.774e-05/0.658, allocations: 54.19 kB / 0.9518 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.658, allocations: 1.375 kB / 0.9518 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.658, allocations: 0 / 0.9518 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.658, allocations: 0 / 0.9518 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.313e-05/0.6581, allocations: 143.1 kB / 0.952 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.6581, allocations: 0 / 0.952 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.114e-05/0.6581, allocations: 10.77 kB / 0.952 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.6581, allocations: 0 / 0.952 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.608e-06/0.6581, allocations: 5.312 kB / 0.952 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.6581, allocations: 0 / 0.952 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.6581, allocations: 0 / 0.952 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.348e-05/0.6582, allocations: 59.95 kB / 0.952 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.655e-05/0.6582, allocations: 82.47 kB / 0.9521 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.047e-05/0.6582, allocations: 3.969 kB / 0.9521 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.18e-05/0.6582, allocations: 4 kB / 0.9521 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.155e-05/0.6583, allocations: 5.312 kB / 0.9521 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.318e-06/0.6583, allocations: 1.375 kB / 0.9521 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.107e-05/0.6583, allocations: 75.28 kB / 0.9522 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of sort global known variables: time 8e-08/0.6583, allocations: 0 / 0.9522 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.00021/0.6585, allocations: 5.5 kB / 0.9522 GB, free: 6.453 MB / 0.7169 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.0001412/0.6586, allocations: 99.88 kB / 0.9523 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 6.79e-05/0.6587, allocations: 12.11 kB / 0.9523 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.6587, allocations: 0 / 0.9523 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.315e-06/0.6587, allocations: 6.125 kB / 0.9523 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001292/0.6589, allocations: 5.781 kB / 0.9523 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001712/0.6591, allocations: 83.53 kB / 0.9524 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.172e-05/0.6592, allocations: 0.6742 MB / 0.9531 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.675e-05/0.6592, allocations: 5.812 kB / 0.9531 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.049e-05/0.6592, allocations: 12.89 kB / 0.9531 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of SimCode: time 3.31e-07/0.6592, allocations: 0 / 0.9531 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of Templates: time 0.002089/0.6613, allocations: 290.2 kB / 0.9533 GB, free: 5.387 MB / 0.7169 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/jenkins/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