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.001059/0.001059, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001063/0.001063, allocations: 169 kB / 24.28 MB, free: 276 kB / 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 0.9992/0.9992, allocations: 177.1 MB / 204.6 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 179] 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 1.81/1.81, allocations: 359 MB / 0.6055 GB, free: 11.02 MB / 0.573 GB " [Timeout remaining time 178] 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.733e-06/1.733e-06, allocations: 0 / 0.7871 GB, free: 12.75 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.649e-05/2.822e-05, allocations: 6.875 kB / 0.7872 GB, free: 12.75 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Polynomial): time 0.001459/0.001487, allocations: 0.6014 MB / 0.7877 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0001519/0.001639, allocations: 32.45 kB / 0.7878 GB, free: 12.13 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.243e-05/0.001651, allocations: 1.188 kB / 0.7878 GB, free: 12.13 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 1.008e-05/0.001661, allocations: 0 / 0.7878 GB, free: 12.13 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 3.747e-06/0.001665, allocations: 0 / 0.7878 GB, free: 12.13 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002196/0.001885, allocations: 16.55 kB / 0.7878 GB, free: 12.11 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 3.075e-05/0.001916, allocations: 0.5625 kB / 0.7878 GB, free: 12.11 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 2.395e-05/0.001939, allocations: 0 / 0.7878 GB, free: 12.11 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 1.838e-05/0.001958, allocations: 9.094 kB / 0.7878 GB, free: 12.11 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 1.685e-05/0.001975, allocations: 0 / 0.7878 GB, free: 12.11 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.048e-05/0.001985, allocations: 3.984 kB / 0.7878 GB, free: 12.1 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 7.617e-05/0.002061, allocations: 20.84 kB / 0.7878 GB, free: 12.08 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 6.642e-06/0.002068, allocations: 3.938 kB / 0.7878 GB, free: 12.08 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.012e-05/0.002078, allocations: 0.5938 kB / 0.7878 GB, free: 12.08 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 7.723e-05/0.002155, allocations: 19.97 kB / 0.7878 GB, free: 12.06 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.793e-06/0.002157, allocations: 1.25 kB / 0.7878 GB, free: 12.06 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.42e-07/0.002158, allocations: 0 / 0.7878 GB, free: 12.06 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.457e-06/0.002161, allocations: 0 / 0.7878 GB, free: 12.06 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.0002243/0.002386, allocations: 337.1 kB / 0.7882 GB, free: 11.69 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.414e-05/0.00242, allocations: 12.03 kB / 0.7882 GB, free: 11.68 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.049e-05/0.00244, allocations: 1.844 kB / 0.7882 GB, free: 11.68 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.59e-05/0.002506, allocations: 108.6 kB / 0.7883 GB, free: 11.55 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.284e-06/0.002513, allocations: 384 / 0.7883 GB, free: 11.55 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.541e-06/0.002519, allocations: 1.406 kB / 0.7883 GB, free: 11.55 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.014e-05/0.002569, allocations: 34.27 kB / 0.7883 GB, free: 11.51 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.557e-06/0.002573, allocations: 0.875 kB / 0.7883 GB, free: 11.51 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.811e-06/0.002579, allocations: 384 / 0.7883 GB, free: 11.51 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.002583, allocations: 3.031 kB / 0.7883 GB, free: 11.51 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.401e-05/0.002597, allocations: 11.88 kB / 0.7883 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.837e-05/0.002675, allocations: 104.6 kB / 0.7884 GB, free: 11.36 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 3.124e-05/0.002706, allocations: 27.09 kB / 0.7885 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.473e-05/0.002721, allocations: 11.67 kB / 0.7885 GB, free: 11.3 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.47e-05/0.002746, allocations: 0 / 0.7885 GB, free: 11.3 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.071e-05/0.002767, allocations: 37.45 kB / 0.7885 GB, free: 11.26 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=1): time 6.01e-07/0.002767, allocations: 5.5 kB / 0.7885 GB, free: 11.25 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1): time 7.744e-05/0.002845, allocations: 37.64 kB / 0.7885 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.39e-05/0.002869, allocations: 51.41 kB / 0.7886 GB, free: 11.15 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.446e-05/0.002913, allocations: 142.8 kB / 0.7887 GB, free: 11 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.149e-05/0.002924, allocations: 31.33 kB / 0.7888 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.516e-05/0.00296, allocations: 126.9 kB / 0.7889 GB, free: 10.83 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.821e-05/0.002978, allocations: 0 / 0.7889 GB, free: 10.83 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.141e-05/0.003009, allocations: 19.36 kB / 0.7889 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001332/0.003142, allocations: 0.4922 MB / 0.7894 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.142e-06/0.003149, allocations: 0.5938 kB / 0.7894 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.589e-06/0.003153, allocations: 0.625 kB / 0.7894 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.691e-05/0.00318, allocations: 12.44 kB / 0.7894 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.003181, allocations: 0 / 0.7894 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.858e-05/0.00322, allocations: 34.73 kB / 0.7894 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.13e-05/0.003231, allocations: 11.98 kB / 0.7894 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.785e-06/0.003234, allocations: 1.375 kB / 0.7894 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.193e-06/0.003241, allocations: 0 / 0.7894 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.995e-05/0.003271, allocations: 0 / 0.7894 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.045e-06/0.003274, allocations: 4 kB / 0.7894 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.457e-06/0.003284, allocations: 5.812 kB / 0.7895 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.107e-05/0.003295, allocations: 0 / 0.7895 GB, free: 10.23 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 6.5e-05/0.00336, allocations: 152.6 kB / 0.7896 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.003e-06/0.003367, allocations: 8.344 kB / 0.7896 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.107e-05/0.003438, allocations: 42.16 kB / 0.7896 GB, free: 10.01 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.01e-07/0.003439, allocations: 0.5 kB / 0.7896 GB, free: 10.01 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.883e-06/0.00344, allocations: 0 / 0.7896 GB, free: 10.01 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.003444, allocations: 4.531 kB / 0.7897 GB, free: 10.01 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.098e-05/0.003505, allocations: 114.4 kB / 0.7898 GB, free: 9.863 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.003506, allocations: 0 / 0.7898 GB, free: 9.863 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.108e-05/0.003517, allocations: 7.984 kB / 0.7898 GB, free: 9.855 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.052e-06/0.003518, allocations: 4 kB / 0.7898 GB, free: 9.852 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.696e-06/0.003522, allocations: 0 / 0.7898 GB, free: 9.852 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.01e-07/0.003522, allocations: 2.562 kB / 0.7898 GB, free: 9.852 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.003523, allocations: 0 / 0.7898 GB, free: 9.852 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.394e-05/0.003577, allocations: 72.39 kB / 0.7898 GB, free: 9.758 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.196e-06/0.00358, allocations: 0 / 0.7898 GB, free: 9.758 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.877e-06/0.003589, allocations: 7.922 kB / 0.7899 GB, free: 9.75 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.063e-06/0.003596, allocations: 0 / 0.7899 GB, free: 9.75 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.632e-05/0.003612, allocations: 11.92 kB / 0.7899 GB, free: 9.738 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.178e-06/0.003616, allocations: 0.5312 kB / 0.7899 GB, free: 9.738 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.159e-05/0.003648, allocations: 119.9 kB / 0.79 GB, free: 9.621 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.003648, allocations: 0 / 0.79 GB, free: 9.621 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001494/0.003797, allocations: 4.531 kB / 0.79 GB, free: 9.617 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 9.169e-05/0.003889, allocations: 114.5 kB / 0.7901 GB, free: 9.5 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 5.056e-05/0.00394, allocations: 20.36 kB / 0.7901 GB, free: 9.477 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.272e-06/0.003941, allocations: 0 / 0.7901 GB, free: 9.477 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 9.728e-06/0.003951, allocations: 12.72 kB / 0.7901 GB, free: 9.461 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001098/0.00406, allocations: 0 / 0.7901 GB, free: 9.461 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001414/0.004202, allocations: 84.8 kB / 0.7902 GB, free: 9.348 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.657e-05/0.004228, allocations: 51.36 kB / 0.7903 GB, free: 9.277 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.568e-05/0.004244, allocations: 2.531 kB / 0.7903 GB, free: 9.277 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.724e-05/0.004261, allocations: 20.42 kB / 0.7903 GB, free: 9.258 MB / 0.7448 GB Notification: Performance of SimCode: time 4.11e-07/0.004262, allocations: 2.062 kB / 0.7903 GB, free: 9.258 MB / 0.7448 GB Notification: Performance of Templates: time 0.001412/0.005674, allocations: 318.8 kB / 0.7906 GB, free: 8.957 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.154197688912973]