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.001083/0.001083, allocations: 90.83 kB / 15.36 MB, free: 0.7383 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.00992/0.00992, allocations: 172.7 kB / 16.26 MB, free: 6.613 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.587/1.587, allocations: 223.3 MB / 240.3 MB, free: 5.348 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.559/2.559, allocations: 390.9 MB / 0.6663 GB, free: 2.379 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003788/0.0003789, allocations: 8 kB / 0.816 GB, free: 13.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7945/0.7949, allocations: 142.4 MB / 0.955 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Polynomial): time 0.001523/0.7965, allocations: 1.158 MB / 0.9562 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0003356/0.7968, allocations: 95.02 kB / 0.9563 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.166e-05/0.7969, allocations: 0 / 0.9563 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 6.046e-05/0.7969, allocations: 4.938 kB / 0.9563 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.611e-05/0.797, allocations: 5.094 kB / 0.9563 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000213/0.7972, allocations: 17.86 kB / 0.9563 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.065e-05/0.7973, allocations: 21.61 kB / 0.9563 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.378e-05/0.7974, allocations: 10.41 kB / 0.9563 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.817e-05/0.7974, allocations: 8.016 kB / 0.9563 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.098e-05/0.7975, allocations: 14.05 kB / 0.9563 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.06e-05/0.7975, allocations: 1.031 kB / 0.9563 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.36e-05/0.7976, allocations: 16.98 kB / 0.9564 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.969e-05/0.7976, allocations: 5.078 kB / 0.9564 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.727e-05/0.7977, allocations: 35.83 kB / 0.9564 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000107/0.7978, allocations: 31.36 kB / 0.9564 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.7978, allocations: 0 / 0.9564 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.864e-06/0.7978, allocations: 0 / 0.9564 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.887e-06/0.7978, allocations: 0 / 0.9564 GB, free: 6.566 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.0003741/0.7982, allocations: 348.2 kB / 0.9568 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.519e-05/0.7982, allocations: 12.34 kB / 0.9568 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.834e-05/0.7983, allocations: 7.297 kB / 0.9568 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.081e-05/0.7984, allocations: 177.8 kB / 0.9569 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.344e-05/0.7984, allocations: 1.812 kB / 0.9569 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.376e-06/0.7984, allocations: 384 / 0.9569 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001821/0.7986, allocations: 60.61 kB / 0.957 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.7986, allocations: 4.125 kB / 0.957 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.065e-05/0.7986, allocations: 3.938 kB / 0.957 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.7986, allocations: 5.172 kB / 0.957 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001842/0.7988, allocations: 47.66 kB / 0.9571 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002619/0.7991, allocations: 255.5 kB / 0.9573 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001281/0.7992, allocations: 47.06 kB / 0.9573 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.262e-05/0.7993, allocations: 36.73 kB / 0.9574 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.679e-05/0.7994, allocations: 2.25 kB / 0.9574 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.769e-05/0.7994, allocations: 35.81 kB / 0.9574 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.342e-06/0.7994, allocations: 0 / 0.9574 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.000375/0.7998, allocations: 107.8 kB / 0.9575 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.433e-05/0.7998, allocations: 52.16 kB / 0.9576 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.935e-05/0.7999, allocations: 106 kB / 0.9577 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.213e-06/0.7999, allocations: 29.7 kB / 0.9577 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.675e-05/0.7999, allocations: 90.11 kB / 0.9578 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.526e-05/0.7999, allocations: 1.031 kB / 0.9578 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.903e-05/0.8, allocations: 13.72 kB / 0.9578 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.02e-05/0.8, allocations: 316.4 kB / 0.9581 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.027e-05/0.8001, allocations: 19.27 kB / 0.9581 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.31e-05/0.8002, allocations: 28.67 kB / 0.9581 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001662/0.8004, allocations: 51.66 kB / 0.9582 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.8004, allocations: 0 / 0.9582 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002061/0.8006, allocations: 96.84 kB / 0.9583 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.8006, allocations: 5.406 kB / 0.9583 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.8006, allocations: 0 / 0.9583 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.8006, allocations: 1.875 kB / 0.9583 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.892e-05/0.8007, allocations: 11.33 kB / 0.9583 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.8007, allocations: 5.844 kB / 0.9583 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.84e-05/0.8008, allocations: 5.375 kB / 0.9583 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.68e-06/0.8008, allocations: 3.984 kB / 0.9583 GB, free: 4.703 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.804e-05/0.8009, allocations: 117.4 kB / 0.9584 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.485e-05/0.8009, allocations: 1.844 kB / 0.9584 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002316/0.8011, allocations: 91.41 kB / 0.9585 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.8011, allocations: 0 / 0.9585 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.8011, allocations: 0 / 0.9585 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.8012, allocations: 1.344 kB / 0.9585 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000117/0.8013, allocations: 168 kB / 0.9587 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.8013, allocations: 0 / 0.9587 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.187e-05/0.8014, allocations: 16.86 kB / 0.9587 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.8014, allocations: 0 / 0.9587 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.973e-06/0.8014, allocations: 1.438 kB / 0.9587 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.8014, allocations: 0 / 0.9587 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.8014, allocations: 0 / 0.9587 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000224/0.8016, allocations: 184 kB / 0.9589 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.583e-05/0.8016, allocations: 77.95 kB / 0.959 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.207e-05/0.8017, allocations: 1.094 kB / 0.959 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.048e-05/0.8017, allocations: 13.58 kB / 0.959 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.031e-05/0.8018, allocations: 2.656 kB / 0.959 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.226e-06/0.8018, allocations: 7.875 kB / 0.959 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.873e-05/0.8018, allocations: 88.58 kB / 0.9591 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.8018, allocations: 4.031 kB / 0.9591 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002326/0.8021, allocations: 8.312 kB / 0.9591 GB, free: 3.945 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.0001187/0.8022, allocations: 102.8 kB / 0.9592 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002301/0.8024, allocations: 53.45 kB / 0.9592 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.8024, allocations: 0 / 0.9592 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.535e-05/0.8025, allocations: 21.64 kB / 0.9592 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002717/0.8028, allocations: 12.14 kB / 0.9593 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002935/0.8031, allocations: 119.5 kB / 0.9594 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.679e-05/0.8032, allocations: 0.6825 MB / 0.96 GB, free: 2.996 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.594e-05/0.8033, allocations: 1.344 kB / 0.96 GB, free: 2.996 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.151e-05/0.8033, allocations: 8.719 kB / 0.96 GB, free: 2.988 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.8033, allocations: 3.938 kB / 0.96 GB, free: 2.984 MB / 0.7169 GB Notification: Performance of Templates: time 0.002611/0.8059, allocations: 464.8 kB / 0.9605 GB, free: 2.754 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