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.0008938/0.0008938, allocations: 90.52 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.007568/0.007568, allocations: 173.9 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.381/1.381, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.745/2.745, allocations: 462.7 MB / 0.7364 GB, free: 268 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0004308/0.000431, allocations: 15.19 kB / 0.9028 GB, free: 36.62 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3348/0.3352, allocations: 159.6 MB / 1.059 GB, free: 5.457 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Polynomial): time 0.001692/0.337, allocations: 1.16 MB / 1.06 GB, free: 4.285 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0003431/0.3373, allocations: 91.81 kB / 1.06 GB, free: 4.195 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.201e-05/0.3374, allocations: 0 / 1.06 GB, free: 4.195 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 5.719e-05/0.3374, allocations: 7.922 kB / 1.06 GB, free: 4.188 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 3.616e-05/0.3375, allocations: 0 / 1.06 GB, free: 4.188 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002142/0.3377, allocations: 23.97 kB / 1.06 GB, free: 4.164 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.847e-05/0.3378, allocations: 19.88 kB / 1.06 GB, free: 4.145 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.801e-05/0.3379, allocations: 7.984 kB / 1.06 GB, free: 4.137 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.008e-05/0.3379, allocations: 8 kB / 1.06 GB, free: 4.129 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.237e-05/0.338, allocations: 15.92 kB / 1.06 GB, free: 4.113 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.326e-05/0.338, allocations: 0 / 1.06 GB, free: 4.113 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 9.429e-05/0.3381, allocations: 19.92 kB / 1.06 GB, free: 4.094 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.612e-05/0.3381, allocations: 4 kB / 1.06 GB, free: 4.09 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.949e-05/0.3382, allocations: 37.62 kB / 1.06 GB, free: 4.047 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001254/0.3383, allocations: 39.88 kB / 1.06 GB, free: 4.008 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.3383, allocations: 4 kB / 1.06 GB, free: 4.004 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.653e-06/0.3383, allocations: 0 / 1.06 GB, free: 4.004 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.928e-06/0.3384, allocations: 0 / 1.06 GB, free: 4.004 MB / 0.8106 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.0004834/0.3388, allocations: 343.7 kB / 1.06 GB, free: 3.617 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.76e-05/0.3389, allocations: 12.03 kB / 1.06 GB, free: 3.605 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.217e-05/0.3389, allocations: 4.844 kB / 1.06 GB, free: 3.602 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001369/0.3391, allocations: 160.4 kB / 1.061 GB, free: 3.406 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.154e-05/0.3391, allocations: 4.375 kB / 1.061 GB, free: 3.402 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.387e-05/0.3391, allocations: 4.375 kB / 1.061 GB, free: 3.398 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002027/0.3393, allocations: 54.23 kB / 1.061 GB, free: 3.34 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.3393, allocations: 4.125 kB / 1.061 GB, free: 3.336 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.438e-05/0.3394, allocations: 15.88 kB / 1.061 GB, free: 3.32 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.3394, allocations: 0 / 1.061 GB, free: 3.32 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001891/0.3396, allocations: 43.95 kB / 1.061 GB, free: 3.277 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004011/0.34, allocations: 253 kB / 1.061 GB, free: 2.98 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001431/0.3402, allocations: 46.56 kB / 1.061 GB, free: 2.926 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001007/0.3403, allocations: 40.83 kB / 1.061 GB, free: 2.883 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.348e-05/0.3403, allocations: 0 / 1.061 GB, free: 2.883 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.716e-05/0.3403, allocations: 34.5 kB / 1.061 GB, free: 2.84 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 7.11e-07/0.3403, allocations: 3.938 kB / 1.061 GB, free: 2.836 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0003863/0.3407, allocations: 109.5 kB / 1.061 GB, free: 2.723 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.982e-05/0.3408, allocations: 51.41 kB / 1.061 GB, free: 2.66 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.297e-05/0.3409, allocations: 105.8 kB / 1.061 GB, free: 2.547 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.412e-05/0.3409, allocations: 25.7 kB / 1.061 GB, free: 2.516 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.313e-05/0.341, allocations: 88.14 kB / 1.061 GB, free: 2.426 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.958e-05/0.341, allocations: 8.031 kB / 1.061 GB, free: 2.418 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.234e-05/0.341, allocations: 9.719 kB / 1.061 GB, free: 2.402 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001227/0.3411, allocations: 318.8 kB / 1.062 GB, free: 2.082 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.274e-05/0.3412, allocations: 19.98 kB / 1.062 GB, free: 2.062 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.486e-05/0.3413, allocations: 27.92 kB / 1.062 GB, free: 2.035 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001703/0.3415, allocations: 56.88 kB / 1.062 GB, free: 1.977 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.3415, allocations: 0 / 1.062 GB, free: 1.977 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002087/0.3417, allocations: 85.59 kB / 1.062 GB, free: 1.887 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.3418, allocations: 4 kB / 1.062 GB, free: 1.883 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.3418, allocations: 0 / 1.062 GB, free: 1.883 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.069e-05/0.3418, allocations: 0 / 1.062 GB, free: 1.883 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.56e-05/0.3419, allocations: 8 kB / 1.062 GB, free: 1.875 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.3419, allocations: 4 kB / 1.062 GB, free: 1.871 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.183e-05/0.3419, allocations: 15.95 kB / 1.062 GB, free: 1.855 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.765e-06/0.342, allocations: 4 kB / 1.062 GB, free: 1.852 MB / 0.8106 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 7.75e-05/0.342, allocations: 115.3 kB / 1.062 GB, free: 1.73 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.142e-05/0.3421, allocations: 3.938 kB / 1.062 GB, free: 1.727 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002507/0.3423, allocations: 93.17 kB / 1.062 GB, free: 1.629 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.3423, allocations: 0 / 1.062 GB, free: 1.629 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.3423, allocations: 256 / 1.062 GB, free: 1.629 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.3423, allocations: 0 / 1.062 GB, free: 1.629 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001587/0.3425, allocations: 173.5 kB / 1.062 GB, free: 1.41 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.3425, allocations: 0 / 1.062 GB, free: 1.41 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.677e-05/0.3426, allocations: 8 kB / 1.062 GB, free: 1.402 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.3426, allocations: 0 / 1.062 GB, free: 1.402 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.025e-05/0.3426, allocations: 12.02 kB / 1.062 GB, free: 1.391 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.3426, allocations: 0 / 1.062 GB, free: 1.391 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3426, allocations: 0 / 1.062 GB, free: 1.391 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002528/0.3429, allocations: 187.3 kB / 1.063 GB, free: 1.191 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.763e-05/0.3429, allocations: 81.09 kB / 1.063 GB, free: 1.094 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.268e-05/0.3429, allocations: 3.938 kB / 1.063 GB, free: 1.09 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.732e-05/0.343, allocations: 11.98 kB / 1.063 GB, free: 1.078 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.618e-05/0.3431, allocations: 0 / 1.063 GB, free: 1.078 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.805e-06/0.3431, allocations: 0 / 1.063 GB, free: 1.078 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.813e-05/0.3431, allocations: 87.28 kB / 1.063 GB, free: 0.9922 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3431, allocations: 0 / 1.063 GB, free: 0.9922 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002198/0.3434, allocations: 16.02 kB / 1.063 GB, free: 0.9766 MB / 0.8106 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.0001618/0.3435, allocations: 99.25 kB / 1.063 GB, free: 0.8711 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002334/0.3438, allocations: 55.95 kB / 1.063 GB, free: 0.8164 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3438, allocations: 4.062 kB / 1.063 GB, free: 0.8125 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 9.462e-05/0.3439, allocations: 23.92 kB / 1.063 GB, free: 0.7891 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002789/0.3442, allocations: 11.94 kB / 1.063 GB, free: 0.7773 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002903/0.3445, allocations: 120.6 kB / 1.063 GB, free: 0.6328 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002936/0.3448, allocations: 0.681 MB / 1.064 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.216e-05/0.3448, allocations: 0 / 1.064 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.087e-05/0.3448, allocations: 11.44 kB / 1.064 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of SimCode: time 2.3e-07/0.3448, allocations: 0 / 1.064 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of Templates: time 0.002559/0.3474, allocations: 473.6 kB / 1.064 GB, free: 15.45 MB / 0.8262 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches