Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.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.Examples.Polynomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|polynominal.y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Examples.Polynomial") translateModel(Buildings.Utilities.Math.Examples.Polynomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|polynominal.y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Examples.Polynomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001418/0.001418, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001796/0.001796, allocations: 198.1 kB / 16.14 MB, free: 6.719 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.638/1.638, allocations: 222.9 MB / 239.8 MB, free: 4.637 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.45/2.45, allocations: 390.2 MB / 0.6642 GB, free: 0.6445 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 63.91 kB / 0.8118 GB, free: 14.92 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7702/0.7715, allocations: 140.4 MB / 0.9489 GB, free: 9.207 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Polynomial): time 0.002287/0.7738, allocations: 1.494 MB / 0.9504 GB, free: 8.031 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0002763/0.7741, allocations: 95.91 kB / 0.9505 GB, free: 7.957 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.247e-05/0.7741, allocations: 0 / 0.9505 GB, free: 7.957 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 5.672e-05/0.7742, allocations: 7.984 kB / 0.9505 GB, free: 7.949 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.09e-05/0.7742, allocations: 1.375 kB / 0.9505 GB, free: 7.949 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000201/0.7745, allocations: 17.42 kB / 0.9505 GB, free: 7.938 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.5e-05/0.7745, allocations: 17.62 kB / 0.9505 GB, free: 7.93 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.551e-05/0.7746, allocations: 16.03 kB / 0.9505 GB, free: 7.918 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.166e-05/0.7746, allocations: 6.688 kB / 0.9505 GB, free: 7.914 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.348e-05/0.7747, allocations: 10.73 kB / 0.9505 GB, free: 7.906 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.064e-05/0.7747, allocations: 1.375 kB / 0.9505 GB, free: 7.906 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.429e-05/0.7748, allocations: 17.61 kB / 0.9506 GB, free: 7.898 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.752e-05/0.7748, allocations: 13.31 kB / 0.9506 GB, free: 7.887 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.515e-05/0.7749, allocations: 9.297 kB / 0.9506 GB, free: 7.879 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.72e-05/0.775, allocations: 30.95 kB / 0.9506 GB, free: 7.859 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.775, allocations: 3.984 kB / 0.9506 GB, free: 7.855 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.253e-06/0.775, allocations: 1.375 kB / 0.9506 GB, free: 7.855 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.492e-06/0.775, allocations: 3.938 kB / 0.9506 GB, free: 7.852 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003571/0.7753, allocations: 344.5 kB / 0.9509 GB, free: 7.48 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.28e-05/0.7754, allocations: 9.625 kB / 0.951 GB, free: 7.48 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.76e-05/0.7754, allocations: 10.22 kB / 0.951 GB, free: 7.473 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.386e-05/0.7755, allocations: 165.7 kB / 0.9511 GB, free: 7.273 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.107e-06/0.7755, allocations: 1.75 kB / 0.9511 GB, free: 7.273 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.223e-05/0.7755, allocations: 5.688 kB / 0.9511 GB, free: 7.27 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001549/0.7757, allocations: 54.59 kB / 0.9512 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.7757, allocations: 192 / 0.9512 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.587e-06/0.7757, allocations: 5.312 kB / 0.9512 GB, free: 7.219 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.7757, allocations: 0 / 0.9512 GB, free: 7.219 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001647/0.7759, allocations: 45.95 kB / 0.9512 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002895/0.7762, allocations: 248 kB / 0.9515 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001561/0.7763, allocations: 45.56 kB / 0.9515 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000112/0.7765, allocations: 25.22 kB / 0.9515 GB, free: 6.859 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 4.288e-05/0.7765, allocations: 9.359 kB / 0.9515 GB, free: 6.852 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.193e-05/0.7765, allocations: 31.94 kB / 0.9516 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.232e-06/0.7766, allocations: 0 / 0.9516 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0004421/0.777, allocations: 89.3 kB / 0.9517 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.08e-05/0.777, allocations: 51.41 kB / 0.9517 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.638e-05/0.7771, allocations: 110.2 kB / 0.9518 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.826e-06/0.7771, allocations: 29.7 kB / 0.9518 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.204e-05/0.7772, allocations: 85.52 kB / 0.9519 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.953e-05/0.7772, allocations: 5.281 kB / 0.9519 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.854e-05/0.7772, allocations: 16.41 kB / 0.9519 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.597e-05/0.7773, allocations: 319.6 kB / 0.9522 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.968e-05/0.7774, allocations: 14.58 kB / 0.9523 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.863e-05/0.7775, allocations: 23.14 kB / 0.9523 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001518/0.7776, allocations: 42.12 kB / 0.9523 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.7776, allocations: 0 / 0.9523 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001957/0.7778, allocations: 72.22 kB / 0.9524 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.7779, allocations: 4.281 kB / 0.9524 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.638e-06/0.7779, allocations: 1.438 kB / 0.9524 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.7779, allocations: 4.094 kB / 0.9524 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.874e-05/0.778, allocations: 10.69 kB / 0.9524 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.778, allocations: 7.922 kB / 0.9524 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.567e-05/0.7781, allocations: 7.844 kB / 0.9524 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.132e-06/0.7781, allocations: 5.625 kB / 0.9524 GB, free: 6.004 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 (2): * Single equations (assignments): 2 * 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.902e-05/0.7781, allocations: 111.6 kB / 0.9525 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.418e-05/0.7781, allocations: 0.8125 kB / 0.9525 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002304/0.7784, allocations: 82.83 kB / 0.9526 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.7784, allocations: 0 / 0.9526 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.7784, allocations: 1.062 kB / 0.9526 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.934e-06/0.7784, allocations: 0 / 0.9526 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001115/0.7785, allocations: 164.2 kB / 0.9528 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.7785, allocations: 0 / 0.9528 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.653e-05/0.7786, allocations: 6.875 kB / 0.9528 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.7786, allocations: 3.938 kB / 0.9528 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.485e-06/0.7786, allocations: 4.984 kB / 0.9528 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.7786, allocations: 4.031 kB / 0.9528 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.7786, allocations: 1.438 kB / 0.9528 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001977/0.7788, allocations: 169.7 kB / 0.953 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.804e-05/0.7788, allocations: 78.36 kB / 0.953 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.199e-05/0.7789, allocations: 0 / 0.953 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.31e-05/0.7789, allocations: 12.08 kB / 0.953 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.399e-05/0.779, allocations: 1.594 kB / 0.953 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.136e-06/0.779, allocations: 0 / 0.953 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.492e-05/0.779, allocations: 85.59 kB / 0.9531 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.779, allocations: 0 / 0.9531 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002309/0.7793, allocations: 10.92 kB / 0.9531 GB, free: 5.266 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 (2): * Single equations (assignments): 2 * 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.0001177/0.7794, allocations: 99.31 kB / 0.9532 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002047/0.7796, allocations: 51.23 kB / 0.9533 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.7796, allocations: 0 / 0.9533 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.487e-05/0.7797, allocations: 17.52 kB / 0.9533 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002641/0.78, allocations: 14.41 kB / 0.9533 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002651/0.7802, allocations: 126.4 kB / 0.9534 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.56e-05/0.7803, allocations: 0.6821 MB / 0.9541 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.266e-05/0.7804, allocations: 1.188 kB / 0.9541 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.859e-05/0.7804, allocations: 8.75 kB / 0.9541 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of SimCode: time 5.51e-07/0.7804, allocations: 0 / 0.9541 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of Templates: time 0.002339/0.7827, allocations: 482.9 kB / 0.9546 GB, free: 4.051 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Examples.Polynomial.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Examples.Polynomial.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.Polynomial.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.Polynomial.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.Polynomial.sim & ./Buildings_9_Buildings.Utilities.Math.Examples.Polynomial -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Examples.Polynomial.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.Polynomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_Polynomial.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.Polynomial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches