Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001424/0.001424, allocations: 109.1 kB / 15.99 MB, free: 6.352 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.001542/0.001543, allocations: 189.2 kB / 16.91 MB, free: 6.184 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.391/1.391, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.523/2.523, allocations: 437.1 MB / 0.7107 GB, free: 4.633 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002201/0.002201, allocations: 71.98 kB / 0.8694 GB, free: 2.523 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3339/0.3362, allocations: 151.6 MB / 1.017 GB, free: 10.95 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Polynomial): time 0.003021/0.3393, allocations: 0.6394 MB / 1.018 GB, free: 10.3 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0003382/0.3396, allocations: 39.81 kB / 1.018 GB, free: 10.27 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.738e-05/0.3397, allocations: 4 kB / 1.018 GB, free: 10.26 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 1.898e-05/0.3397, allocations: 0 / 1.018 GB, free: 10.26 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 6.833e-06/0.3397, allocations: 0 / 1.018 GB, free: 10.26 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004125/0.3401, allocations: 8 kB / 1.018 GB, free: 10.25 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 5.525e-05/0.3402, allocations: 4 kB / 1.018 GB, free: 10.25 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 6.041e-05/0.3403, allocations: 7.984 kB / 1.018 GB, free: 10.24 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 2.023e-05/0.3403, allocations: 0 / 1.018 GB, free: 10.24 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 4.588e-05/0.3404, allocations: 0 / 1.018 GB, free: 10.24 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.639e-05/0.3404, allocations: 4 kB / 1.018 GB, free: 10.24 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001373/0.3405, allocations: 15.92 kB / 1.018 GB, free: 10.22 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.491e-05/0.3406, allocations: 4 kB / 1.018 GB, free: 10.22 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.778e-05/0.3406, allocations: 0 / 1.018 GB, free: 10.22 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001145/0.3407, allocations: 15.97 kB / 1.018 GB, free: 10.2 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 1.033e-05/0.3407, allocations: 4 kB / 1.018 GB, free: 10.2 MB / 0.795 GB Notification: Performance of FrontEnd: time 3.246e-06/0.3407, allocations: 0 / 1.018 GB, free: 10.2 MB / 0.795 GB Notification: Performance of Transformations before backend: time 6.723e-06/0.3407, allocations: 0 / 1.018 GB, free: 10.2 MB / 0.795 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.0005354/0.3413, allocations: 319.5 kB / 1.019 GB, free: 9.836 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 5.441e-05/0.3414, allocations: 12.92 kB / 1.019 GB, free: 9.824 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.916e-05/0.3414, allocations: 0.9375 kB / 1.019 GB, free: 9.824 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001561/0.3416, allocations: 160.4 kB / 1.019 GB, free: 9.629 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.999e-05/0.3416, allocations: 384 / 1.019 GB, free: 9.629 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.854e-05/0.3416, allocations: 4.312 kB / 1.019 GB, free: 9.625 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001632/0.3418, allocations: 38.23 kB / 1.019 GB, free: 9.582 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/0.3418, allocations: 192 / 1.019 GB, free: 9.582 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.71e-05/0.3418, allocations: 7.938 kB / 1.019 GB, free: 9.574 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.62e-06/0.3418, allocations: 3.938 kB / 1.019 GB, free: 9.57 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.413e-05/0.3419, allocations: 0 / 1.019 GB, free: 9.57 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002337/0.3421, allocations: 149.7 kB / 1.019 GB, free: 9.375 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 5.819e-05/0.3422, allocations: 14.58 kB / 1.019 GB, free: 9.352 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.189e-05/0.3422, allocations: 12.95 kB / 1.019 GB, free: 9.336 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 5.919e-05/0.3423, allocations: 3.984 kB / 1.019 GB, free: 9.332 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.108e-05/0.3423, allocations: 34.56 kB / 1.019 GB, free: 9.289 MB / 0.795 GB Notification: Performance of pre-optimization done (n=1): time 9.21e-07/0.3423, allocations: 0 / 1.019 GB, free: 9.289 MB / 0.795 GB Notification: Performance of matching and sorting (n=1): time 0.0002475/0.3426, allocations: 45.58 kB / 1.019 GB, free: 9.238 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.689e-05/0.3427, allocations: 51.41 kB / 1.019 GB, free: 9.176 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.689e-05/0.3428, allocations: 89.86 kB / 1.019 GB, free: 9.078 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.549e-05/0.3428, allocations: 29.64 kB / 1.019 GB, free: 9.043 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 5.014e-05/0.3428, allocations: 80.14 kB / 1.019 GB, free: 8.961 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 4.315e-05/0.3429, allocations: 0 / 1.019 GB, free: 8.961 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.92e-05/0.3429, allocations: 17.84 kB / 1.019 GB, free: 8.938 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001969/0.3431, allocations: 318.8 kB / 1.02 GB, free: 8.617 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.679e-05/0.3432, allocations: 4 kB / 1.02 GB, free: 8.613 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.955e-06/0.3432, allocations: 0 / 1.02 GB, free: 8.613 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.41e-05/0.3432, allocations: 12.8 kB / 1.02 GB, free: 8.598 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.3432, allocations: 0 / 1.02 GB, free: 8.598 MB / 0.795 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.234e-05/0.3433, allocations: 33.7 kB / 1.02 GB, free: 8.559 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.33e-05/0.3433, allocations: 7.125 kB / 1.02 GB, free: 8.555 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/0.3433, allocations: 4.094 kB / 1.02 GB, free: 8.551 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.165e-05/0.3434, allocations: 3.938 kB / 1.02 GB, free: 8.547 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001002/0.3435, allocations: 7.984 kB / 1.02 GB, free: 8.539 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.865e-06/0.3435, allocations: 0 / 1.02 GB, free: 8.539 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.371e-05/0.3435, allocations: 0 / 1.02 GB, free: 8.539 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.636e-05/0.3435, allocations: 0 / 1.02 GB, free: 8.539 MB / 0.795 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 0.0001198/0.3437, allocations: 113.8 kB / 1.02 GB, free: 8.418 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.464e-06/0.3437, allocations: 0 / 1.02 GB, free: 8.418 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001329/0.3438, allocations: 48.69 kB / 1.02 GB, free: 8.363 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.594e-06/0.3438, allocations: 0 / 1.02 GB, free: 8.363 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.695e-06/0.3438, allocations: 7.938 kB / 1.02 GB, free: 8.355 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.3438, allocations: 0 / 1.02 GB, free: 8.355 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001619/0.344, allocations: 141.7 kB / 1.02 GB, free: 8.168 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.344, allocations: 0 / 1.02 GB, free: 8.168 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.921e-05/0.344, allocations: 3.984 kB / 1.02 GB, free: 8.164 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.344, allocations: 4 kB / 1.02 GB, free: 8.16 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.069e-05/0.3441, allocations: 3.938 kB / 1.02 GB, free: 8.156 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.3441, allocations: 4.031 kB / 1.02 GB, free: 8.152 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.3441, allocations: 0 / 1.02 GB, free: 8.152 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.88e-05/0.3442, allocations: 57.14 kB / 1.02 GB, free: 8.078 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 6.963e-05/0.3442, allocations: 81.09 kB / 1.02 GB, free: 7.98 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.474e-05/0.3443, allocations: 7.875 kB / 1.02 GB, free: 7.973 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.096e-05/0.3443, allocations: 0 / 1.02 GB, free: 7.973 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.606e-05/0.3443, allocations: 0 / 1.02 GB, free: 7.973 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.382e-06/0.3443, allocations: 8.031 kB / 1.02 GB, free: 7.965 MB / 0.795 GB Notification: Performance of sorting global known variables: time 4.841e-05/0.3444, allocations: 75.28 kB / 1.02 GB, free: 7.891 MB / 0.795 GB Notification: Performance of sort global known variables: time 9e-08/0.3444, allocations: 0 / 1.02 GB, free: 7.891 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002229/0.3446, allocations: 8 kB / 1.02 GB, free: 7.883 MB / 0.795 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.000267/0.3449, allocations: 99.78 kB / 1.02 GB, free: 7.777 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0001036/0.345, allocations: 7.984 kB / 1.02 GB, free: 7.77 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.345, allocations: 0 / 1.02 GB, free: 7.77 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 1.388e-05/0.345, allocations: 12 kB / 1.02 GB, free: 7.758 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001594/0.3452, allocations: 0 / 1.02 GB, free: 7.758 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002789/0.3455, allocations: 114.6 kB / 1.02 GB, free: 7.613 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003471/0.3458, allocations: 0.669 MB / 1.021 GB, free: 6.918 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.358e-05/0.3459, allocations: 11.42 kB / 1.021 GB, free: 6.906 MB / 0.795 GB Notification: Performance of SimCode: time 2.21e-07/0.3459, allocations: 0 / 1.021 GB, free: 6.906 MB / 0.795 GB Notification: Performance of Templates: time 0.002223/0.3481, allocations: 457.5 kB / 1.021 GB, free: 6.461 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.Polynomial.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.Polynomial.sim & ./Buildings_10_Buildings.Utilities.Math.Functions.Examples.Polynomial -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.Polynomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_Polynomial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.Polynomial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches