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.001095/0.001095, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001237/0.001237, allocations: 193.9 kB / 16.53 MB, free: 6.391 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.343/1.343, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.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.59/2.59, allocations: 437 MB / 0.7104 GB, free: 5 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00197/0.00197, allocations: 68.03 kB / 0.8692 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6617/0.6637, allocations: 151.6 MB / 1.017 GB, free: 2.539 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Polynomial): time 0.002373/0.6662, allocations: 0.5802 MB / 1.018 GB, free: 1.953 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0002544/0.6665, allocations: 31.88 kB / 1.018 GB, free: 1.922 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.943e-05/0.6665, allocations: 0 / 1.018 GB, free: 1.922 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.913e-05/0.6665, allocations: 3.938 kB / 1.018 GB, free: 1.918 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.35e-06/0.6666, allocations: 0 / 1.018 GB, free: 1.918 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003811/0.6669, allocations: 15.97 kB / 1.018 GB, free: 1.902 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 5.785e-05/0.667, allocations: 7.938 kB / 1.018 GB, free: 1.895 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 8.032e-05/0.6671, allocations: 3.984 kB / 1.018 GB, free: 1.891 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 2.254e-05/0.6671, allocations: 0 / 1.018 GB, free: 1.891 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.154e-05/0.6672, allocations: 4 kB / 1.018 GB, free: 1.887 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.348e-05/0.6672, allocations: 4 kB / 1.018 GB, free: 1.883 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001371/0.6673, allocations: 15.98 kB / 1.018 GB, free: 1.867 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.633e-05/0.6674, allocations: 0 / 1.018 GB, free: 1.867 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.505e-05/0.6674, allocations: 3.938 kB / 1.018 GB, free: 1.863 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001367/0.6676, allocations: 23.97 kB / 1.018 GB, free: 1.84 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.6676, allocations: 0 / 1.018 GB, free: 1.84 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.504e-06/0.6676, allocations: 0 / 1.018 GB, free: 1.84 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 1.497e-05/0.6676, allocations: 0 / 1.018 GB, free: 1.84 MB / 0.7637 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.0004723/0.6681, allocations: 311.6 kB / 1.018 GB, free: 1.484 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 5.137e-05/0.6681, allocations: 12.03 kB / 1.018 GB, free: 1.473 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.098e-05/0.6682, allocations: 0.9375 kB / 1.018 GB, free: 1.473 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000134/0.6683, allocations: 160.4 kB / 1.018 GB, free: 1.277 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.971e-05/0.6684, allocations: 384 / 1.018 GB, free: 1.277 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.818e-05/0.6684, allocations: 4.375 kB / 1.018 GB, free: 1.273 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001318/0.6685, allocations: 34.25 kB / 1.018 GB, free: 1.234 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.395e-05/0.6685, allocations: 192 / 1.018 GB, free: 1.234 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.426e-05/0.6686, allocations: 11.86 kB / 1.018 GB, free: 1.223 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.254e-06/0.6686, allocations: 0 / 1.018 GB, free: 1.223 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.58e-05/0.6686, allocations: 7.938 kB / 1.018 GB, free: 1.215 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001517/0.6688, allocations: 145.7 kB / 1.019 GB, free: 1.023 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 4.225e-05/0.6688, allocations: 18.61 kB / 1.019 GB, free: 0.9961 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.01e-05/0.6688, allocations: 12.84 kB / 1.019 GB, free: 0.9805 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 3.771e-05/0.6689, allocations: 0 / 1.019 GB, free: 0.9805 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.107e-05/0.6689, allocations: 34.62 kB / 1.019 GB, free: 0.9375 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=1): time 9.32e-07/0.6689, allocations: 3.938 kB / 1.019 GB, free: 0.9336 MB / 0.7637 GB Notification: Performance of matching and sorting (n=1): time 0.0001361/0.6691, allocations: 41.58 kB / 1.019 GB, free: 0.8867 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.283e-05/0.6691, allocations: 51.41 kB / 1.019 GB, free: 0.8242 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.361e-05/0.6691, allocations: 89.86 kB / 1.019 GB, free: 0.7266 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 1.498e-05/0.6692, allocations: 25.7 kB / 1.019 GB, free: 0.6953 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 2.443e-05/0.6692, allocations: 80.14 kB / 1.019 GB, free: 0.6133 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 3.375e-05/0.6692, allocations: 7.906 kB / 1.019 GB, free: 0.6055 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.255e-05/0.6693, allocations: 17.7 kB / 1.019 GB, free: 0.582 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.000114/0.6694, allocations: 310.8 kB / 1.019 GB, free: 276 kB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.263e-05/0.6694, allocations: 8.125 kB / 1.019 GB, free: 268 kB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.683e-06/0.6694, allocations: 0 / 1.019 GB, free: 268 kB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.564e-05/0.6694, allocations: 8.859 kB / 1.019 GB, free: 256 kB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.6694, allocations: 0 / 1.019 GB, free: 256 kB / 0.7637 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.436e-05/0.6695, allocations: 33.64 kB / 1.019 GB, free: 216 kB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.6695, allocations: 4 kB / 1.019 GB, free: 212 kB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.6696, allocations: 7.984 kB / 1.019 GB, free: 204 kB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.6696, allocations: 3.938 kB / 1.019 GB, free: 200 kB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.858e-05/0.6696, allocations: 96 / 1.019 GB, free: 200 kB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.109e-06/0.6696, allocations: 4 kB / 1.019 GB, free: 196 kB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.559e-05/0.6697, allocations: 4 kB / 1.019 GB, free: 192 kB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.569e-05/0.6697, allocations: 4 kB / 1.019 GB, free: 188 kB / 0.7637 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 7.079e-05/0.6698, allocations: 105.8 kB / 1.019 GB, free: 72 kB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.576e-06/0.6698, allocations: 0 / 1.019 GB, free: 72 kB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000114/0.6699, allocations: 52.69 kB / 1.02 GB, free: 12 kB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.6699, allocations: 0 / 1.02 GB, free: 12 kB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.6699, allocations: 0 / 1.02 GB, free: 12 kB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.065e-06/0.6699, allocations: 0 / 1.02 GB, free: 12 kB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001125/0.67, allocations: 149.7 kB / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.766e-06/0.6701, allocations: 7.922 kB / 1.02 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.079e-05/0.6701, allocations: 4 kB / 1.02 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.6701, allocations: 0 / 1.02 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.464e-06/0.6701, allocations: 3.938 kB / 1.02 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.6701, allocations: 0 / 1.02 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.6701, allocations: 0 / 1.02 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.618e-05/0.6702, allocations: 61.17 kB / 1.02 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.119e-05/0.6702, allocations: 81.09 kB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.172e-05/0.6702, allocations: 3.938 kB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.276e-05/0.6703, allocations: 4 kB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.487e-05/0.6703, allocations: 0 / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.429e-06/0.6703, allocations: 0 / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 2.751e-05/0.6703, allocations: 79.22 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6703, allocations: 4.031 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001993/0.6705, allocations: 7.938 kB / 1.02 GB, free: 15.53 MB / 0.7794 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.000164/0.6707, allocations: 107.2 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 7.341e-05/0.6708, allocations: 7.984 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.6708, allocations: 0 / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 7.373e-06/0.6708, allocations: 0 / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001528/0.671, allocations: 5.406 kB / 1.02 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002166/0.6712, allocations: 85.09 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002266/0.6714, allocations: 0.669 MB / 1.021 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.111e-05/0.6715, allocations: 7.984 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.456e-05/0.6715, allocations: 7.438 kB / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of SimCode: time 2.3e-07/0.6715, allocations: 0 / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of Templates: time 0.002465/0.674, allocations: 292.7 kB / 1.021 GB, free: 14.3 MB / 0.7794 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=480 -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/jenkins/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