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.001635/0.001635, allocations: 105.9 kB / 15.98 MB, free: 6.344 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.002086/0.002086, allocations: 195.3 kB / 16.91 MB, free: 6.184 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.396/1.396, allocations: 222.9 MB / 240.6 MB, free: 4.434 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.665 GB, free: 0.6094 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001487/0.001487, allocations: 59.91 kB / 0.8127 GB, free: 14.82 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8006/0.8022, allocations: 140.4 MB / 0.9498 GB, free: 9.168 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Polynomial): time 0.001594/0.8038, allocations: 0.6424 MB / 0.9504 GB, free: 8.676 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0002031/0.804, allocations: 32.12 kB / 0.9504 GB, free: 8.652 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.768e-06/0.804, allocations: 4 kB / 0.9504 GB, free: 8.648 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.481e-05/0.804, allocations: 0 / 0.9504 GB, free: 8.648 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.521e-06/0.8041, allocations: 3.938 kB / 0.9505 GB, free: 8.645 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000265/0.8043, allocations: 10.88 kB / 0.9505 GB, free: 8.641 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 3.347e-05/0.8044, allocations: 1.375 kB / 0.9505 GB, free: 8.641 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.609e-05/0.8044, allocations: 1.375 kB / 0.9505 GB, free: 8.641 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.466e-05/0.8044, allocations: 5.359 kB / 0.9505 GB, free: 8.637 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.362e-05/0.8045, allocations: 0 / 0.9505 GB, free: 8.637 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.866e-06/0.8045, allocations: 1.375 kB / 0.9505 GB, free: 8.637 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.712e-05/0.8046, allocations: 18.8 kB / 0.9505 GB, free: 8.625 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.106e-05/0.8046, allocations: 13.31 kB / 0.9505 GB, free: 8.613 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.818e-05/0.8046, allocations: 0 / 0.9505 GB, free: 8.613 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.874e-05/0.8047, allocations: 13.47 kB / 0.9505 GB, free: 8.605 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.8047, allocations: 0 / 0.9505 GB, free: 8.605 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.355e-06/0.8047, allocations: 0 / 0.9505 GB, free: 8.605 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.63e-06/0.8047, allocations: 1.375 kB / 0.9505 GB, free: 8.605 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.0002403/0.805, allocations: 315.7 kB / 0.9508 GB, free: 8.25 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.805, allocations: 8.25 kB / 0.9508 GB, free: 8.25 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.755e-05/0.805, allocations: 2.312 kB / 0.9508 GB, free: 8.25 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.08e-05/0.8051, allocations: 160.4 kB / 0.951 GB, free: 8.055 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.046e-05/0.8051, allocations: 4.375 kB / 0.951 GB, free: 8.051 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.066e-05/0.8051, allocations: 1.75 kB / 0.951 GB, free: 8.051 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.523e-05/0.8052, allocations: 31.64 kB / 0.951 GB, free: 8.016 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.8052, allocations: 1.562 kB / 0.951 GB, free: 8.016 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.128e-06/0.8053, allocations: 3.938 kB / 0.951 GB, free: 8.012 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.8053, allocations: 7.922 kB / 0.951 GB, free: 8.004 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.083e-05/0.8053, allocations: 5.312 kB / 0.951 GB, free: 8 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.147e-05/0.8054, allocations: 143.1 kB / 0.9512 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.49e-05/0.8054, allocations: 21.33 kB / 0.9512 GB, free: 7.785 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.604e-05/0.8054, allocations: 10.23 kB / 0.9512 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.482e-05/0.8055, allocations: 1.375 kB / 0.9512 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.38e-05/0.8055, allocations: 31.94 kB / 0.9512 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 1.142e-06/0.8055, allocations: 0 / 0.9512 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.0001131/0.8056, allocations: 43.06 kB / 0.9513 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.074e-05/0.8057, allocations: 51.53 kB / 0.9513 GB, free: 7.629 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.825e-05/0.8057, allocations: 95.23 kB / 0.9514 GB, free: 7.527 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.821e-06/0.8057, allocations: 25.7 kB / 0.9514 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.039e-05/0.8057, allocations: 80.14 kB / 0.9515 GB, free: 7.414 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.495e-05/0.8057, allocations: 5.281 kB / 0.9515 GB, free: 7.41 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.339e-05/0.8058, allocations: 15.09 kB / 0.9515 GB, free: 7.391 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.448e-05/0.8058, allocations: 312.2 kB / 0.9518 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.02e-05/0.8058, allocations: 0 / 0.9518 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.215e-06/0.8058, allocations: 5.359 kB / 0.9518 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.769e-05/0.8059, allocations: 11.67 kB / 0.9518 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.8059, allocations: 1.375 kB / 0.9518 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.448e-05/0.8059, allocations: 35.14 kB / 0.9519 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/0.8059, allocations: 5.5 kB / 0.9519 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/0.806, allocations: 0 / 0.9519 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.806, allocations: 3.938 kB / 0.9519 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.74e-05/0.806, allocations: 2.75 kB / 0.9519 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.8061, allocations: 0 / 0.9519 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.433e-05/0.8061, allocations: 11.97 kB / 0.9519 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.386e-05/0.8061, allocations: 13.33 kB / 0.9519 GB, free: 7 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 4.335e-05/0.8061, allocations: 107.2 kB / 0.952 GB, free: 6.887 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.043e-06/0.8061, allocations: 1.375 kB / 0.952 GB, free: 6.887 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.901e-05/0.8062, allocations: 46.19 kB / 0.9521 GB, free: 6.84 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-06/0.8063, allocations: 0 / 0.9521 GB, free: 6.84 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.8063, allocations: 1.375 kB / 0.9521 GB, free: 6.84 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.816e-06/0.8063, allocations: 4.031 kB / 0.9521 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.062e-05/0.8063, allocations: 151.1 kB / 0.9522 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.8063, allocations: 0 / 0.9522 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.698e-05/0.8064, allocations: 6.688 kB / 0.9522 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.432e-06/0.8064, allocations: 0 / 0.9522 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.474e-06/0.8064, allocations: 3.938 kB / 0.9522 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.8064, allocations: 5.359 kB / 0.9522 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.8064, allocations: 0 / 0.9522 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.116e-05/0.8064, allocations: 60.02 kB / 0.9523 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.351e-05/0.8065, allocations: 77.11 kB / 0.9524 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.085e-05/0.8065, allocations: 5.312 kB / 0.9524 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.05e-05/0.8065, allocations: 0 / 0.9524 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.327e-05/0.8065, allocations: 5.359 kB / 0.9524 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.539e-06/0.8065, allocations: 1.375 kB / 0.9524 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.553e-05/0.8065, allocations: 79.22 kB / 0.9524 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of sort global known variables: time 8e-08/0.8065, allocations: 0 / 0.9524 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001886/0.8067, allocations: 4.125 kB / 0.9525 GB, free: 6.379 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.0001284/0.8069, allocations: 104.5 kB / 0.9526 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 6.673e-05/0.8069, allocations: 4.469 kB / 0.9526 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.8069, allocations: 0 / 0.9526 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.196e-06/0.807, allocations: 2.219 kB / 0.9526 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001362/0.8071, allocations: 10.72 kB / 0.9526 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001494/0.8073, allocations: 100.5 kB / 0.9527 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.659e-05/0.8074, allocations: 0.6777 MB / 0.9533 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.317e-05/0.8074, allocations: 8.562 kB / 0.9533 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of SimCode: time 2.6e-07/0.8074, allocations: 0 / 0.9533 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of Templates: time 0.001652/0.809, allocations: 456.9 kB / 0.9538 GB, free: 5.23 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/jenkins1/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