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.001143/0.001143, allocations: 110.5 kB / 16.41 MB, free: 5.977 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.001156/0.001156, allocations: 188.3 kB / 17.34 MB, free: 5.586 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.332/1.332, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.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.286/2.286, allocations: 390.3 MB / 0.6655 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001854/0.001854, allocations: 67.84 kB / 0.9515 GB, free: 7.668 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.913/0.9148, allocations: 140.4 MB / 1.089 GB, free: 5.539 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Polynomial): time 0.002279/0.9172, allocations: 1.434 MB / 1.09 GB, free: 4.551 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0002767/0.9175, allocations: 95.56 kB / 1.09 GB, free: 4.484 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.582e-05/0.9175, allocations: 0 / 1.09 GB, free: 4.484 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 5.936e-05/0.9176, allocations: 9.406 kB / 1.09 GB, free: 4.477 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 3.837e-05/0.9176, allocations: 6.125 kB / 1.09 GB, free: 4.473 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002461/0.9179, allocations: 15.27 kB / 1.09 GB, free: 4.469 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 6.837e-05/0.918, allocations: 27.97 kB / 1.09 GB, free: 4.453 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.163e-05/0.9181, allocations: 4.422 kB / 1.09 GB, free: 4.453 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 4.149e-05/0.9181, allocations: 9.734 kB / 1.09 GB, free: 4.449 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.067e-05/0.9182, allocations: 14.22 kB / 1.09 GB, free: 4.441 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.52e-05/0.9182, allocations: 2.312 kB / 1.09 GB, free: 4.441 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 9.137e-05/0.9183, allocations: 18.47 kB / 1.09 GB, free: 4.438 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.132e-05/0.9183, allocations: 10.89 kB / 1.09 GB, free: 4.43 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.414e-05/0.9184, allocations: 11.31 kB / 1.09 GB, free: 4.422 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001199/0.9185, allocations: 37.86 kB / 1.09 GB, free: 4.406 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.9185, allocations: 1.062 kB / 1.09 GB, free: 4.406 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.203e-06/0.9185, allocations: 0 / 1.09 GB, free: 4.406 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.92e-06/0.9185, allocations: 0 / 1.09 GB, free: 4.406 MB / 0.8575 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.0003828/0.9189, allocations: 346.7 kB / 1.091 GB, free: 4.043 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/0.9189, allocations: 10.45 kB / 1.091 GB, free: 4.043 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.205e-05/0.919, allocations: 2.094 kB / 1.091 GB, free: 4.043 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.675e-05/0.9191, allocations: 171.8 kB / 1.091 GB, free: 3.84 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.845e-06/0.9191, allocations: 1.859 kB / 1.091 GB, free: 3.84 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.208e-05/0.9191, allocations: 1.531 kB / 1.091 GB, free: 3.84 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000167/0.9193, allocations: 50.8 kB / 1.091 GB, free: 3.805 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.9193, allocations: 0.8438 kB / 1.091 GB, free: 3.805 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.608e-06/0.9193, allocations: 3.938 kB / 1.091 GB, free: 3.801 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.9193, allocations: 5.125 kB / 1.091 GB, free: 3.797 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001742/0.9195, allocations: 47.59 kB / 1.091 GB, free: 3.781 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002678/0.9198, allocations: 248.3 kB / 1.091 GB, free: 3.512 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001279/0.9199, allocations: 43.55 kB / 1.091 GB, free: 3.48 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.414e-05/0.92, allocations: 29.77 kB / 1.091 GB, free: 3.465 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.513e-05/0.92, allocations: 6.203 kB / 1.091 GB, free: 3.461 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.38e-05/0.92, allocations: 35.8 kB / 1.091 GB, free: 3.418 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.9201, allocations: 0 / 1.091 GB, free: 3.418 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0003577/0.9204, allocations: 90.16 kB / 1.091 GB, free: 3.375 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.081e-05/0.9204, allocations: 52.38 kB / 1.091 GB, free: 3.312 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.302e-05/0.9205, allocations: 110 kB / 1.091 GB, free: 3.207 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 7.144e-06/0.9205, allocations: 29.83 kB / 1.091 GB, free: 3.172 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.669e-05/0.9206, allocations: 85.91 kB / 1.092 GB, free: 3.086 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.601e-05/0.9206, allocations: 5.609 kB / 1.092 GB, free: 3.082 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.71e-05/0.9206, allocations: 11.94 kB / 1.092 GB, free: 3.066 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.188e-05/0.9207, allocations: 317.5 kB / 1.092 GB, free: 2.75 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.905e-05/0.9208, allocations: 16.08 kB / 1.092 GB, free: 2.75 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.808e-05/0.9208, allocations: 20.88 kB / 1.092 GB, free: 2.746 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001569/0.921, allocations: 43.53 kB / 1.092 GB, free: 2.73 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.921, allocations: 0 / 1.092 GB, free: 2.73 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001916/0.9212, allocations: 75.41 kB / 1.092 GB, free: 2.688 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.9212, allocations: 5.875 kB / 1.092 GB, free: 2.688 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.9212, allocations: 0 / 1.092 GB, free: 2.688 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.9213, allocations: 0.7031 kB / 1.092 GB, free: 2.688 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.09e-05/0.9213, allocations: 13.08 kB / 1.092 GB, free: 2.684 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.9214, allocations: 5.141 kB / 1.092 GB, free: 2.68 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.984e-05/0.9214, allocations: 11.31 kB / 1.092 GB, free: 2.676 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.472e-06/0.9214, allocations: 1.438 kB / 1.092 GB, free: 2.676 MB / 0.8575 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 5.081e-05/0.9215, allocations: 112.5 kB / 1.092 GB, free: 2.559 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.568e-05/0.9215, allocations: 7.172 kB / 1.092 GB, free: 2.555 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002419/0.9218, allocations: 82.75 kB / 1.092 GB, free: 2.5 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.9218, allocations: 0.875 kB / 1.092 GB, free: 2.5 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.9218, allocations: 0 / 1.092 GB, free: 2.5 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.9218, allocations: 5.5 kB / 1.092 GB, free: 2.496 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001197/0.9219, allocations: 162.3 kB / 1.092 GB, free: 2.301 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.9219, allocations: 0.75 kB / 1.092 GB, free: 2.301 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.862e-05/0.922, allocations: 8.203 kB / 1.092 GB, free: 2.301 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.922, allocations: 1.891 kB / 1.092 GB, free: 2.301 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.161e-06/0.922, allocations: 0 / 1.092 GB, free: 2.301 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.922, allocations: 1.094 kB / 1.092 GB, free: 2.301 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.922, allocations: 8.734 kB / 1.092 GB, free: 2.293 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002191/0.9222, allocations: 166.1 kB / 1.093 GB, free: 2.152 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.88e-05/0.9223, allocations: 90.28 kB / 1.093 GB, free: 2.047 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.41e-05/0.9223, allocations: 1.781 kB / 1.093 GB, free: 2.047 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.514e-05/0.9224, allocations: 9.797 kB / 1.093 GB, free: 2.043 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.884e-05/0.9224, allocations: 6.844 kB / 1.093 GB, free: 2.039 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.888e-06/0.9224, allocations: 4.75 kB / 1.093 GB, free: 2.035 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.793e-05/0.9225, allocations: 83.55 kB / 1.093 GB, free: 1.961 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9225, allocations: 0 / 1.093 GB, free: 1.961 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002295/0.9227, allocations: 7.531 kB / 1.093 GB, free: 1.961 MB / 0.8575 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.0001319/0.9228, allocations: 99.53 kB / 1.093 GB, free: 1.875 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002309/0.9231, allocations: 47.55 kB / 1.093 GB, free: 1.863 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.9231, allocations: 0 / 1.093 GB, free: 1.863 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 8.773e-05/0.9232, allocations: 17.56 kB / 1.093 GB, free: 1.863 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002753/0.9235, allocations: 11.06 kB / 1.093 GB, free: 1.855 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002548/0.9237, allocations: 144.2 kB / 1.093 GB, free: 1.707 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001045/0.9238, allocations: 0.6784 MB / 1.094 GB, free: 1.012 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.11e-05/0.9239, allocations: 13.62 kB / 1.094 GB, free: 1 MB / 0.8575 GB Notification: Performance of SimCode: time 2.21e-07/0.9239, allocations: 0 / 1.094 GB, free: 1 MB / 0.8575 GB Notification: Performance of Templates: time 0.00214/0.926, allocations: 0.6655 MB / 1.094 GB, free: 0.9531 MB / 0.8575 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.Polynomial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches