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.0009594/0.0009594, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.001823/0.001823, allocations: 166.2 kB / 24.87 MB, free: 8.891 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.9583/0.9583, allocations: 177.2 MB / 205.3 MB, free: 5.48 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.817/1.817, allocations: 359 MB / 0.6063 GB, free: 10.89 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.603e-06/1.603e-06, allocations: 0 / 0.7883 GB, free: 11.09 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.062e-05/2.222e-05, allocations: 6.25 kB / 0.7883 GB, free: 11.08 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Polynomial): time 0.001862/0.001884, allocations: 1.505 MB / 0.7898 GB, free: 9.582 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0002416/0.002126, allocations: 88.41 kB / 0.7899 GB, free: 9.496 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.911e-05/0.002155, allocations: 0 / 0.7899 GB, free: 9.496 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 5.592e-05/0.002211, allocations: 4.906 kB / 0.7899 GB, free: 9.492 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 3.701e-05/0.002248, allocations: 3.938 kB / 0.7899 GB, free: 9.488 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002439/0.002491, allocations: 28.41 kB / 0.7899 GB, free: 9.461 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 5.124e-05/0.002543, allocations: 17.28 kB / 0.7899 GB, free: 9.445 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 7.019e-05/0.002613, allocations: 15.97 kB / 0.7899 GB, free: 9.43 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 3.061e-05/0.002643, allocations: 8 kB / 0.7899 GB, free: 9.422 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 3.424e-05/0.002678, allocations: 11.92 kB / 0.79 GB, free: 9.41 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.118e-05/0.002689, allocations: 0.5938 kB / 0.79 GB, free: 9.41 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 7.271e-05/0.002762, allocations: 24.59 kB / 0.79 GB, free: 9.387 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.996e-05/0.002792, allocations: 4 kB / 0.79 GB, free: 9.383 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 1.371e-05/0.002805, allocations: 5.031 kB / 0.79 GB, free: 9.379 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 9.543e-05/0.002901, allocations: 39.81 kB / 0.79 GB, free: 9.34 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.002904, allocations: 4 kB / 0.79 GB, free: 9.336 MB / 0.698 GB Notification: Performance of FrontEnd: time 7.21e-07/0.002905, allocations: 1.469 kB / 0.79 GB, free: 9.336 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.877e-06/0.002909, allocations: 0 / 0.79 GB, free: 9.336 MB / 0.698 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.0002861/0.003195, allocations: 360.2 kB / 0.7904 GB, free: 8.945 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.054e-05/0.003225, allocations: 9 kB / 0.7904 GB, free: 8.938 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.432e-05/0.00325, allocations: 8.875 kB / 0.7904 GB, free: 8.93 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.767e-05/0.003327, allocations: 120.5 kB / 0.7905 GB, free: 8.785 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.554e-06/0.003335, allocations: 1.125 kB / 0.7905 GB, free: 8.785 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.61e-06/0.00334, allocations: 384 / 0.7905 GB, free: 8.785 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.02e-05/0.003431, allocations: 57.48 kB / 0.7906 GB, free: 8.723 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.26e-06/0.003436, allocations: 192 / 0.7906 GB, free: 8.723 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.49e-06/0.003441, allocations: 384 / 0.7906 GB, free: 8.723 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.003445, allocations: 384 / 0.7906 GB, free: 8.723 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.856e-05/0.003464, allocations: 11.92 kB / 0.7906 GB, free: 8.711 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001942/0.003658, allocations: 228.4 kB / 0.7908 GB, free: 8.461 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 3.832e-05/0.003696, allocations: 28.75 kB / 0.7908 GB, free: 8.422 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.496e-05/0.003711, allocations: 11.75 kB / 0.7908 GB, free: 8.406 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.025e-05/0.003741, allocations: 4 kB / 0.7908 GB, free: 8.402 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.06e-05/0.003762, allocations: 41.38 kB / 0.7909 GB, free: 8.352 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 8.01e-07/0.003763, allocations: 0.5312 kB / 0.7909 GB, free: 8.352 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0001001/0.003863, allocations: 42.3 kB / 0.7909 GB, free: 8.305 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.425e-05/0.003887, allocations: 51.94 kB / 0.791 GB, free: 8.242 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.16e-05/0.003949, allocations: 169.9 kB / 0.7911 GB, free: 8.059 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.734e-06/0.003956, allocations: 27.36 kB / 0.7912 GB, free: 8.027 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.198e-05/0.003998, allocations: 130.9 kB / 0.7913 GB, free: 7.895 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.799e-05/0.004016, allocations: 15.88 kB / 0.7913 GB, free: 7.879 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.425e-05/0.004041, allocations: 15.38 kB / 0.7913 GB, free: 7.855 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001132/0.004154, allocations: 0.4889 MB / 0.7918 GB, free: 7.355 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.927e-06/0.004163, allocations: 3.938 kB / 0.7918 GB, free: 7.352 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.805e-06/0.004171, allocations: 0.5938 kB / 0.7918 GB, free: 7.352 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.289e-05/0.004193, allocations: 16.47 kB / 0.7918 GB, free: 7.332 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.004195, allocations: 1.156 kB / 0.7918 GB, free: 7.332 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.947e-05/0.004254, allocations: 49.58 kB / 0.7919 GB, free: 7.277 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.849e-06/0.004264, allocations: 5.375 kB / 0.7919 GB, free: 7.273 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.004268, allocations: 0 / 0.7919 GB, free: 7.273 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.075e-06/0.004276, allocations: 3.938 kB / 0.7919 GB, free: 7.27 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.075e-05/0.004327, allocations: 4 kB / 0.7919 GB, free: 7.266 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.954e-06/0.004329, allocations: 1.844 kB / 0.7919 GB, free: 7.266 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.65e-05/0.004345, allocations: 4 kB / 0.7919 GB, free: 7.262 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.326e-06/0.004349, allocations: 0 / 0.7919 GB, free: 7.262 MB / 0.698 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 5.727e-05/0.004406, allocations: 160.6 kB / 0.792 GB, free: 7.094 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.445e-05/0.00442, allocations: 1.406 kB / 0.792 GB, free: 7.094 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.338e-05/0.004484, allocations: 49.25 kB / 0.7921 GB, free: 7.043 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.004486, allocations: 3.938 kB / 0.7921 GB, free: 7.039 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.252e-06/0.004487, allocations: 1.125 kB / 0.7921 GB, free: 7.039 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.00449, allocations: 0 / 0.7921 GB, free: 7.039 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.804e-05/0.004578, allocations: 101.2 kB / 0.7922 GB, free: 6.914 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.004579, allocations: 1.938 kB / 0.7922 GB, free: 6.914 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.596e-05/0.004605, allocations: 11.98 kB / 0.7922 GB, free: 6.902 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.82e-07/0.004606, allocations: 0 / 0.7922 GB, free: 6.902 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.587e-06/0.00461, allocations: 0 / 0.7922 GB, free: 6.902 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.004611, allocations: 0 / 0.7922 GB, free: 6.902 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.004611, allocations: 0 / 0.7922 GB, free: 6.902 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.791e-05/0.004699, allocations: 194.2 kB / 0.7924 GB, free: 6.695 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.542e-06/0.004706, allocations: 3.984 kB / 0.7924 GB, free: 6.691 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.054e-06/0.004713, allocations: 256 / 0.7924 GB, free: 6.691 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.152e-05/0.004744, allocations: 8 kB / 0.7924 GB, free: 6.684 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.524e-05/0.00477, allocations: 7.938 kB / 0.7924 GB, free: 6.676 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.488e-06/0.004774, allocations: 8.453 kB / 0.7924 GB, free: 6.668 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.834e-05/0.004812, allocations: 123.2 kB / 0.7925 GB, free: 6.547 MB / 0.698 GB Notification: Performance of sort global known variables: time 5.1e-08/0.004812, allocations: 1.938 kB / 0.7925 GB, free: 6.547 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001553/0.004968, allocations: 8 kB / 0.7925 GB, free: 6.539 MB / 0.698 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 9.872e-05/0.005066, allocations: 99.25 kB / 0.7926 GB, free: 6.43 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 6.192e-05/0.005128, allocations: 26.16 kB / 0.7926 GB, free: 6.402 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.00513, allocations: 0 / 0.7926 GB, free: 6.402 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.541e-05/0.005145, allocations: 11.69 kB / 0.7927 GB, free: 6.387 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001684/0.005314, allocations: 8 kB / 0.7927 GB, free: 6.379 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001926/0.005506, allocations: 115.3 kB / 0.7928 GB, free: 6.238 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.052e-05/0.005537, allocations: 63.28 kB / 0.7928 GB, free: 6.156 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 1.514e-05/0.005552, allocations: 0.7812 kB / 0.7928 GB, free: 6.156 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.834e-05/0.00559, allocations: 70.2 kB / 0.7929 GB, free: 6.086 MB / 0.698 GB Notification: Performance of SimCode: time 6.81e-07/0.005591, allocations: 1.156 kB / 0.7929 GB, free: 6.086 MB / 0.698 GB Notification: Performance of Templates: time 0.002054/0.007645, allocations: 0.6509 MB / 0.7935 GB, free: 5.457 MB / 0.698 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.049114479217678]