Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x",fileNamePrefix="Buildings_latest_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_latest_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.008176/0.008176, allocations: 103 kB / 15.73 MB, free: 5.988 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.001472/0.001472, allocations: 196.2 kB / 16.67 MB, free: 5.914 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.4/1.4, allocations: 222.9 MB / 240.3 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.68/2.68, allocations: 461.9 MB / 0.7348 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001679/0.00168, allocations: 64.12 kB / 1.054 GB, free: 7.66 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8798/0.8815, allocations: 157.4 MB / 1.208 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Polynomial): time 0.001793/0.8833, allocations: 0.5791 MB / 1.208 GB, free: 13.04 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0002566/0.8836, allocations: 41.72 kB / 1.208 GB, free: 13 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.61e-05/0.8837, allocations: 0 / 1.208 GB, free: 13 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 1.387e-05/0.8837, allocations: 0 / 1.208 GB, free: 13 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 7.304e-06/0.8837, allocations: 4 kB / 1.208 GB, free: 13 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003123/0.884, allocations: 8 kB / 1.208 GB, free: 12.99 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 5.406e-05/0.8841, allocations: 7.984 kB / 1.208 GB, free: 12.98 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.811e-05/0.8842, allocations: 7.938 kB / 1.208 GB, free: 12.97 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 1.605e-05/0.8842, allocations: 3.984 kB / 1.208 GB, free: 12.97 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 4.256e-05/0.8842, allocations: 4 kB / 1.208 GB, free: 12.96 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.112e-05/0.8842, allocations: 0 / 1.208 GB, free: 12.96 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000107/0.8844, allocations: 15.98 kB / 1.208 GB, free: 12.95 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 9.668e-06/0.8844, allocations: 0 / 1.208 GB, free: 12.95 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.056e-05/0.8844, allocations: 0 / 1.208 GB, free: 12.95 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 9.638e-05/0.8845, allocations: 19.97 kB / 1.208 GB, free: 12.93 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.8845, allocations: 0 / 1.208 GB, free: 12.93 MB / 0.9356 GB Notification: Performance of FrontEnd: time 8.51e-07/0.8845, allocations: 0 / 1.208 GB, free: 12.93 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.715e-06/0.8845, allocations: 0 / 1.208 GB, free: 12.93 MB / 0.9356 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.0002941/0.8848, allocations: 311.6 kB / 1.209 GB, free: 12.57 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.8849, allocations: 12.03 kB / 1.209 GB, free: 12.56 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.1e-05/0.8849, allocations: 4.875 kB / 1.209 GB, free: 12.56 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.711e-05/0.885, allocations: 164.4 kB / 1.209 GB, free: 12.36 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.977e-06/0.885, allocations: 384 / 1.209 GB, free: 12.36 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.352e-06/0.885, allocations: 384 / 1.209 GB, free: 12.36 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.954e-05/0.8851, allocations: 38.2 kB / 1.209 GB, free: 12.32 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.222e-06/0.8851, allocations: 192 / 1.209 GB, free: 12.32 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.568e-06/0.8851, allocations: 3.938 kB / 1.209 GB, free: 12.31 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/0.8851, allocations: 3.984 kB / 1.209 GB, free: 12.31 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.867e-05/0.8852, allocations: 3.938 kB / 1.209 GB, free: 12.3 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001423/0.8853, allocations: 153.7 kB / 1.209 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 3.668e-05/0.8854, allocations: 14.58 kB / 1.209 GB, free: 12.08 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.127e-05/0.8854, allocations: 16.95 kB / 1.209 GB, free: 12.06 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.708e-05/0.8854, allocations: 3.938 kB / 1.209 GB, free: 12.06 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.176e-05/0.8855, allocations: 30.56 kB / 1.209 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.8855, allocations: 0 / 1.209 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of matching and sorting (n=1): time 0.0001278/0.8856, allocations: 41.64 kB / 1.209 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.452e-05/0.8857, allocations: 51.41 kB / 1.209 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.648e-05/0.8857, allocations: 93.84 kB / 1.209 GB, free: 11.81 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.126e-05/0.8857, allocations: 25.83 kB / 1.209 GB, free: 11.78 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 2.23e-05/0.8857, allocations: 84.14 kB / 1.209 GB, free: 11.69 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.564e-05/0.8858, allocations: 0 / 1.209 GB, free: 11.69 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.17e-05/0.8858, allocations: 13.72 kB / 1.209 GB, free: 11.67 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001048/0.8859, allocations: 310.8 kB / 1.21 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.34e-05/0.8859, allocations: 4 kB / 1.21 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.668e-06/0.886, allocations: 7.938 kB / 1.21 GB, free: 11.35 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.549e-05/0.886, allocations: 4.859 kB / 1.21 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.886, allocations: 4.062 kB / 1.21 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.578e-05/0.8861, allocations: 37.69 kB / 1.21 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/0.8861, allocations: 4 kB / 1.21 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.968e-06/0.8861, allocations: 0 / 1.21 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.8861, allocations: 3.938 kB / 1.21 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.921e-05/0.8862, allocations: 4 kB / 1.21 GB, free: 11.28 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.266e-06/0.8862, allocations: 0 / 1.21 GB, free: 11.28 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.317e-05/0.8862, allocations: 0 / 1.21 GB, free: 11.28 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.156e-05/0.8862, allocations: 0 / 1.21 GB, free: 11.28 MB / 0.9356 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.467e-05/0.8863, allocations: 113.9 kB / 1.21 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.144e-05/0.8863, allocations: 7.844 kB / 1.21 GB, free: 11.15 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.546e-05/0.8864, allocations: 48.69 kB / 1.21 GB, free: 11.1 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.8864, allocations: 4 kB / 1.21 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.8864, allocations: 0 / 1.21 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-06/0.8865, allocations: 0 / 1.21 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001009/0.8866, allocations: 149.7 kB / 1.21 GB, free: 10.9 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.8866, allocations: 4.031 kB / 1.21 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.249e-05/0.8866, allocations: 4 kB / 1.21 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.8866, allocations: 0 / 1.21 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.634e-06/0.8866, allocations: 3.938 kB / 1.21 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.8866, allocations: 0 / 1.21 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.8866, allocations: 0 / 1.21 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.227e-05/0.8867, allocations: 65.06 kB / 1.21 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.468e-05/0.8867, allocations: 77.11 kB / 1.21 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.417e-05/0.8868, allocations: 11.91 kB / 1.21 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.176e-05/0.8868, allocations: 0 / 1.21 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.928e-05/0.8868, allocations: 4 kB / 1.21 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.104e-06/0.8868, allocations: 4 kB / 1.21 GB, free: 10.69 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 3.11e-05/0.8869, allocations: 75.28 kB / 1.21 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.01e-07/0.8869, allocations: 0 / 1.21 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0001915/0.8871, allocations: 8 kB / 1.21 GB, free: 10.61 MB / 0.9356 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.0001726/0.8872, allocations: 110 kB / 1.21 GB, free: 10.49 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 6.663e-05/0.8873, allocations: 8 kB / 1.21 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.8873, allocations: 0 / 1.21 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.135e-05/0.8873, allocations: 7.938 kB / 1.211 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000125/0.8875, allocations: 0 / 1.211 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002076/0.8877, allocations: 80.94 kB / 1.211 GB, free: 10.37 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002361/0.8879, allocations: 0.6729 MB / 1.211 GB, free: 9.672 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.405e-05/0.888, allocations: 4.125 kB / 1.211 GB, free: 9.668 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.333e-05/0.888, allocations: 11.44 kB / 1.211 GB, free: 9.66 MB / 0.9356 GB Notification: Performance of SimCode: time 4.71e-07/0.888, allocations: 0 / 1.211 GB, free: 9.66 MB / 0.9356 GB Notification: Performance of Templates: time 0.002161/0.8902, allocations: 284.6 kB / 1.212 GB, free: 9.383 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Polynomial.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Polynomial.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Polynomial -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Polynomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_Polynomial.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Polynomial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches