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.001219/0.001219, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.0009234/0.0009234, allocations: 181 kB / 23.36 MB, free: 1.129 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.9926/0.9926, allocations: 177.2 MB / 203.8 MB, free: 5.492 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.398/2.398, allocations: 438.8 MB / 0.6827 GB, free: 13.63 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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.353e-06/1.353e-06, allocations: 0 / 0.8386 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.899e-05/2.034e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Polynomial): time 0.001093/0.001113, allocations: 0.6214 MB / 0.8392 GB, free: 13.6 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0001569/0.00127, allocations: 15.97 kB / 0.8393 GB, free: 13.58 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.053e-05/0.001281, allocations: 0 / 0.8393 GB, free: 13.58 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 1.177e-05/0.001293, allocations: 0 / 0.8393 GB, free: 13.58 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 5.43e-06/0.001298, allocations: 4 kB / 0.8393 GB, free: 13.58 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002367/0.001535, allocations: 11.92 kB / 0.8393 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 3.763e-05/0.001572, allocations: 3.984 kB / 0.8393 GB, free: 13.56 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 3.063e-05/0.001603, allocations: 4 kB / 0.8393 GB, free: 13.56 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 2.866e-05/0.001632, allocations: 4 kB / 0.8393 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 1.497e-05/0.001647, allocations: 0 / 0.8393 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.125e-05/0.001658, allocations: 4 kB / 0.8393 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 6.287e-05/0.001721, allocations: 15.97 kB / 0.8393 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 8.155e-06/0.001729, allocations: 3.938 kB / 0.8393 GB, free: 13.53 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 9.257e-06/0.001738, allocations: 0 / 0.8393 GB, free: 13.53 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 7.02e-05/0.001808, allocations: 15.98 kB / 0.8393 GB, free: 13.52 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.232e-06/0.00181, allocations: 0 / 0.8393 GB, free: 13.52 MB / 0.8073 GB Notification: Performance of FrontEnd: time 6.42e-07/0.00181, allocations: 0 / 0.8393 GB, free: 13.52 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 2.945e-06/0.001813, allocations: 0 / 0.8393 GB, free: 13.52 MB / 0.8073 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.0001762/0.001989, allocations: 212.7 kB / 0.8395 GB, free: 13.28 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.873e-05/0.002018, allocations: 8.625 kB / 0.8395 GB, free: 13.27 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.765e-05/0.002036, allocations: 4.938 kB / 0.8395 GB, free: 13.27 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.699e-05/0.002083, allocations: 113.8 kB / 0.8396 GB, free: 13.13 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.293e-06/0.00209, allocations: 384 / 0.8396 GB, free: 13.13 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.332e-06/0.002096, allocations: 4.312 kB / 0.8396 GB, free: 13.13 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.236e-05/0.002149, allocations: 34.25 kB / 0.8397 GB, free: 13.09 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.969e-06/0.002154, allocations: 192 / 0.8397 GB, free: 13.09 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.9e-06/0.002159, allocations: 384 / 0.8397 GB, free: 13.09 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.367e-06/0.002162, allocations: 384 / 0.8397 GB, free: 13.09 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.007e-06/0.002171, allocations: 3.938 kB / 0.8397 GB, free: 13.09 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 5.708e-05/0.002228, allocations: 57.39 kB / 0.8397 GB, free: 13.02 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 3.049e-05/0.002259, allocations: 26.61 kB / 0.8398 GB, free: 12.98 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.168e-06/0.002268, allocations: 12.8 kB / 0.8398 GB, free: 12.96 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.245e-05/0.00229, allocations: 0 / 0.8398 GB, free: 12.96 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.683e-05/0.002307, allocations: 34.62 kB / 0.8398 GB, free: 12.92 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=1): time 5.51e-07/0.002308, allocations: 0 / 0.8398 GB, free: 12.92 MB / 0.8073 GB Notification: Performance of matching and sorting (n=1): time 6.674e-05/0.002374, allocations: 33.69 kB / 0.8398 GB, free: 12.88 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.698e-05/0.002401, allocations: 51.41 kB / 0.8399 GB, free: 12.82 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.51e-05/0.002426, allocations: 89.86 kB / 0.84 GB, free: 12.72 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 8.416e-06/0.002435, allocations: 25.7 kB / 0.84 GB, free: 12.69 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 1.65e-05/0.002451, allocations: 80.14 kB / 0.8401 GB, free: 12.61 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.276e-05/0.002474, allocations: 3.953 kB / 0.8401 GB, free: 12.61 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.075e-05/0.002495, allocations: 17.84 kB / 0.8401 GB, free: 12.58 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0003168/0.002812, allocations: 314.8 kB / 0.8404 GB, free: 12.27 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.693e-06/0.002818, allocations: 7.875 kB / 0.8404 GB, free: 12.26 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.33e-06/0.002824, allocations: 4 kB / 0.8404 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.025e-05/0.002844, allocations: 8.844 kB / 0.8404 GB, free: 12.24 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.908e-06/0.002848, allocations: 4 kB / 0.8404 GB, free: 12.24 MB / 0.8073 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.566e-05/0.002883, allocations: 33.7 kB / 0.8405 GB, free: 12.2 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.038e-05/0.002894, allocations: 4 kB / 0.8405 GB, free: 12.2 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.286e-06/0.002897, allocations: 0 / 0.8405 GB, free: 12.2 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.137e-06/0.002906, allocations: 4.094 kB / 0.8405 GB, free: 12.19 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.136e-05/0.002948, allocations: 4 kB / 0.8405 GB, free: 12.19 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.284e-06/0.00295, allocations: 0 / 0.8405 GB, free: 12.19 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.243e-06/0.002957, allocations: 3.938 kB / 0.8405 GB, free: 12.18 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.939e-06/0.002967, allocations: 3.984 kB / 0.8405 GB, free: 12.18 MB / 0.8073 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 4.626e-05/0.003013, allocations: 113.8 kB / 0.8406 GB, free: 12.06 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.176e-06/0.003017, allocations: 0 / 0.8406 GB, free: 12.06 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.893e-05/0.003075, allocations: 36.7 kB / 0.8406 GB, free: 12.01 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.003078, allocations: 3.984 kB / 0.8406 GB, free: 12.01 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.034e-06/0.00308, allocations: 3.984 kB / 0.8406 GB, free: 12 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.484e-06/0.003082, allocations: 0 / 0.8406 GB, free: 12 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.184e-05/0.003124, allocations: 69.83 kB / 0.8407 GB, free: 11.92 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.41e-07/0.003125, allocations: 0 / 0.8407 GB, free: 11.92 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.543e-06/0.003131, allocations: 0 / 0.8407 GB, free: 11.92 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.92e-07/0.003132, allocations: 0 / 0.8407 GB, free: 11.92 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.886e-06/0.003135, allocations: 0 / 0.8407 GB, free: 11.92 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.003138, allocations: 7.984 kB / 0.8407 GB, free: 11.91 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.003138, allocations: 4 kB / 0.8407 GB, free: 11.91 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.274e-05/0.003181, allocations: 69.03 kB / 0.8408 GB, free: 11.82 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.226e-06/0.003184, allocations: 0 / 0.8408 GB, free: 11.82 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.531e-06/0.00319, allocations: 4 kB / 0.8408 GB, free: 11.82 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.068e-06/0.003194, allocations: 0 / 0.8408 GB, free: 11.82 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.285e-06/0.003202, allocations: 0 / 0.8408 GB, free: 11.82 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.745e-06/0.003205, allocations: 0 / 0.8408 GB, free: 11.82 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 5.761e-06/0.003211, allocations: 4.859 kB / 0.8408 GB, free: 11.81 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.003211, allocations: 0 / 0.8408 GB, free: 11.81 MB / 0.8073 GB Notification: Performance of remove unused functions: time 9.304e-05/0.003304, allocations: 4 kB / 0.8408 GB, free: 11.8 MB / 0.8073 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 8.473e-05/0.003388, allocations: 88.38 kB / 0.8409 GB, free: 11.71 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 3.831e-05/0.003427, allocations: 12.8 kB / 0.8409 GB, free: 11.7 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.003428, allocations: 3.938 kB / 0.8409 GB, free: 11.69 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 6.221e-06/0.003435, allocations: 8.859 kB / 0.8409 GB, free: 11.68 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 3.961e-05/0.003474, allocations: 6 kB / 0.8409 GB, free: 11.68 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001222/0.003597, allocations: 86.44 kB / 0.841 GB, free: 11.56 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.201e-05/0.003619, allocations: 51.36 kB / 0.841 GB, free: 11.49 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.29e-05/0.003641, allocations: 4.125 kB / 0.841 GB, free: 11.49 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.584e-05/0.003667, allocations: 51.38 kB / 0.8411 GB, free: 11.44 MB / 0.8073 GB Notification: Performance of SimCode: time 5.61e-07/0.003668, allocations: 0 / 0.8411 GB, free: 11.44 MB / 0.8073 GB Notification: Performance of Templates: time 0.001521/0.005189, allocations: 316.6 kB / 0.8414 GB, free: 11.13 MB / 0.8073 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.333791746292263]