Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0009465/0.0009465, allocations: 81.86 kB / 20.68 MB, free: 3.82 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.001/0.001, allocations: 181 kB / 24.09 MB, free: 420 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.952/0.952, allocations: 177.1 MB / 204.5 MB, free: 5.523 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.803/1.803, allocations: 359 MB / 0.6055 GB, free: 10.88 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.Examples.Polynomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|polynominal.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.Polynomial") translateModel(Buildings.Utilities.Math.Examples.Polynomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|polynominal.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.Polynomial") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.264e-06/2.264e-06, allocations: 0 / 0.7876 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.518e-05/2.744e-05, allocations: 2.312 kB / 0.7876 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Polynomial): time 0.002689/0.002716, allocations: 1.494 MB / 0.789 GB, free: 10.72 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0003183/0.003035, allocations: 92.34 kB / 0.7891 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.421e-05/0.003069, allocations: 4 kB / 0.7891 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 6.693e-05/0.003136, allocations: 4.828 kB / 0.7891 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 4.304e-05/0.003179, allocations: 3.938 kB / 0.7891 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002831/0.003462, allocations: 20.48 kB / 0.7891 GB, free: 10.6 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 6.617e-05/0.003528, allocations: 25.17 kB / 0.7892 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 8.736e-05/0.003615, allocations: 4 kB / 0.7892 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 4.421e-05/0.00366, allocations: 11.98 kB / 0.7892 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.443e-05/0.003704, allocations: 15.92 kB / 0.7892 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.373e-05/0.003718, allocations: 1.594 kB / 0.7892 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 9.489e-05/0.003813, allocations: 19.97 kB / 0.7892 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.367e-05/0.003846, allocations: 7.984 kB / 0.7892 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.572e-05/0.003862, allocations: 4 kB / 0.7892 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001222/0.003984, allocations: 41.05 kB / 0.7893 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.014e-06/0.003986, allocations: 0 / 0.7893 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.12e-07/0.003987, allocations: 0 / 0.7893 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.699e-06/0.003992, allocations: 4.688 kB / 0.7893 GB, free: 10.47 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003481/0.00434, allocations: 368.6 kB / 0.7896 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.004381, allocations: 8.938 kB / 0.7896 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.682e-05/0.004418, allocations: 4.938 kB / 0.7896 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.614e-05/0.004514, allocations: 109.2 kB / 0.7897 GB, free: 9.926 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.337e-05/0.004528, allocations: 4.375 kB / 0.7897 GB, free: 9.922 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.404e-06/0.004535, allocations: 1.969 kB / 0.7897 GB, free: 9.922 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001163/0.004651, allocations: 58.94 kB / 0.7898 GB, free: 9.855 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.003e-06/0.004658, allocations: 192 / 0.7898 GB, free: 9.855 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.434e-06/0.004666, allocations: 384 / 0.7898 GB, free: 9.855 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.004671, allocations: 1.438 kB / 0.7898 GB, free: 9.855 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.29e-05/0.004694, allocations: 7.938 kB / 0.7898 GB, free: 9.848 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000248/0.004942, allocations: 236.4 kB / 0.79 GB, free: 9.59 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 4.871e-05/0.00499, allocations: 30.25 kB / 0.7901 GB, free: 9.551 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.587e-05/0.005006, allocations: 7.688 kB / 0.7901 GB, free: 9.539 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 4.07e-05/0.005047, allocations: 8 kB / 0.7901 GB, free: 9.531 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.497e-05/0.005072, allocations: 33.39 kB / 0.7901 GB, free: 9.488 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 1.713e-06/0.005074, allocations: 0 / 0.7901 GB, free: 9.488 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0001343/0.005208, allocations: 53.56 kB / 0.7902 GB, free: 9.43 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.114e-05/0.005239, allocations: 51.41 kB / 0.7902 GB, free: 9.367 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.827e-05/0.005327, allocations: 170.6 kB / 0.7904 GB, free: 9.184 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.09e-05/0.005338, allocations: 27.36 kB / 0.7904 GB, free: 9.152 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.942e-05/0.005388, allocations: 130.9 kB / 0.7905 GB, free: 9.02 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.928e-05/0.005407, allocations: 7.891 kB / 0.7905 GB, free: 9.012 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.277e-05/0.00544, allocations: 19.38 kB / 0.7905 GB, free: 8.984 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000129/0.005569, allocations: 496.1 kB / 0.791 GB, free: 8.488 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.446e-05/0.005583, allocations: 9.594 kB / 0.791 GB, free: 8.48 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.166e-05/0.005595, allocations: 3.984 kB / 0.791 GB, free: 8.477 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.971e-05/0.005625, allocations: 11.69 kB / 0.791 GB, free: 8.461 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.005626, allocations: 1.344 kB / 0.791 GB, free: 8.461 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.616e-05/0.005692, allocations: 45.59 kB / 0.7911 GB, free: 8.41 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.005709, allocations: 9.719 kB / 0.7911 GB, free: 8.402 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.005714, allocations: 1.688 kB / 0.7911 GB, free: 8.402 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.005728, allocations: 3.938 kB / 0.7911 GB, free: 8.398 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.43e-05/0.005782, allocations: 7.984 kB / 0.7911 GB, free: 8.391 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.595e-06/0.005784, allocations: 0 / 0.7911 GB, free: 8.391 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.058e-05/0.005805, allocations: 4.906 kB / 0.7911 GB, free: 8.387 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.416e-06/0.005808, allocations: 0 / 0.7911 GB, free: 8.387 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 (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 7.249e-05/0.005881, allocations: 153.1 kB / 0.7913 GB, free: 8.227 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.007e-05/0.005901, allocations: 4.5 kB / 0.7913 GB, free: 8.223 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.511e-05/0.005996, allocations: 49.78 kB / 0.7913 GB, free: 8.172 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.006, allocations: 3.938 kB / 0.7913 GB, free: 8.168 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.923e-06/0.006002, allocations: 1.156 kB / 0.7913 GB, free: 8.168 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.006005, allocations: 0 / 0.7913 GB, free: 8.168 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001159/0.006121, allocations: 101.2 kB / 0.7914 GB, free: 8.043 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.006122, allocations: 0.5 kB / 0.7914 GB, free: 8.043 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.624e-05/0.006148, allocations: 4.531 kB / 0.7914 GB, free: 8.039 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.447e-06/0.006152, allocations: 5.375 kB / 0.7914 GB, free: 8.035 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.168e-06/0.006156, allocations: 0 / 0.7914 GB, free: 8.035 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.015e-06/0.006159, allocations: 3.984 kB / 0.7914 GB, free: 8.031 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.00616, allocations: 0 / 0.7914 GB, free: 8.031 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001148/0.006275, allocations: 189 kB / 0.7916 GB, free: 7.828 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.576e-06/0.006283, allocations: 7.984 kB / 0.7916 GB, free: 7.82 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.245e-06/0.006292, allocations: 3.938 kB / 0.7916 GB, free: 7.816 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.923e-05/0.006341, allocations: 9.172 kB / 0.7916 GB, free: 7.809 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.764e-05/0.006369, allocations: 0 / 0.7916 GB, free: 7.809 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.2e-06/0.006374, allocations: 8.75 kB / 0.7916 GB, free: 7.801 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.505e-05/0.006419, allocations: 131.2 kB / 0.7918 GB, free: 7.672 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.006419, allocations: 0.9375 kB / 0.7918 GB, free: 7.672 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002115/0.00663, allocations: 8 kB / 0.7918 GB, free: 7.664 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 (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.0001428/0.006773, allocations: 96.59 kB / 0.7919 GB, free: 7.562 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 6.659e-05/0.00684, allocations: 19.62 kB / 0.7919 GB, free: 7.539 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.006841, allocations: 0.875 kB / 0.7919 GB, free: 7.539 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.924e-05/0.006861, allocations: 15.67 kB / 0.7919 GB, free: 7.52 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002326/0.007093, allocations: 10.28 kB / 0.7919 GB, free: 7.512 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002549/0.007348, allocations: 122.2 kB / 0.792 GB, free: 7.363 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.695e-05/0.007385, allocations: 55.3 kB / 0.7921 GB, free: 7.289 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.226e-05/0.007407, allocations: 11.42 kB / 0.7921 GB, free: 7.281 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.537e-05/0.007453, allocations: 66.2 kB / 0.7921 GB, free: 7.215 MB / 0.7448 GB Notification: Performance of SimCode: time 6.71e-07/0.007453, allocations: 0 / 0.7921 GB, free: 7.215 MB / 0.7448 GB Notification: Performance of Templates: time 0.002604/0.01006, allocations: 0.6376 MB / 0.7928 GB, free: 6.598 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.Polynomial.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.Polynomial.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.Polynomial.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.Polynomial.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.Polynomial.sim & ./Buildings_11_Buildings.Utilities.Math.Examples.Polynomial -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.Polynomial.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.Polynomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_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: 4.85537157766521]