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.0008095/0.0008095, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.0009245/0.0009245, allocations: 161 kB / 23.82 MB, free: 0.7539 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 0.9916/0.9916, allocations: 177.1 MB / 204.2 MB, free: 5.633 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.863/1.863, allocations: 359 MB / 0.6052 GB, free: 11.01 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 1.733e-06/1.733e-06, allocations: 0 / 0.7871 GB, free: 12.47 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.436e-05/2.609e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.47 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Polynomial): time 0.002341/0.002367, allocations: 1.485 MB / 0.7886 GB, free: 10.99 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0002829/0.00265, allocations: 93.31 kB / 0.7886 GB, free: 10.9 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.869e-05/0.002679, allocations: 3.938 kB / 0.7886 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 7.109e-05/0.00275, allocations: 5.391 kB / 0.7886 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 4.788e-05/0.002798, allocations: 3.938 kB / 0.7887 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002861/0.003084, allocations: 19.92 kB / 0.7887 GB, free: 10.87 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 6.36e-05/0.003148, allocations: 24.98 kB / 0.7887 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 8.779e-05/0.003235, allocations: 7.984 kB / 0.7887 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 3.699e-05/0.003272, allocations: 11.98 kB / 0.7887 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 3.771e-05/0.00331, allocations: 9.547 kB / 0.7887 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.444e-05/0.003324, allocations: 0 / 0.7887 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 8.921e-05/0.003414, allocations: 19.98 kB / 0.7887 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 4.158e-05/0.003455, allocations: 11.92 kB / 0.7888 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.908e-05/0.003474, allocations: 4.906 kB / 0.7888 GB, free: 10.78 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001262/0.0036, allocations: 35.88 kB / 0.7888 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.003605, allocations: 4.719 kB / 0.7888 GB, free: 10.74 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.12e-07/0.003605, allocations: 3.938 kB / 0.7888 GB, free: 10.74 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.589e-06/0.00361, allocations: 1.281 kB / 0.7888 GB, free: 10.74 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.0003643/0.003974, allocations: 368.5 kB / 0.7892 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.004011, allocations: 8.031 kB / 0.7892 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.514e-05/0.004046, allocations: 7 kB / 0.7892 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.237e-05/0.004128, allocations: 108.6 kB / 0.7893 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.231e-05/0.004141, allocations: 4.375 kB / 0.7893 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.093e-05/0.004152, allocations: 384 / 0.7893 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001271/0.004279, allocations: 62.92 kB / 0.7893 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.208e-06/0.004288, allocations: 2.344 kB / 0.7893 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.586e-06/0.004297, allocations: 384 / 0.7893 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.153e-06/0.004304, allocations: 384 / 0.7893 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.918e-05/0.004333, allocations: 7.938 kB / 0.7893 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002799/0.004613, allocations: 251.8 kB / 0.7896 GB, free: 9.832 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 5.168e-05/0.004664, allocations: 27.06 kB / 0.7896 GB, free: 9.793 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.987e-05/0.004684, allocations: 13.31 kB / 0.7896 GB, free: 9.777 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 4.641e-05/0.004731, allocations: 4 kB / 0.7896 GB, free: 9.773 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.847e-05/0.004759, allocations: 41.39 kB / 0.7897 GB, free: 9.723 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 1.884e-06/0.004761, allocations: 1.375 kB / 0.7897 GB, free: 9.723 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0001448/0.004906, allocations: 45.56 kB / 0.7897 GB, free: 9.672 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.709e-05/0.004933, allocations: 51.41 kB / 0.7898 GB, free: 9.609 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.344e-05/0.005006, allocations: 167.7 kB / 0.7899 GB, free: 9.43 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 9.378e-06/0.005016, allocations: 25.7 kB / 0.7899 GB, free: 9.398 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.52e-05/0.005061, allocations: 134.9 kB / 0.7901 GB, free: 9.262 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.728e-05/0.005078, allocations: 7.891 kB / 0.7901 GB, free: 9.254 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.792e-05/0.005106, allocations: 19.38 kB / 0.7901 GB, free: 9.227 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001103/0.005217, allocations: 0.4893 MB / 0.7906 GB, free: 8.727 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.453e-05/0.005231, allocations: 0 / 0.7906 GB, free: 8.727 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.012e-05/0.005241, allocations: 4.594 kB / 0.7906 GB, free: 8.723 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.803e-05/0.005269, allocations: 13.62 kB / 0.7906 GB, free: 8.707 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.005271, allocations: 0 / 0.7906 GB, free: 8.707 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.767e-05/0.005329, allocations: 45.59 kB / 0.7906 GB, free: 8.656 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.005344, allocations: 8 kB / 0.7906 GB, free: 8.648 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.00535, allocations: 7.922 kB / 0.7907 GB, free: 8.641 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.005364, allocations: 2.469 kB / 0.7907 GB, free: 8.641 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.272e-05/0.005437, allocations: 7.938 kB / 0.7907 GB, free: 8.633 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.005441, allocations: 0 / 0.7907 GB, free: 8.633 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.735e-05/0.005459, allocations: 4 kB / 0.7907 GB, free: 8.629 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.338e-06/0.005463, allocations: 0 / 0.7907 GB, free: 8.629 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 6.199e-05/0.005525, allocations: 153.3 kB / 0.7908 GB, free: 8.469 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.694e-05/0.005542, allocations: 11.98 kB / 0.7908 GB, free: 8.457 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.79e-05/0.00563, allocations: 49.72 kB / 0.7909 GB, free: 8.406 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.005631, allocations: 1.656 kB / 0.7909 GB, free: 8.406 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.005636, allocations: 0 / 0.7909 GB, free: 8.406 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.005639, allocations: 0 / 0.7909 GB, free: 8.406 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001016/0.005741, allocations: 112.6 kB / 0.791 GB, free: 8.262 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.005742, allocations: 4 kB / 0.791 GB, free: 8.258 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.665e-05/0.005768, allocations: 8.641 kB / 0.791 GB, free: 8.25 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.005771, allocations: 1.156 kB / 0.791 GB, free: 8.25 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.201e-06/0.005777, allocations: 0 / 0.791 GB, free: 8.25 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.005778, allocations: 3.938 kB / 0.791 GB, free: 8.246 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.00578, allocations: 1.406 kB / 0.791 GB, free: 8.246 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.174e-05/0.005871, allocations: 191.9 kB / 0.7912 GB, free: 8.039 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 6.172e-06/0.005878, allocations: 0 / 0.7912 GB, free: 8.039 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.347e-06/0.005887, allocations: 4.844 kB / 0.7912 GB, free: 8.035 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.304e-05/0.00592, allocations: 7.938 kB / 0.7912 GB, free: 8.027 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.413e-05/0.005954, allocations: 12.77 kB / 0.7912 GB, free: 8.016 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.038e-06/0.005958, allocations: 4 kB / 0.7912 GB, free: 8.012 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.621e-05/0.005994, allocations: 124.5 kB / 0.7913 GB, free: 7.891 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.005994, allocations: 0 / 0.7913 GB, free: 7.891 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001549/0.006149, allocations: 8 kB / 0.7913 GB, free: 7.883 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.000136/0.006285, allocations: 100.1 kB / 0.7914 GB, free: 7.777 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 8.165e-05/0.006367, allocations: 20.56 kB / 0.7915 GB, free: 7.754 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.006369, allocations: 0 / 0.7915 GB, free: 7.754 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.894e-05/0.006387, allocations: 13.25 kB / 0.7915 GB, free: 7.738 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001949/0.006582, allocations: 2.031 kB / 0.7915 GB, free: 7.738 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002677/0.00685, allocations: 131.3 kB / 0.7916 GB, free: 7.582 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.405e-05/0.006884, allocations: 59.34 kB / 0.7917 GB, free: 7.504 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.547e-05/0.0069, allocations: 3.156 kB / 0.7917 GB, free: 7.504 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.306e-05/0.006923, allocations: 12.5 kB / 0.7917 GB, free: 7.492 MB / 0.7448 GB Notification: Performance of SimCode: time 7.41e-07/0.006923, allocations: 3.938 kB / 0.7917 GB, free: 7.488 MB / 0.7448 GB Notification: Performance of Templates: time 0.002393/0.009316, allocations: 0.5913 MB / 0.7922 GB, free: 6.922 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: 5.163408176973462]