Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.Examples.Polynomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|polynominal.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.Polynomial") translateModel(Buildings.Utilities.Math.Examples.Polynomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|polynominal.y",fileNamePrefix="Buildings_10_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.001725/0.001725, allocations: 115.3 kB / 15.34 MB, free: 0.5078 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.001798/0.001798, allocations: 188.2 kB / 16.25 MB, free: 6.586 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.469/1.469, allocations: 222.9 MB / 239.9 MB, free: 4.492 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.728/2.728, allocations: 437 MB / 0.7101 GB, free: 5.32 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001921/0.001921, allocations: 67.89 kB / 0.8687 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6529/0.6548, allocations: 151.6 MB / 1.017 GB, free: 2.715 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Polynomial): time 0.002824/0.6577, allocations: 1.499 MB / 1.018 GB, free: 1.207 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.000297/0.658, allocations: 88.59 kB / 1.018 GB, free: 1.117 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.536e-05/0.658, allocations: 0 / 1.018 GB, free: 1.117 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 8.372e-05/0.6581, allocations: 0 / 1.018 GB, free: 1.117 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 3.755e-05/0.6582, allocations: 7.938 kB / 1.018 GB, free: 1.109 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002189/0.6584, allocations: 15.97 kB / 1.018 GB, free: 1.094 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 6.805e-05/0.6585, allocations: 27.92 kB / 1.018 GB, free: 1.066 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 7.688e-05/0.6585, allocations: 7.938 kB / 1.018 GB, free: 1.059 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 4.083e-05/0.6586, allocations: 11.94 kB / 1.018 GB, free: 1.047 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 3.664e-05/0.6586, allocations: 11.98 kB / 1.018 GB, free: 1.035 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.302e-05/0.6587, allocations: 4 kB / 1.018 GB, free: 1.031 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 8.617e-05/0.6587, allocations: 15.98 kB / 1.018 GB, free: 1.016 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 3.794e-05/0.6588, allocations: 7.922 kB / 1.018 GB, free: 1.008 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.748e-05/0.6588, allocations: 11.94 kB / 1.018 GB, free: 0.9961 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001242/0.659, allocations: 39.94 kB / 1.019 GB, free: 0.957 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.659, allocations: 3.938 kB / 1.019 GB, free: 0.9531 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.104e-06/0.659, allocations: 0 / 1.019 GB, free: 0.9531 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 6.833e-06/0.659, allocations: 0 / 1.019 GB, free: 0.9531 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005496/0.6595, allocations: 345.4 kB / 1.019 GB, free: 0.5664 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.6596, allocations: 8.031 kB / 1.019 GB, free: 0.5586 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.123e-05/0.6596, allocations: 12.84 kB / 1.019 GB, free: 0.5469 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001575/0.6598, allocations: 168.3 kB / 1.019 GB, free: 352 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.281e-05/0.6598, allocations: 384 / 1.019 GB, free: 352 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.632e-05/0.6598, allocations: 8.359 kB / 1.019 GB, free: 344 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002005/0.66, allocations: 50.23 kB / 1.019 GB, free: 288 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.6601, allocations: 4.188 kB / 1.019 GB, free: 284 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.658e-05/0.6601, allocations: 11.92 kB / 1.019 GB, free: 272 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/0.6601, allocations: 0 / 1.019 GB, free: 272 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001677/0.6603, allocations: 31.97 kB / 1.019 GB, free: 240 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003976/0.6607, allocations: 253 kB / 1.019 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001492/0.6608, allocations: 50.48 kB / 1.019 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.351e-05/0.6609, allocations: 24.91 kB / 1.019 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.982e-05/0.661, allocations: 4 kB / 1.019 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.001e-05/0.661, allocations: 30.56 kB / 1.019 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.661, allocations: 0 / 1.019 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0003782/0.6614, allocations: 97.48 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.42e-05/0.6615, allocations: 51.41 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001088/0.6616, allocations: 105.8 kB / 1.02 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.895e-05/0.6616, allocations: 25.7 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.452e-05/0.6617, allocations: 84.14 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.04e-05/0.6617, allocations: 7.906 kB / 1.02 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.664e-05/0.6617, allocations: 13.7 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001622/0.6619, allocations: 323 kB / 1.02 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.719e-05/0.662, allocations: 11.98 kB / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.912e-05/0.6621, allocations: 23.97 kB / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000156/0.6623, allocations: 36.83 kB / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.6623, allocations: 0 / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002105/0.6625, allocations: 81.59 kB / 1.02 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.037e-05/0.6625, allocations: 5.094 kB / 1.02 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.024e-06/0.6625, allocations: 3.938 kB / 1.02 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.724e-05/0.6626, allocations: 3.938 kB / 1.02 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001173/0.6627, allocations: 15.98 kB / 1.02 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.724e-06/0.6627, allocations: 3.984 kB / 1.02 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.898e-05/0.6628, allocations: 4 kB / 1.02 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.223e-06/0.6628, allocations: 3.984 kB / 1.02 GB, free: 14.86 MB / 0.7794 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 9.434e-05/0.6629, allocations: 117.8 kB / 1.02 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.254e-05/0.6629, allocations: 0 / 1.02 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002597/0.6632, allocations: 81.03 kB / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.6632, allocations: 0 / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.673e-05/0.6632, allocations: 4.25 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.6632, allocations: 0 / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002006/0.6634, allocations: 165.6 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.6634, allocations: 4.031 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.998e-05/0.6635, allocations: 11.98 kB / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.6635, allocations: 0 / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.524e-06/0.6635, allocations: 0 / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.6635, allocations: 0 / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.6635, allocations: 0 / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002704/0.6638, allocations: 171.5 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.581e-05/0.6639, allocations: 77.11 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.508e-05/0.6639, allocations: 4 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.477e-05/0.664, allocations: 3.984 kB / 1.021 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.952e-05/0.664, allocations: 8 kB / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.336e-06/0.664, allocations: 0 / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.708e-05/0.6641, allocations: 87.2 kB / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.01e-07/0.6641, allocations: 0 / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002448/0.6643, allocations: 8 kB / 1.021 GB, free: 14.03 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 (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.0002397/0.6646, allocations: 115.7 kB / 1.021 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000237/0.6648, allocations: 43.95 kB / 1.021 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.6648, allocations: 0 / 1.021 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.531e-05/0.6649, allocations: 15.98 kB / 1.021 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003232/0.6653, allocations: 11.94 kB / 1.021 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003338/0.6656, allocations: 125.5 kB / 1.021 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003395/0.666, allocations: 0.6768 MB / 1.022 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.783e-05/0.666, allocations: 4 kB / 1.022 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.882e-05/0.666, allocations: 11.38 kB / 1.022 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of SimCode: time 2.31e-07/0.666, allocations: 0 / 1.022 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of Templates: time 0.003155/0.6692, allocations: 0.4943 MB / 1.023 GB, free: 12.48 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.Polynomial.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Examples.Polynomial.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.Polynomial.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.Polynomial.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.Polynomial.sim & ./Buildings_10_Buildings.Utilities.Math.Examples.Polynomial -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Examples.Polynomial.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.Polynomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_Polynomial.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.Polynomial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches