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.001801/0.001801, allocations: 80.41 kB / 20.23 MB, free: 4.203 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.001795/0.001795, allocations: 161.7 kB / 23.55 MB, free: 0.8945 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.492/1.492, allocations: 177.2 MB / 203.9 MB, free: 5.582 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.728/2.728, allocations: 359 MB / 0.6048 GB, free: 10.96 MB / 0.573 GB " [Timeout remaining time 177] 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.453e-06/1.453e-06, allocations: 0 / 0.7864 GB, free: 12.78 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.871e-05/3.017e-05, allocations: 4.75 kB / 0.7864 GB, free: 12.78 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Polynomial): time 0.001686/0.001716, allocations: 0.6014 MB / 0.787 GB, free: 12.19 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.000238/0.001954, allocations: 37.14 kB / 0.7871 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.096e-05/0.001965, allocations: 0 / 0.7871 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 1.162e-05/0.001976, allocations: 0 / 0.7871 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 5.35e-06/0.001982, allocations: 0 / 0.7871 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002872/0.002269, allocations: 13.59 kB / 0.7871 GB, free: 12.14 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 3.951e-05/0.002309, allocations: 4 kB / 0.7871 GB, free: 12.14 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.627e-05/0.002345, allocations: 0 / 0.7871 GB, free: 12.14 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 2.357e-05/0.002368, allocations: 0 / 0.7871 GB, free: 12.14 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 2.777e-05/0.002396, allocations: 4.969 kB / 0.7871 GB, free: 12.14 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.087e-05/0.002407, allocations: 0 / 0.7871 GB, free: 12.14 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001025/0.002509, allocations: 27.84 kB / 0.7871 GB, free: 12.11 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 8.406e-06/0.002518, allocations: 0.625 kB / 0.7871 GB, free: 12.11 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.867e-05/0.002537, allocations: 1.406 kB / 0.7871 GB, free: 12.11 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001038/0.00264, allocations: 23.95 kB / 0.7871 GB, free: 12.09 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.104e-06/0.002642, allocations: 0 / 0.7871 GB, free: 12.09 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.01e-07/0.002643, allocations: 0 / 0.7871 GB, free: 12.09 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.438e-06/0.002647, allocations: 1.188 kB / 0.7871 GB, free: 12.09 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.0003402/0.002988, allocations: 234.4 kB / 0.7873 GB, free: 11.82 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.479e-05/0.003022, allocations: 8.031 kB / 0.7874 GB, free: 11.82 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.561e-05/0.003068, allocations: 10 kB / 0.7874 GB, free: 11.81 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001066/0.003175, allocations: 105.8 kB / 0.7875 GB, free: 11.68 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.193e-05/0.003187, allocations: 384 / 0.7875 GB, free: 11.68 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.562e-06/0.003193, allocations: 1.625 kB / 0.7875 GB, free: 11.68 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.026e-05/0.003283, allocations: 30.27 kB / 0.7875 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.003291, allocations: 192 / 0.7875 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.414e-06/0.003299, allocations: 1.094 kB / 0.7875 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.003303, allocations: 4.312 kB / 0.7875 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.942e-05/0.003322, allocations: 5.594 kB / 0.7875 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001444/0.003467, allocations: 105.2 kB / 0.7876 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 5.219e-05/0.003519, allocations: 22.56 kB / 0.7876 GB, free: 11.47 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.059e-05/0.003539, allocations: 8.953 kB / 0.7876 GB, free: 11.46 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.286e-05/0.003572, allocations: 1.188 kB / 0.7876 GB, free: 11.46 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.31e-05/0.003615, allocations: 34.56 kB / 0.7877 GB, free: 11.42 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=1): time 8.61e-07/0.003616, allocations: 0 / 0.7877 GB, free: 11.42 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1): time 0.0001512/0.003767, allocations: 35.23 kB / 0.7877 GB, free: 11.38 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.724e-05/0.003815, allocations: 51.41 kB / 0.7878 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.007e-05/0.003875, allocations: 89.86 kB / 0.7878 GB, free: 11.22 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.829e-05/0.003893, allocations: 27.17 kB / 0.7879 GB, free: 11.19 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.88e-05/0.003942, allocations: 88.14 kB / 0.788 GB, free: 11.1 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.498e-05/0.003967, allocations: 3.984 kB / 0.788 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.1e-05/0.003998, allocations: 9.719 kB / 0.788 GB, free: 11.08 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002903/0.004288, allocations: 321.6 kB / 0.7883 GB, free: 10.76 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.639e-06/0.004298, allocations: 0 / 0.7883 GB, free: 10.76 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.031e-06/0.004304, allocations: 0 / 0.7883 GB, free: 10.76 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.946e-05/0.004343, allocations: 16.8 kB / 0.7883 GB, free: 10.74 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.004345, allocations: 0 / 0.7883 GB, free: 10.74 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.693e-05/0.004412, allocations: 41.69 kB / 0.7883 GB, free: 10.69 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.254e-05/0.004424, allocations: 4.531 kB / 0.7883 GB, free: 10.69 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.004429, allocations: 0 / 0.7883 GB, free: 10.69 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.692e-05/0.004446, allocations: 0.7188 kB / 0.7883 GB, free: 10.69 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.065e-05/0.004496, allocations: 4 kB / 0.7883 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.365e-05/0.00451, allocations: 0.5312 kB / 0.7883 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.638e-05/0.004527, allocations: 9.219 kB / 0.7883 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.185e-05/0.004538, allocations: 0 / 0.7883 GB, free: 10.68 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 8.798e-05/0.004626, allocations: 109.8 kB / 0.7885 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.785e-06/0.004634, allocations: 0.5312 kB / 0.7885 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001084/0.004743, allocations: 46 kB / 0.7885 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/0.004747, allocations: 5.156 kB / 0.7885 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.00475, allocations: 0 / 0.7885 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.004752, allocations: 0 / 0.7885 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.961e-05/0.004842, allocations: 98.55 kB / 0.7886 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/0.004843, allocations: 0 / 0.7886 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.523e-05/0.004868, allocations: 7.984 kB / 0.7886 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.462e-06/0.004869, allocations: 0 / 0.7886 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.049e-06/0.004874, allocations: 1.75 kB / 0.7886 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.71e-07/0.004875, allocations: 0 / 0.7886 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.004876, allocations: 0 / 0.7886 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.874e-05/0.004965, allocations: 61.08 kB / 0.7887 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 6.262e-06/0.004971, allocations: 9.859 kB / 0.7887 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.164e-05/0.004983, allocations: 4 kB / 0.7887 GB, free: 10.28 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.146e-05/0.004994, allocations: 0 / 0.7887 GB, free: 10.28 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.211e-05/0.005006, allocations: 0 / 0.7887 GB, free: 10.28 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.447e-06/0.00501, allocations: 0 / 0.7887 GB, free: 10.28 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.279e-05/0.005053, allocations: 76.09 kB / 0.7887 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.005053, allocations: 0 / 0.7887 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001996/0.005252, allocations: 8 kB / 0.7888 GB, free: 10.2 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.0001687/0.005421, allocations: 102.6 kB / 0.7889 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 6.475e-05/0.005486, allocations: 7.984 kB / 0.7889 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.005487, allocations: 0 / 0.7889 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.048e-05/0.005498, allocations: 4 kB / 0.7889 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001323/0.00563, allocations: 1.547 kB / 0.7889 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002204/0.005851, allocations: 86.23 kB / 0.7889 GB, free: 9.969 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.419e-05/0.005905, allocations: 55.98 kB / 0.789 GB, free: 9.895 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.69e-05/0.005932, allocations: 10.23 kB / 0.789 GB, free: 9.887 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.217e-05/0.005964, allocations: 8.5 kB / 0.789 GB, free: 9.879 MB / 0.7448 GB Notification: Performance of SimCode: time 3.71e-07/0.005964, allocations: 1.875 kB / 0.789 GB, free: 9.879 MB / 0.7448 GB Notification: Performance of Templates: time 0.002631/0.008595, allocations: 319.8 kB / 0.7893 GB, free: 9.582 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=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1) [Timeout 400] 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.4808031130814925]