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.008865/0.008865, allocations: 102.7 kB / 15.73 MB, free: 5.984 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.001756/0.001756, allocations: 195.2 kB / 16.67 MB, free: 5.91 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.331/1.331, allocations: 222.9 MB / 240.4 MB, free: 15.12 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.248/2.248, allocations: 390.2 MB / 0.6648 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001373/0.001373, allocations: 67.91 kB / 0.9509 GB, free: 7.609 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9149/0.9163, allocations: 140.4 MB / 1.088 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Polynomial): time 0.002819/0.9192, allocations: 0.5797 MB / 1.089 GB, free: 5.148 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0003664/0.9196, allocations: 40.78 kB / 1.089 GB, free: 5.129 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.783e-05/0.9197, allocations: 0 / 1.089 GB, free: 5.129 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.346e-05/0.9197, allocations: 1.188 kB / 1.089 GB, free: 5.129 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 1.019e-05/0.9197, allocations: 0 / 1.089 GB, free: 5.129 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003464/0.9201, allocations: 16.92 kB / 1.089 GB, free: 5.121 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 5.181e-05/0.9201, allocations: 2.844 kB / 1.089 GB, free: 5.121 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.938e-05/0.9202, allocations: 5.703 kB / 1.089 GB, free: 5.117 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 1.933e-05/0.9202, allocations: 1.188 kB / 1.089 GB, free: 5.117 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.301e-05/0.9203, allocations: 4.781 kB / 1.089 GB, free: 5.113 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.152e-05/0.9203, allocations: 0.9062 kB / 1.089 GB, free: 5.113 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001208/0.9204, allocations: 19.42 kB / 1.089 GB, free: 5.105 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.211e-05/0.9204, allocations: 0.9062 kB / 1.089 GB, free: 5.105 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.932e-05/0.9205, allocations: 6.031 kB / 1.089 GB, free: 5.102 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000111/0.9206, allocations: 15.06 kB / 1.089 GB, free: 5.098 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.9206, allocations: 0 / 1.089 GB, free: 5.098 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.744e-06/0.9206, allocations: 0 / 1.089 GB, free: 5.098 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.302e-06/0.9206, allocations: 1.125 kB / 1.089 GB, free: 5.098 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003098/0.9209, allocations: 321.3 kB / 1.089 GB, free: 4.738 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/0.921, allocations: 10.7 kB / 1.089 GB, free: 4.738 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.054e-05/0.921, allocations: 0.9375 kB / 1.089 GB, free: 4.738 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.098e-05/0.9211, allocations: 161.5 kB / 1.089 GB, free: 4.543 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.516e-06/0.9211, allocations: 1.438 kB / 1.089 GB, free: 4.543 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.029e-05/0.9211, allocations: 1.5 kB / 1.089 GB, free: 4.543 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001005/0.9212, allocations: 30.16 kB / 1.089 GB, free: 4.512 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.258e-06/0.9212, allocations: 192 / 1.089 GB, free: 4.512 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.105e-05/0.9213, allocations: 7.938 kB / 1.089 GB, free: 4.504 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.9213, allocations: 0 / 1.089 GB, free: 4.504 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.348e-05/0.9213, allocations: 2.812 kB / 1.089 GB, free: 4.504 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001276/0.9214, allocations: 151.9 kB / 1.089 GB, free: 4.309 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 3.444e-05/0.9215, allocations: 17.58 kB / 1.089 GB, free: 4.285 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.822e-05/0.9215, allocations: 10.62 kB / 1.089 GB, free: 4.273 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.472e-05/0.9215, allocations: 2.219 kB / 1.089 GB, free: 4.273 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.73e-05/0.9216, allocations: 36.17 kB / 1.089 GB, free: 4.23 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=1): time 8.72e-07/0.9216, allocations: 0 / 1.089 GB, free: 4.23 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1): time 0.0001335/0.9217, allocations: 40.45 kB / 1.089 GB, free: 4.191 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.478e-05/0.9217, allocations: 56.69 kB / 1.089 GB, free: 4.125 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.114e-05/0.9218, allocations: 90.61 kB / 1.09 GB, free: 4.027 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 7.634e-06/0.9218, allocations: 25.7 kB / 1.09 GB, free: 3.996 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 1.435e-05/0.9218, allocations: 80.14 kB / 1.09 GB, free: 3.914 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.017e-05/0.9218, allocations: 1.219 kB / 1.09 GB, free: 3.914 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.69e-05/0.9219, allocations: 16.67 kB / 1.09 GB, free: 3.895 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.31e-05/0.9219, allocations: 312.7 kB / 1.09 GB, free: 3.582 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.283e-05/0.9219, allocations: 1.094 kB / 1.09 GB, free: 3.582 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.895e-06/0.922, allocations: 5.578 kB / 1.09 GB, free: 3.578 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.887e-05/0.922, allocations: 12.92 kB / 1.09 GB, free: 3.566 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.922, allocations: 0 / 1.09 GB, free: 3.566 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.786e-05/0.922, allocations: 36.25 kB / 1.09 GB, free: 3.531 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/0.9221, allocations: 6.219 kB / 1.09 GB, free: 3.531 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.9221, allocations: 4.094 kB / 1.09 GB, free: 3.527 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.663e-05/0.9221, allocations: 5 kB / 1.09 GB, free: 3.523 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.975e-05/0.9222, allocations: 1.641 kB / 1.09 GB, free: 3.523 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.014e-06/0.9222, allocations: 1.891 kB / 1.09 GB, free: 3.523 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.299e-05/0.9222, allocations: 0 / 1.09 GB, free: 3.523 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.574e-05/0.9222, allocations: 1.875 kB / 1.09 GB, free: 3.523 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 (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 5.083e-05/0.9223, allocations: 107.5 kB / 1.09 GB, free: 3.41 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.354e-06/0.9223, allocations: 5.047 kB / 1.09 GB, free: 3.406 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001102/0.9224, allocations: 49.8 kB / 1.09 GB, free: 3.359 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-06/0.9224, allocations: 0 / 1.09 GB, free: 3.359 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.9224, allocations: 1.266 kB / 1.09 GB, free: 3.359 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.586e-06/0.9224, allocations: 0.8125 kB / 1.09 GB, free: 3.359 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.665e-05/0.9225, allocations: 152.4 kB / 1.09 GB, free: 3.164 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.9225, allocations: 0 / 1.09 GB, free: 3.164 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.663e-05/0.9225, allocations: 2.672 kB / 1.09 GB, free: 3.164 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.724e-06/0.9225, allocations: 1.062 kB / 1.09 GB, free: 3.164 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.05e-05/0.9226, allocations: 8.766 kB / 1.09 GB, free: 3.156 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.9226, allocations: 1.094 kB / 1.09 GB, free: 3.156 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.9226, allocations: 0 / 1.09 GB, free: 3.156 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.276e-05/0.9226, allocations: 58.89 kB / 1.09 GB, free: 3.09 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.287e-05/0.9227, allocations: 77.11 kB / 1.09 GB, free: 2.996 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.539e-05/0.9227, allocations: 5.859 kB / 1.09 GB, free: 2.992 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.096e-05/0.9227, allocations: 0 / 1.09 GB, free: 2.992 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.304e-05/0.9227, allocations: 5.984 kB / 1.09 GB, free: 2.988 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.51e-06/0.9227, allocations: 6.047 kB / 1.09 GB, free: 2.984 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 1.865e-05/0.9228, allocations: 75.28 kB / 1.091 GB, free: 2.91 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/0.9228, allocations: 0 / 1.091 GB, free: 2.91 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001965/0.923, allocations: 4.438 kB / 1.091 GB, free: 2.91 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 (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.0001811/0.9232, allocations: 110.4 kB / 1.091 GB, free: 2.812 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 8.331e-05/0.9233, allocations: 9.047 kB / 1.091 GB, free: 2.809 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.9233, allocations: 3.938 kB / 1.091 GB, free: 2.805 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 8.606e-06/0.9233, allocations: 6.906 kB / 1.091 GB, free: 2.801 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001612/0.9234, allocations: 1.219 kB / 1.091 GB, free: 2.801 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002023/0.9237, allocations: 84.8 kB / 1.091 GB, free: 2.703 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001301/0.9238, allocations: 0.6715 MB / 1.091 GB, free: 2.008 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.233e-05/0.9238, allocations: 1.219 kB / 1.091 GB, free: 2.008 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.154e-05/0.9238, allocations: 13.23 kB / 1.091 GB, free: 1.996 MB / 0.8575 GB Notification: Performance of SimCode: time 2.3e-07/0.9238, allocations: 0.8125 kB / 1.091 GB, free: 1.996 MB / 0.8575 GB Notification: Performance of Templates: time 0.002524/0.9264, allocations: 282.3 kB / 1.092 GB, free: 1.938 MB / 0.8575 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