Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.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.0009836/0.0009836, allocations: 85.17 kB / 19.87 MB, free: 4.617 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.0009249/0.0009249, allocations: 169 kB / 23.27 MB, free: 1.223 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.912/0.912, allocations: 177.1 MB / 203.7 MB, free: 5.516 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.392/2.392, allocations: 438.1 MB / 0.682 GB, free: 14.15 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|x",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Polynomial") translateModel(Buildings.Utilities.Math.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|x",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Polynomial") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 0.8898 GB, free: 9.672 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.524e-05/2.687e-05, allocations: 2.312 kB / 0.8898 GB, free: 9.668 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Polynomial): time 0.001345/0.001372, allocations: 0.5916 MB / 0.8904 GB, free: 9.078 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0001875/0.00156, allocations: 31.83 kB / 0.8904 GB, free: 9.047 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.656e-05/0.001576, allocations: 4 kB / 0.8904 GB, free: 9.043 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 1.647e-05/0.001593, allocations: 0 / 0.8904 GB, free: 9.043 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 6.843e-06/0.001599, allocations: 0 / 0.8904 GB, free: 9.043 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002674/0.001867, allocations: 7.984 kB / 0.8904 GB, free: 9.035 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 3.664e-05/0.001903, allocations: 4 kB / 0.8904 GB, free: 9.031 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 3.435e-05/0.001938, allocations: 0 / 0.8904 GB, free: 9.031 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 2.891e-05/0.001967, allocations: 0 / 0.8904 GB, free: 9.031 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 1.673e-05/0.001983, allocations: 4 kB / 0.8904 GB, free: 9.027 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.333e-05/0.001997, allocations: 3.984 kB / 0.8904 GB, free: 9.023 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 7.164e-05/0.002068, allocations: 15.98 kB / 0.8905 GB, free: 9.008 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 8.156e-06/0.002077, allocations: 4 kB / 0.8905 GB, free: 9.004 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 1.072e-05/0.002087, allocations: 4 kB / 0.8905 GB, free: 9 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 7.695e-05/0.002164, allocations: 15.91 kB / 0.8905 GB, free: 8.984 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.304e-06/0.002167, allocations: 0 / 0.8905 GB, free: 8.984 MB / 0.8542 GB Notification: Performance of FrontEnd: time 7.92e-07/0.002167, allocations: 0 / 0.8905 GB, free: 8.984 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.506e-06/0.002171, allocations: 0 / 0.8905 GB, free: 8.984 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002389/0.00241, allocations: 344.4 kB / 0.8908 GB, free: 8.609 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.727e-05/0.002447, allocations: 8.625 kB / 0.8908 GB, free: 8.602 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.315e-05/0.00247, allocations: 5.219 kB / 0.8908 GB, free: 8.598 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.514e-05/0.002525, allocations: 108.6 kB / 0.8909 GB, free: 8.465 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.257e-06/0.002535, allocations: 384 / 0.8909 GB, free: 8.465 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.679e-06/0.002539, allocations: 4.375 kB / 0.8909 GB, free: 8.461 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.033e-05/0.0026, allocations: 30.25 kB / 0.891 GB, free: 8.426 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.392e-06/0.002606, allocations: 192 / 0.891 GB, free: 8.426 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.701e-06/0.002612, allocations: 4.375 kB / 0.891 GB, free: 8.422 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.002617, allocations: 4.312 kB / 0.891 GB, free: 8.418 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.383e-05/0.002631, allocations: 3.938 kB / 0.891 GB, free: 8.414 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.332e-05/0.002714, allocations: 93.27 kB / 0.8911 GB, free: 8.297 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 3.56e-05/0.002749, allocations: 27 kB / 0.8911 GB, free: 8.258 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.212e-05/0.002762, allocations: 11.69 kB / 0.8911 GB, free: 8.242 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 3.498e-05/0.002797, allocations: 8.094 kB / 0.8911 GB, free: 8.234 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.027e-05/0.002817, allocations: 37.39 kB / 0.8911 GB, free: 8.188 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=1): time 6.81e-07/0.002817, allocations: 0 / 0.8911 GB, free: 8.188 MB / 0.8542 GB Notification: Performance of matching and sorting (n=1): time 9.689e-05/0.002914, allocations: 41.64 kB / 0.8912 GB, free: 8.141 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.551e-05/0.00294, allocations: 55.34 kB / 0.8912 GB, free: 8.074 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.561e-05/0.002975, allocations: 142.2 kB / 0.8914 GB, free: 7.922 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 8.766e-06/0.002984, allocations: 25.7 kB / 0.8914 GB, free: 7.891 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 3.068e-05/0.003015, allocations: 130.9 kB / 0.8915 GB, free: 7.758 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.506e-05/0.00304, allocations: 0 / 0.8915 GB, free: 7.758 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.456e-05/0.003065, allocations: 23.36 kB / 0.8915 GB, free: 7.727 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001065/0.003171, allocations: 496.2 kB / 0.892 GB, free: 7.23 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.634e-06/0.003179, allocations: 4 kB / 0.892 GB, free: 7.227 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.514e-06/0.003186, allocations: 4 kB / 0.892 GB, free: 7.223 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.702e-05/0.003213, allocations: 15.67 kB / 0.892 GB, free: 7.203 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.003215, allocations: 0 / 0.892 GB, free: 7.203 MB / 0.8542 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.07e-05/0.003256, allocations: 33.7 kB / 0.8921 GB, free: 7.164 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.163e-05/0.003267, allocations: 7.938 kB / 0.8921 GB, free: 7.156 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.003272, allocations: 0 / 0.8921 GB, free: 7.156 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.144e-05/0.003283, allocations: 0 / 0.8921 GB, free: 7.156 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.922e-05/0.003332, allocations: 4 kB / 0.8921 GB, free: 7.152 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.094e-06/0.003335, allocations: 4.094 kB / 0.8921 GB, free: 7.148 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.365e-06/0.003343, allocations: 0 / 0.8921 GB, free: 7.148 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.041e-05/0.003353, allocations: 0 / 0.8921 GB, free: 7.148 MB / 0.8542 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 (1): * Single equations (assignments): 1 * 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.921e-05/0.003413, allocations: 164.5 kB / 0.8922 GB, free: 6.977 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.929e-06/0.003417, allocations: 0 / 0.8922 GB, free: 6.977 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.671e-05/0.003494, allocations: 36.7 kB / 0.8923 GB, free: 6.934 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.003496, allocations: 4 kB / 0.8923 GB, free: 6.93 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.913e-06/0.003498, allocations: 4.031 kB / 0.8923 GB, free: 6.926 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.003502, allocations: 3.984 kB / 0.8923 GB, free: 6.922 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.799e-05/0.00356, allocations: 93.2 kB / 0.8924 GB, free: 6.805 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.003561, allocations: 0 / 0.8924 GB, free: 6.805 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.201e-05/0.003573, allocations: 7.938 kB / 0.8924 GB, free: 6.797 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.003575, allocations: 0 / 0.8924 GB, free: 6.797 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.387e-06/0.003578, allocations: 0 / 0.8924 GB, free: 6.797 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.00358, allocations: 3.938 kB / 0.8924 GB, free: 6.793 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.003581, allocations: 0 / 0.8924 GB, free: 6.793 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.364e-05/0.003634, allocations: 76.36 kB / 0.8925 GB, free: 6.695 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.298e-06/0.003639, allocations: 0 / 0.8925 GB, free: 6.695 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.841e-06/0.003645, allocations: 4.031 kB / 0.8925 GB, free: 6.691 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.969e-06/0.00365, allocations: 8 kB / 0.8925 GB, free: 6.684 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.135e-06/0.003658, allocations: 0 / 0.8925 GB, free: 6.684 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.496e-06/0.003661, allocations: 0 / 0.8925 GB, free: 6.684 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 2.702e-05/0.003688, allocations: 119.2 kB / 0.8926 GB, free: 6.566 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.003688, allocations: 0 / 0.8926 GB, free: 6.566 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001183/0.003807, allocations: 4 kB / 0.8926 GB, free: 6.562 MB / 0.8542 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 (1): * Single equations (assignments): 1 * 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.0001166/0.003923, allocations: 107.2 kB / 0.8927 GB, free: 6.445 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 5.153e-05/0.003975, allocations: 19.62 kB / 0.8927 GB, free: 6.422 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.392e-06/0.003976, allocations: 0 / 0.8927 GB, free: 6.422 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 7.725e-06/0.003984, allocations: 11.69 kB / 0.8927 GB, free: 6.406 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.883e-05/0.004073, allocations: 11.81 kB / 0.8927 GB, free: 6.395 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001501/0.004223, allocations: 91.92 kB / 0.8928 GB, free: 6.273 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.511e-05/0.004248, allocations: 51.36 kB / 0.8929 GB, free: 6.203 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 1.981e-05/0.004268, allocations: 128 / 0.8929 GB, free: 6.203 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.311e-05/0.004301, allocations: 74.2 kB / 0.8929 GB, free: 6.129 MB / 0.8542 GB Notification: Performance of SimCode: time 7.01e-07/0.004301, allocations: 0 / 0.8929 GB, free: 6.129 MB / 0.8542 GB Notification: Performance of Templates: time 0.001676/0.005978, allocations: 320 kB / 0.8932 GB, free: 5.82 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Polynomial.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Polynomial.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Polynomial -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Polynomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_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.139966866001487]