Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings.Utilities.Math.Examples.Polynomial") translateModel(Buildings.Utilities.Math.Examples.Polynomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|polynominal.y",fileNamePrefix="Buildings_latest_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.001265/0.001265, allocations: 109.5 kB / 16.27 MB, free: 6.414 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.001325/0.001325, allocations: 191.6 kB / 17.2 MB, free: 5.953 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.366/1.366, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.582/2.582, allocations: 469.4 MB / 0.7427 GB, free: 3.637 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001384/0.001384, allocations: 65.5 kB / 0.9088 GB, free: 14.12 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3251/0.3265, allocations: 159.1 MB / 1.064 GB, free: 15.01 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Polynomial): time 0.002717/0.3293, allocations: 1.441 MB / 1.066 GB, free: 13.54 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0002896/0.3296, allocations: 87.8 kB / 1.066 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.888e-05/0.3296, allocations: 0 / 1.066 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 6.135e-05/0.3297, allocations: 3.938 kB / 1.066 GB, free: 13.45 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 3.665e-05/0.3298, allocations: 7.938 kB / 1.066 GB, free: 13.45 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002349/0.33, allocations: 15.97 kB / 1.066 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 6.481e-05/0.3301, allocations: 27.92 kB / 1.066 GB, free: 13.4 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 8.706e-05/0.3302, allocations: 0 / 1.066 GB, free: 13.4 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 4.248e-05/0.3302, allocations: 15.92 kB / 1.066 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 3.817e-05/0.3303, allocations: 8 kB / 1.066 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.323e-05/0.3303, allocations: 7.938 kB / 1.066 GB, free: 13.37 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 9.621e-05/0.3304, allocations: 19.98 kB / 1.066 GB, free: 13.35 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 4.203e-05/0.3304, allocations: 3.984 kB / 1.066 GB, free: 13.35 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.986e-05/0.3305, allocations: 19.88 kB / 1.066 GB, free: 13.33 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001213/0.3306, allocations: 43.81 kB / 1.066 GB, free: 13.29 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.3306, allocations: 0 / 1.066 GB, free: 13.29 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.183e-06/0.3306, allocations: 0 / 1.066 GB, free: 13.29 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.1e-06/0.3306, allocations: 0 / 1.066 GB, free: 13.29 MB / 0.8419 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.0004274/0.3311, allocations: 347.7 kB / 1.066 GB, free: 12.89 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.3311, allocations: 8.625 kB / 1.066 GB, free: 12.89 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.107e-05/0.3311, allocations: 4.938 kB / 1.066 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001134/0.3313, allocations: 168.3 kB / 1.066 GB, free: 12.68 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.042e-05/0.3313, allocations: 384 / 1.066 GB, free: 12.68 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.807e-05/0.3313, allocations: 4.375 kB / 1.066 GB, free: 12.68 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00018/0.3315, allocations: 50.23 kB / 1.066 GB, free: 12.62 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.765e-06/0.3315, allocations: 192 / 1.066 GB, free: 12.62 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.262e-05/0.3315, allocations: 3.938 kB / 1.066 GB, free: 12.62 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.3315, allocations: 4 kB / 1.066 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001724/0.3317, allocations: 35.91 kB / 1.066 GB, free: 12.58 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003166/0.332, allocations: 253 kB / 1.067 GB, free: 12.28 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001272/0.3322, allocations: 46.48 kB / 1.067 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.307e-05/0.3323, allocations: 28.91 kB / 1.067 GB, free: 12.2 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.384e-05/0.3323, allocations: 4 kB / 1.067 GB, free: 12.19 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.839e-05/0.3323, allocations: 30.56 kB / 1.067 GB, free: 12.15 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=2): time 1.172e-06/0.3323, allocations: 0 / 1.067 GB, free: 12.15 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2): time 0.0003723/0.3327, allocations: 89.58 kB / 1.067 GB, free: 12.06 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.006e-05/0.3328, allocations: 55.53 kB / 1.067 GB, free: 11.99 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.765e-05/0.3328, allocations: 105.8 kB / 1.067 GB, free: 11.88 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.212e-05/0.3329, allocations: 25.7 kB / 1.067 GB, free: 11.85 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 4.194e-05/0.3329, allocations: 84.14 kB / 1.067 GB, free: 11.76 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.898e-05/0.3329, allocations: 11.89 kB / 1.067 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.032e-05/0.333, allocations: 9.719 kB / 1.067 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 9.373e-05/0.3331, allocations: 314.8 kB / 1.067 GB, free: 11.42 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.606e-05/0.3332, allocations: 19.98 kB / 1.068 GB, free: 11.4 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.741e-05/0.3332, allocations: 27.91 kB / 1.068 GB, free: 11.37 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000153/0.3334, allocations: 40.77 kB / 1.068 GB, free: 11.33 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.3334, allocations: 0 / 1.068 GB, free: 11.33 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002027/0.3336, allocations: 77.66 kB / 1.068 GB, free: 11.25 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.3336, allocations: 4 kB / 1.068 GB, free: 11.24 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.3337, allocations: 0 / 1.068 GB, free: 11.24 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.3337, allocations: 0 / 1.068 GB, free: 11.24 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.018e-05/0.3338, allocations: 11.98 kB / 1.068 GB, free: 11.23 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.3338, allocations: 0 / 1.068 GB, free: 11.23 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.834e-05/0.3338, allocations: 11.92 kB / 1.068 GB, free: 11.22 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.069e-06/0.3339, allocations: 0 / 1.068 GB, free: 11.22 MB / 0.8419 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 6.514e-05/0.3339, allocations: 121.7 kB / 1.068 GB, free: 11.09 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.503e-05/0.334, allocations: 7.938 kB / 1.068 GB, free: 11.08 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002396/0.3342, allocations: 77.38 kB / 1.068 GB, free: 11 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.519e-06/0.3342, allocations: 4 kB / 1.068 GB, free: 11 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.3342, allocations: 0 / 1.068 GB, free: 11 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.3342, allocations: 7.984 kB / 1.068 GB, free: 10.99 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001435/0.3344, allocations: 157.6 kB / 1.068 GB, free: 10.79 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.3344, allocations: 0 / 1.068 GB, free: 10.79 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.001e-05/0.3345, allocations: 16.02 kB / 1.068 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.3345, allocations: 0 / 1.068 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.553e-06/0.3345, allocations: 0 / 1.068 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.3345, allocations: 0 / 1.068 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.3345, allocations: 0 / 1.068 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002404/0.3347, allocations: 171.4 kB / 1.068 GB, free: 10.59 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 3.329e-05/0.3348, allocations: 85.05 kB / 1.068 GB, free: 10.48 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.334e-05/0.3348, allocations: 4 kB / 1.068 GB, free: 10.48 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.414e-05/0.3349, allocations: 3.984 kB / 1.068 GB, free: 10.48 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.813e-05/0.3349, allocations: 7.984 kB / 1.068 GB, free: 10.47 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.407e-06/0.3349, allocations: 0 / 1.068 GB, free: 10.47 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 3.944e-05/0.335, allocations: 87.27 kB / 1.068 GB, free: 10.38 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.335, allocations: 0 / 1.068 GB, free: 10.38 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002312/0.3352, allocations: 12 kB / 1.068 GB, free: 10.37 MB / 0.8419 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.0001402/0.3354, allocations: 107.8 kB / 1.069 GB, free: 10.26 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002229/0.3356, allocations: 43.95 kB / 1.069 GB, free: 10.21 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.3356, allocations: 3.938 kB / 1.069 GB, free: 10.21 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 8.707e-05/0.3357, allocations: 19.92 kB / 1.069 GB, free: 10.19 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002698/0.336, allocations: 15.92 kB / 1.069 GB, free: 10.18 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003021/0.3363, allocations: 141.9 kB / 1.069 GB, free: 10.01 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002109/0.3365, allocations: 0.6768 MB / 1.069 GB, free: 9.305 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.845e-05/0.3365, allocations: 7.438 kB / 1.069 GB, free: 9.301 MB / 0.8419 GB Notification: Performance of SimCode: time 3.81e-07/0.3366, allocations: 0 / 1.069 GB, free: 9.301 MB / 0.8419 GB Notification: Performance of Templates: time 0.00217/0.3387, allocations: 0.6698 MB / 1.07 GB, free: 8.637 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_Polynomial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches