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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001766/0.001766, allocations: 105.8 kB / 18.84 MB, free: 3.043 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001688/0.001688, allocations: 189 kB / 22.11 MB, free: 5.156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.477/1.477, allocations: 225.6 MB / 250.8 MB, free: 13.06 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.142/3.142, allocations: 495.8 MB / 0.783 GB, free: 33.44 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/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.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: Performance of FrontEnd - loaded program: time 0.002039/0.002039, allocations: 64.61 kB / 1.137 GB, free: 33.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3797/0.3817, allocations: 173.6 MB / 1.307 GB, free: 1.809 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Polynomial): time 0.002877/0.3846, allocations: 1.463 MB / 1.308 GB, free: 344 kB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0003515/0.385, allocations: 91.75 kB / 1.308 GB, free: 252 kB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.804e-05/0.385, allocations: 0 / 1.308 GB, free: 252 kB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 5.955e-05/0.3851, allocations: 0 / 1.308 GB, free: 252 kB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 4.569e-05/0.3851, allocations: 15.91 kB / 1.308 GB, free: 236 kB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002805/0.3854, allocations: 15.92 kB / 1.308 GB, free: 220 kB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 8.217e-05/0.3855, allocations: 23.92 kB / 1.308 GB, free: 196 kB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.989e-05/0.3856, allocations: 4 kB / 1.308 GB, free: 192 kB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.933e-05/0.3856, allocations: 15.98 kB / 1.308 GB, free: 176 kB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.233e-05/0.3856, allocations: 11.94 kB / 1.308 GB, free: 164 kB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.209e-05/0.3856, allocations: 0 / 1.308 GB, free: 164 kB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.722e-05/0.3857, allocations: 27.91 kB / 1.308 GB, free: 136 kB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 4.094e-05/0.3858, allocations: 4 kB / 1.308 GB, free: 132 kB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.186e-05/0.3858, allocations: 19.91 kB / 1.308 GB, free: 112 kB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001303/0.3859, allocations: 27.84 kB / 1.308 GB, free: 84 kB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.3859, allocations: 0 / 1.308 GB, free: 84 kB / 0.9981 GB Notification: Performance of FrontEnd: time 1.432e-06/0.3859, allocations: 4 kB / 1.308 GB, free: 80 kB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.62e-06/0.386, allocations: 0 / 1.308 GB, free: 80 kB / 0.9981 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.0004934/0.3864, allocations: 278.2 kB / 1.309 GB, free: 15.77 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.3865, allocations: 8.031 kB / 1.309 GB, free: 15.77 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.34e-05/0.3865, allocations: 0.9375 kB / 1.309 GB, free: 15.77 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000116/0.3866, allocations: 114.5 kB / 1.309 GB, free: 15.63 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.164e-05/0.3866, allocations: 4.312 kB / 1.309 GB, free: 15.62 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.634e-06/0.3867, allocations: 4.312 kB / 1.309 GB, free: 15.62 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000191/0.3868, allocations: 54.23 kB / 1.309 GB, free: 15.56 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.3869, allocations: 4.125 kB / 1.309 GB, free: 15.56 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.09e-05/0.3869, allocations: 7.938 kB / 1.309 GB, free: 15.55 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.3869, allocations: 0 / 1.309 GB, free: 15.55 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001892/0.3871, allocations: 35.95 kB / 1.309 GB, free: 15.52 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003566/0.3874, allocations: 220.1 kB / 1.309 GB, free: 15.26 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001535/0.3876, allocations: 46.48 kB / 1.309 GB, free: 15.2 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.565e-05/0.3877, allocations: 24.91 kB / 1.309 GB, free: 15.18 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 3.284e-05/0.3877, allocations: 0 / 1.309 GB, free: 15.18 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.359e-05/0.3877, allocations: 42.5 kB / 1.309 GB, free: 15.12 MB / 1.014 GB Notification: Performance of pre-optimization done (n=2): time 7.71e-07/0.3877, allocations: 0 / 1.309 GB, free: 15.12 MB / 1.014 GB Notification: Performance of matching and sorting (n=2): time 0.0004197/0.3882, allocations: 81.75 kB / 1.309 GB, free: 15.04 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.846e-05/0.3882, allocations: 63.41 kB / 1.309 GB, free: 14.96 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001032/0.3883, allocations: 101.9 kB / 1.309 GB, free: 14.86 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.858e-05/0.3883, allocations: 25.7 kB / 1.309 GB, free: 14.82 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 5.609e-05/0.3884, allocations: 88.06 kB / 1.31 GB, free: 14.73 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 1.652e-05/0.3884, allocations: 3.953 kB / 1.31 GB, free: 14.73 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.768e-05/0.3884, allocations: 17.72 kB / 1.31 GB, free: 14.71 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001539/0.3886, allocations: 310.8 kB / 1.31 GB, free: 14.39 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.998e-05/0.3887, allocations: 27.97 kB / 1.31 GB, free: 14.37 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.292e-05/0.3888, allocations: 19.92 kB / 1.31 GB, free: 14.35 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001698/0.3889, allocations: 40.83 kB / 1.31 GB, free: 14.3 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.3889, allocations: 0 / 1.31 GB, free: 14.3 MB / 1.014 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002259/0.3892, allocations: 85.59 kB / 1.31 GB, free: 14.21 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.3892, allocations: 4 kB / 1.31 GB, free: 14.21 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.3892, allocations: 0 / 1.31 GB, free: 14.21 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/0.3892, allocations: 0 / 1.31 GB, free: 14.21 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001045/0.3893, allocations: 11.98 kB / 1.31 GB, free: 14.2 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.158e-06/0.3893, allocations: 0 / 1.31 GB, free: 14.2 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.017e-05/0.3894, allocations: 8.234 kB / 1.31 GB, free: 14.19 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.781e-06/0.3894, allocations: 0 / 1.31 GB, free: 14.19 MB / 1.014 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 9.565e-05/0.3895, allocations: 117.8 kB / 1.31 GB, free: 14.07 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.336e-05/0.3895, allocations: 15.94 kB / 1.31 GB, free: 14.05 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002622/0.3898, allocations: 73.27 kB / 1.31 GB, free: 13.97 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.3898, allocations: 0 / 1.31 GB, free: 13.97 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.3898, allocations: 3.938 kB / 1.31 GB, free: 13.96 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.3898, allocations: 0 / 1.31 GB, free: 13.96 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001848/0.39, allocations: 140.7 kB / 1.31 GB, free: 13.79 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.39, allocations: 0 / 1.31 GB, free: 13.79 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.773e-05/0.39, allocations: 16.02 kB / 1.31 GB, free: 13.77 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.39, allocations: 3.938 kB / 1.31 GB, free: 13.77 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.574e-06/0.39, allocations: 0 / 1.31 GB, free: 13.77 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.91e-07/0.39, allocations: 0 / 1.31 GB, free: 13.77 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.39, allocations: 0 / 1.31 GB, free: 13.77 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002789/0.3903, allocations: 171.4 kB / 1.311 GB, free: 13.58 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 1.306e-05/0.3903, allocations: 7.969 kB / 1.311 GB, free: 13.57 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.501e-05/0.3903, allocations: 8 kB / 1.311 GB, free: 13.57 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.448e-05/0.3904, allocations: 0 / 1.311 GB, free: 13.57 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.714e-05/0.3905, allocations: 7.984 kB / 1.311 GB, free: 13.56 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.095e-06/0.3905, allocations: 0 / 1.311 GB, free: 13.56 MB / 1.014 GB Notification: Performance of sorting global known variables: time 5.982e-05/0.3905, allocations: 83.28 kB / 1.311 GB, free: 13.48 MB / 1.014 GB Notification: Performance of sort global known variables: time 8e-08/0.3905, allocations: 0 / 1.311 GB, free: 13.48 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002341/0.3908, allocations: 8 kB / 1.311 GB, free: 13.47 MB / 1.014 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.0001646/0.3909, allocations: 108 kB / 1.311 GB, free: 13.36 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0002413/0.3912, allocations: 35.97 kB / 1.311 GB, free: 13.32 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.3912, allocations: 0 / 1.311 GB, free: 13.32 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 9.677e-05/0.3913, allocations: 31.91 kB / 1.311 GB, free: 13.29 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002956/0.3916, allocations: 4.719 kB / 1.311 GB, free: 13.29 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003361/0.3919, allocations: 121.7 kB / 1.311 GB, free: 13.14 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003474/0.3922, allocations: 0.6807 MB / 1.312 GB, free: 12.43 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 2.236e-05/0.3923, allocations: 0 / 1.312 GB, free: 12.43 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.367e-05/0.3923, allocations: 7.438 kB / 1.312 GB, free: 12.43 MB / 1.014 GB Notification: Performance of SimCode: time 2.81e-07/0.3923, allocations: 0 / 1.312 GB, free: 12.43 MB / 1.014 GB Notification: Performance of Templates: time 0.003267/0.3956, allocations: 0.5495 MB / 1.312 GB, free: 11.88 MB / 1.014 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.834767522290349]