Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Functions.Examples.Polynomial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002438/0.002438, allocations: 83.69 kB / 20.23 MB, free: 4.188 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002806/0.002806, allocations: 165.7 kB / 23.55 MB, free: 0.8711 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.571/1.571, allocations: 177.1 MB / 203.9 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.927/2.927, allocations: 359 MB / 0.6048 GB, free: 10.95 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|x",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Functions.Examples.Polynomial") translateModel(Buildings.Utilities.Math.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|x",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Functions.Examples.Polynomial") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 0.7864 GB, free: 12.74 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.623e-05/2.772e-05, allocations: 9.891 kB / 0.7864 GB, free: 12.73 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Polynomial): time 0.001587/0.001615, allocations: 0.5918 MB / 0.787 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0002217/0.001836, allocations: 39.83 kB / 0.787 GB, free: 12.12 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.162e-05/0.001848, allocations: 0.5 kB / 0.7871 GB, free: 12.12 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 1.017e-05/0.001858, allocations: 1.156 kB / 0.7871 GB, free: 12.12 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 4.568e-06/0.001863, allocations: 0 / 0.7871 GB, free: 12.12 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002721/0.002135, allocations: 11.92 kB / 0.7871 GB, free: 12.11 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 3.671e-05/0.002172, allocations: 4.562 kB / 0.7871 GB, free: 12.1 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.365e-05/0.002205, allocations: 0.6875 kB / 0.7871 GB, free: 12.1 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 2.746e-05/0.002233, allocations: 0 / 0.7871 GB, free: 12.1 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 2.723e-05/0.00226, allocations: 4.906 kB / 0.7871 GB, free: 12.1 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.175e-05/0.002272, allocations: 0 / 0.7871 GB, free: 12.1 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 9.135e-05/0.002363, allocations: 19.95 kB / 0.7871 GB, free: 12.08 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.123e-05/0.002374, allocations: 4.656 kB / 0.7871 GB, free: 12.07 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.239e-05/0.002387, allocations: 0.9062 kB / 0.7871 GB, free: 12.07 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001041/0.002491, allocations: 11.98 kB / 0.7871 GB, free: 12.06 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.254e-06/0.002493, allocations: 7.938 kB / 0.7871 GB, free: 12.05 MB / 0.7448 GB Notification: Performance of FrontEnd: time 5.31e-07/0.002494, allocations: 1.625 kB / 0.7871 GB, free: 12.05 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.517e-06/0.002497, allocations: 0 / 0.7871 GB, free: 12.05 MB / 0.7448 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.0003877/0.002885, allocations: 344.4 kB / 0.7874 GB, free: 11.68 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.233e-05/0.002917, allocations: 8.031 kB / 0.7875 GB, free: 11.67 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.538e-05/0.002952, allocations: 2.531 kB / 0.7875 GB, free: 11.67 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001099/0.003062, allocations: 112.6 kB / 0.7876 GB, free: 11.54 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.196e-05/0.003074, allocations: 384 / 0.7876 GB, free: 11.54 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.953e-06/0.003081, allocations: 384 / 0.7876 GB, free: 11.54 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.798e-05/0.003169, allocations: 37.75 kB / 0.7876 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.003177, allocations: 192 / 0.7876 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.254e-06/0.003184, allocations: 384 / 0.7876 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.517e-06/0.003188, allocations: 384 / 0.7876 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.341e-05/0.003211, allocations: 3.938 kB / 0.7876 GB, free: 11.49 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001633/0.003375, allocations: 112.6 kB / 0.7877 GB, free: 11.35 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 6.388e-05/0.003439, allocations: 27 kB / 0.7877 GB, free: 11.31 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.248e-05/0.003461, allocations: 11.78 kB / 0.7877 GB, free: 11.29 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.367e-05/0.003495, allocations: 3.984 kB / 0.7878 GB, free: 11.29 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.09e-05/0.003536, allocations: 41.88 kB / 0.7878 GB, free: 11.24 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=1): time 8.62e-07/0.003536, allocations: 0.625 kB / 0.7878 GB, free: 11.24 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1): time 0.0001379/0.003674, allocations: 31.36 kB / 0.7878 GB, free: 11.2 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.629e-05/0.003721, allocations: 55.41 kB / 0.7879 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.955e-05/0.00381, allocations: 142.2 kB / 0.788 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.019e-05/0.00383, allocations: 29.64 kB / 0.788 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.158e-05/0.003902, allocations: 130.9 kB / 0.7882 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.85e-05/0.003931, allocations: 1.031 kB / 0.7882 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.869e-05/0.003969, allocations: 15.38 kB / 0.7882 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002792/0.004248, allocations: 0.4931 MB / 0.7887 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.057e-05/0.004259, allocations: 0 / 0.7887 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.979e-06/0.004269, allocations: 1.062 kB / 0.7887 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.743e-05/0.004306, allocations: 15.69 kB / 0.7887 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.004311, allocations: 5.375 kB / 0.7887 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.179e-05/0.004373, allocations: 33.7 kB / 0.7887 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.004388, allocations: 6.344 kB / 0.7887 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.004392, allocations: 0.625 kB / 0.7887 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.004407, allocations: 3.938 kB / 0.7887 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.05e-05/0.004467, allocations: 13.23 kB / 0.7887 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.579e-06/0.004472, allocations: 0 / 0.7887 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.447e-05/0.004486, allocations: 3.938 kB / 0.7887 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.431e-05/0.0045, allocations: 0 / 0.7887 GB, free: 10.2 MB / 0.7448 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.0001152/0.004616, allocations: 157.3 kB / 0.7889 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.013e-06/0.004623, allocations: 1.844 kB / 0.7889 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001074/0.00473, allocations: 40.69 kB / 0.7889 GB, free: 9.992 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.004732, allocations: 0.625 kB / 0.7889 GB, free: 9.992 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.004735, allocations: 4 kB / 0.7889 GB, free: 9.988 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.943e-06/0.004737, allocations: 0.6875 kB / 0.7889 GB, free: 9.988 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001058/0.004842, allocations: 109.8 kB / 0.789 GB, free: 9.848 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.004843, allocations: 0 / 0.789 GB, free: 9.848 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.098e-05/0.004864, allocations: 4 kB / 0.789 GB, free: 9.844 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.004866, allocations: 0 / 0.789 GB, free: 9.844 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.931e-06/0.004872, allocations: 0.5312 kB / 0.789 GB, free: 9.844 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.004875, allocations: 5.172 kB / 0.7891 GB, free: 9.84 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/0.004879, allocations: 3.938 kB / 0.7891 GB, free: 9.836 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.442e-05/0.004973, allocations: 72.39 kB / 0.7891 GB, free: 9.742 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 7.163e-06/0.00498, allocations: 4.953 kB / 0.7891 GB, free: 9.738 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.348e-06/0.00499, allocations: 0 / 0.7891 GB, free: 9.738 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.103e-05/0.005001, allocations: 4.688 kB / 0.7891 GB, free: 9.734 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.371e-05/0.005024, allocations: 3.984 kB / 0.7891 GB, free: 9.73 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.927e-06/0.005028, allocations: 1.062 kB / 0.7891 GB, free: 9.73 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 6.503e-05/0.005093, allocations: 119.2 kB / 0.7893 GB, free: 9.613 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.005093, allocations: 0 / 0.7893 GB, free: 9.613 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002096/0.005303, allocations: 5.094 kB / 0.7893 GB, free: 9.609 MB / 0.7448 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.0001589/0.005462, allocations: 112 kB / 0.7894 GB, free: 9.492 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 7.568e-05/0.005538, allocations: 15.62 kB / 0.7894 GB, free: 9.473 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.402e-06/0.005539, allocations: 2.219 kB / 0.7894 GB, free: 9.473 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.537e-05/0.005564, allocations: 19.67 kB / 0.7894 GB, free: 9.449 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001168/0.005681, allocations: 1.719 kB / 0.7894 GB, free: 9.449 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002058/0.005887, allocations: 80 kB / 0.7895 GB, free: 9.34 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.806e-05/0.005945, allocations: 55.36 kB / 0.7895 GB, free: 9.266 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.322e-05/0.005968, allocations: 6.781 kB / 0.7895 GB, free: 9.262 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.178e-05/0.00599, allocations: 12.44 kB / 0.7895 GB, free: 9.25 MB / 0.7448 GB Notification: Performance of SimCode: time 4.11e-07/0.00599, allocations: 1.594 kB / 0.7895 GB, free: 9.25 MB / 0.7448 GB Notification: Performance of Templates: time 0.002721/0.008712, allocations: 321.4 kB / 0.7899 GB, free: 8.949 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.Polynomial.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.Polynomial.sim & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.Polynomial -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.Polynomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_Polynomial.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.Polynomial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.834541926975362]