Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.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.001819/0.001819, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 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.002154/0.002154, allocations: 210.5 kB / 22.24 MB, free: 4.859 MB / 14.72 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.483/1.483, allocations: 230.6 MB / 256 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.276/3.276, allocations: 0.4892 GB / 0.7943 GB, free: 35.45 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.Examples.Polynomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|polynominal.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.Polynomial") translateModel(Buildings.Utilities.Math.Examples.Polynomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|polynominal.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.Polynomial") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002064/0.002064, allocations: 70 kB / 1.154 GB, free: 25.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3401/0.3421, allocations: 176.1 MB / 1.326 GB, free: 1.906 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Polynomial): time 0.002581/0.3447, allocations: 1.459 MB / 1.327 GB, free: 452 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0003136/0.345, allocations: 91.75 kB / 1.327 GB, free: 360 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.389e-05/0.345, allocations: 0 / 1.327 GB, free: 360 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 5.468e-05/0.3451, allocations: 3.938 kB / 1.327 GB, free: 356 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 3.609e-05/0.3451, allocations: 11.92 kB / 1.327 GB, free: 344 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002395/0.3454, allocations: 15.98 kB / 1.327 GB, free: 328 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 5.93e-05/0.3454, allocations: 27.86 kB / 1.327 GB, free: 300 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 7.936e-05/0.3455, allocations: 4 kB / 1.327 GB, free: 296 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 2.422e-05/0.3455, allocations: 8 kB / 1.327 GB, free: 288 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 4.172e-05/0.3456, allocations: 19.91 kB / 1.327 GB, free: 268 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.032e-05/0.3456, allocations: 0 / 1.327 GB, free: 268 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 8.329e-05/0.3457, allocations: 19.97 kB / 1.327 GB, free: 248 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 3.517e-05/0.3457, allocations: 4 kB / 1.327 GB, free: 244 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.038e-05/0.3457, allocations: 7.938 kB / 1.327 GB, free: 236 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001462/0.3459, allocations: 43.77 kB / 1.327 GB, free: 192 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.3459, allocations: 4 kB / 1.327 GB, free: 188 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.152e-06/0.3459, allocations: 0 / 1.327 GB, free: 188 kB / 1.014 GB Notification: Performance of Transformations before backend: time 7.464e-06/0.3459, allocations: 0 / 1.327 GB, free: 188 kB / 1.014 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.0004712/0.3463, allocations: 270.3 kB / 1.327 GB, free: 15.89 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/0.3464, allocations: 12.02 kB / 1.327 GB, free: 15.88 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.849e-05/0.3464, allocations: 4.891 kB / 1.327 GB, free: 15.87 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001121/0.3465, allocations: 106.5 kB / 1.328 GB, free: 15.74 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.744e-06/0.3465, allocations: 384 / 1.328 GB, free: 15.74 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.214e-05/0.3465, allocations: 384 / 1.328 GB, free: 15.74 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001736/0.3467, allocations: 58.23 kB / 1.328 GB, free: 15.68 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.276e-06/0.3467, allocations: 192 / 1.328 GB, free: 15.68 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.478e-06/0.3467, allocations: 3.938 kB / 1.328 GB, free: 15.68 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.576e-06/0.3467, allocations: 3.938 kB / 1.328 GB, free: 15.67 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001686/0.3469, allocations: 39.89 kB / 1.328 GB, free: 15.63 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003025/0.3472, allocations: 200.6 kB / 1.328 GB, free: 15.41 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001345/0.3473, allocations: 42.59 kB / 1.328 GB, free: 15.36 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.318e-05/0.3474, allocations: 24.91 kB / 1.328 GB, free: 15.33 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.313e-05/0.3475, allocations: 7.938 kB / 1.328 GB, free: 15.32 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.368e-05/0.3475, allocations: 38.55 kB / 1.328 GB, free: 15.27 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.3475, allocations: 0 / 1.328 GB, free: 15.27 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0003608/0.3479, allocations: 89.53 kB / 1.328 GB, free: 15.18 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.782e-05/0.3479, allocations: 51.41 kB / 1.328 GB, free: 15.12 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001032/0.348, allocations: 109.9 kB / 1.328 GB, free: 15 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.693e-05/0.348, allocations: 29.83 kB / 1.328 GB, free: 14.96 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.789e-05/0.3481, allocations: 92.06 kB / 1.328 GB, free: 14.87 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.577e-05/0.3481, allocations: 3.953 kB / 1.328 GB, free: 14.87 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.137e-05/0.3481, allocations: 13.72 kB / 1.328 GB, free: 14.85 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000152/0.3483, allocations: 314.8 kB / 1.329 GB, free: 14.53 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.12e-05/0.3484, allocations: 19.97 kB / 1.329 GB, free: 14.51 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.202e-05/0.3484, allocations: 15.98 kB / 1.329 GB, free: 14.5 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000165/0.3486, allocations: 52.81 kB / 1.329 GB, free: 14.44 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.3486, allocations: 0 / 1.329 GB, free: 14.44 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002034/0.3488, allocations: 69.61 kB / 1.329 GB, free: 14.37 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/0.3488, allocations: 7.938 kB / 1.329 GB, free: 14.36 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-06/0.3488, allocations: 4 kB / 1.329 GB, free: 14.36 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.879e-05/0.3489, allocations: 3.984 kB / 1.329 GB, free: 14.35 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.4e-05/0.3489, allocations: 4 kB / 1.329 GB, free: 14.35 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.3489, allocations: 4.031 kB / 1.329 GB, free: 14.34 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.808e-05/0.349, allocations: 7.984 kB / 1.329 GB, free: 14.34 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.258e-06/0.349, allocations: 0 / 1.329 GB, free: 14.34 MB / 1.029 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 8.516e-05/0.3491, allocations: 110.4 kB / 1.329 GB, free: 14.22 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.166e-05/0.3491, allocations: 15.89 kB / 1.329 GB, free: 14.2 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002492/0.3494, allocations: 81.19 kB / 1.329 GB, free: 14.11 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.3494, allocations: 0 / 1.329 GB, free: 14.11 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.3494, allocations: 0 / 1.329 GB, free: 14.11 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.073e-06/0.3494, allocations: 4.031 kB / 1.329 GB, free: 14.11 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001667/0.3495, allocations: 109.3 kB / 1.329 GB, free: 13.97 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.3495, allocations: 0 / 1.329 GB, free: 13.97 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.699e-05/0.3496, allocations: 7.938 kB / 1.329 GB, free: 13.96 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.3496, allocations: 7.938 kB / 1.329 GB, free: 13.95 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.933e-06/0.3496, allocations: 0 / 1.329 GB, free: 13.95 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.3496, allocations: 3.984 kB / 1.329 GB, free: 13.95 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.3496, allocations: 0 / 1.329 GB, free: 13.95 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002787/0.3499, allocations: 171.5 kB / 1.329 GB, free: 13.77 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 9.037e-06/0.3499, allocations: 3.938 kB / 1.329 GB, free: 13.76 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.297e-05/0.3499, allocations: 0 / 1.329 GB, free: 13.76 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.717e-05/0.35, allocations: 8.234 kB / 1.329 GB, free: 13.75 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.074e-05/0.35, allocations: 8 kB / 1.329 GB, free: 13.75 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.169e-06/0.35, allocations: 4 kB / 1.329 GB, free: 13.74 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.388e-05/0.3501, allocations: 79.28 kB / 1.329 GB, free: 13.66 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3501, allocations: 0 / 1.329 GB, free: 13.66 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002373/0.3503, allocations: 15.98 kB / 1.329 GB, free: 13.65 MB / 1.029 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.000153/0.3505, allocations: 103.2 kB / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002191/0.3507, allocations: 43.95 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.3507, allocations: 4 kB / 1.33 GB, free: 13.49 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 9.134e-05/0.3508, allocations: 23.92 kB / 1.33 GB, free: 13.47 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002644/0.3511, allocations: 1.875 kB / 1.33 GB, free: 13.47 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000285/0.3513, allocations: 109.5 kB / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.633e-05/0.3514, allocations: 67.47 kB / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.162e-05/0.3514, allocations: 0 / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.593e-05/0.3515, allocations: 11.44 kB / 1.33 GB, free: 13.24 MB / 1.029 GB Notification: Performance of SimCode: time 3e-07/0.3515, allocations: 0 / 1.33 GB, free: 13.24 MB / 1.029 GB Notification: Performance of Templates: time 0.003139/0.3546, allocations: 0.5788 MB / 1.33 GB, free: 12.67 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.Polynomial.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.Polynomial.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.Polynomial.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.Polynomial.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.Polynomial.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.Polynomial -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.Polynomial.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.Polynomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_Polynomial.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.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: 8.936480604112148]