Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0009899/0.0009899, 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.001106/0.001106, allocations: 177 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 1.058/1.058, allocations: 177.1 MB / 203.8 MB, free: 5.473 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.426/2.426, 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.Examples.Polynomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|polynomial.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial") translateModel(Buildings.Utilities.Math.Examples.Polynomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|polynomial.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.272e-06/1.272e-06, allocations: 0 / 0.8386 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.583e-05/1.71e-05, allocations: 10.25 kB / 0.8386 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Polynomial): time 0.002032/0.002049, allocations: 1.541 MB / 0.8401 GB, free: 12.65 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.000346/0.002395, allocations: 87.61 kB / 0.8402 GB, free: 12.57 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.234e-05/0.002427, allocations: 0 / 0.8402 GB, free: 12.57 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 6.691e-05/0.002494, allocations: 7.922 kB / 0.8402 GB, free: 12.56 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 2.737e-05/0.002521, allocations: 3.938 kB / 0.8402 GB, free: 12.55 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001648/0.002686, allocations: 15.97 kB / 0.8402 GB, free: 12.54 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 3.85e-05/0.002725, allocations: 27.92 kB / 0.8403 GB, free: 12.51 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 3.293e-05/0.002758, allocations: 4 kB / 0.8403 GB, free: 12.51 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 3.043e-05/0.002788, allocations: 11.98 kB / 0.8403 GB, free: 12.5 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 2.589e-05/0.002814, allocations: 11.94 kB / 0.8403 GB, free: 12.48 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.345e-05/0.002827, allocations: 7.984 kB / 0.8403 GB, free: 12.48 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 6.27e-05/0.00289, allocations: 15.97 kB / 0.8403 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 2.684e-05/0.002917, allocations: 8 kB / 0.8403 GB, free: 12.45 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 6.743e-06/0.002924, allocations: 0 / 0.8403 GB, free: 12.45 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 6.733e-05/0.002991, allocations: 35.83 kB / 0.8404 GB, free: 12.42 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.363e-06/0.002992, allocations: 4 kB / 0.8404 GB, free: 12.41 MB / 0.8073 GB Notification: Performance of FrontEnd: time 5.91e-07/0.002993, allocations: 0 / 0.8404 GB, free: 12.41 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 2.845e-06/0.002996, allocations: 0 / 0.8404 GB, free: 12.41 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002311/0.003227, allocations: 244.9 kB / 0.8406 GB, free: 12.15 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.921e-05/0.003256, allocations: 8.625 kB / 0.8406 GB, free: 12.14 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.007e-05/0.003276, allocations: 4.938 kB / 0.8406 GB, free: 12.14 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.046e-05/0.003347, allocations: 121.7 kB / 0.8407 GB, free: 11.99 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.522e-06/0.003353, allocations: 384 / 0.8407 GB, free: 11.99 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.94e-06/0.003358, allocations: 384 / 0.8407 GB, free: 11.99 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.536e-05/0.003444, allocations: 57.78 kB / 0.8408 GB, free: 11.93 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.591e-06/0.003449, allocations: 192 / 0.8408 GB, free: 11.93 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.77e-06/0.003455, allocations: 384 / 0.8408 GB, free: 11.93 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.00346, allocations: 384 / 0.8408 GB, free: 11.93 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.906e-05/0.003479, allocations: 15.92 kB / 0.8408 GB, free: 11.91 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001753/0.003654, allocations: 150 kB / 0.8409 GB, free: 11.75 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 4.29e-05/0.003697, allocations: 69.25 kB / 0.841 GB, free: 11.67 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.418e-05/0.003711, allocations: 12.84 kB / 0.841 GB, free: 11.65 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.066e-05/0.003732, allocations: 4.062 kB / 0.841 GB, free: 11.65 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.247e-05/0.003744, allocations: 30.56 kB / 0.8411 GB, free: 11.61 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=2): time 5.21e-07/0.003745, allocations: 0 / 0.8411 GB, free: 11.61 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2): time 8.098e-05/0.003826, allocations: 41.62 kB / 0.8411 GB, free: 11.56 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.412e-05/0.00385, allocations: 55.34 kB / 0.8411 GB, free: 11.5 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.692e-05/0.003897, allocations: 110.8 kB / 0.8412 GB, free: 11.38 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 8.356e-06/0.003905, allocations: 25.7 kB / 0.8413 GB, free: 11.34 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.53e-05/0.00393, allocations: 88.06 kB / 0.8414 GB, free: 11.25 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.368e-05/0.003944, allocations: 15.89 kB / 0.8414 GB, free: 11.24 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.984e-05/0.003964, allocations: 9.719 kB / 0.8414 GB, free: 11.22 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.368e-05/0.004038, allocations: 314.8 kB / 0.8417 GB, free: 10.91 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.717e-06/0.004046, allocations: 2.828 kB / 0.8417 GB, free: 10.9 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.411e-05/0.00406, allocations: 7.984 kB / 0.8417 GB, free: 10.89 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.923e-05/0.00408, allocations: 11.69 kB / 0.8417 GB, free: 10.88 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.004081, allocations: 0 / 0.8417 GB, free: 10.88 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2) (initialization): time 3.754e-05/0.004118, allocations: 45.69 kB / 0.8417 GB, free: 10.83 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 8.546e-06/0.004127, allocations: 4 kB / 0.8418 GB, free: 10.82 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.004131, allocations: 0 / 0.8418 GB, free: 10.82 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.959e-06/0.004141, allocations: 0 / 0.8418 GB, free: 10.82 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.845e-05/0.004189, allocations: 11.92 kB / 0.8418 GB, free: 10.81 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.004194, allocations: 7.984 kB / 0.8418 GB, free: 10.8 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.342e-05/0.004208, allocations: 3.984 kB / 0.8418 GB, free: 10.8 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.286e-06/0.004211, allocations: 0 / 0.8418 GB, free: 10.8 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 (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 4.873e-05/0.00426, allocations: 116.7 kB / 0.8419 GB, free: 10.68 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.37e-05/0.004273, allocations: 4.031 kB / 0.8419 GB, free: 10.67 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.315e-05/0.004326, allocations: 45.31 kB / 0.8419 GB, free: 10.62 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.71e-07/0.004327, allocations: 0 / 0.8419 GB, free: 10.62 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.973e-06/0.004329, allocations: 3.938 kB / 0.8419 GB, free: 10.62 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.004331, allocations: 3.938 kB / 0.8419 GB, free: 10.62 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.95e-05/0.004401, allocations: 66.14 kB / 0.842 GB, free: 10.54 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.004403, allocations: 4 kB / 0.842 GB, free: 10.53 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.759e-05/0.00442, allocations: 8 kB / 0.842 GB, free: 10.52 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.72e-07/0.004421, allocations: 0 / 0.842 GB, free: 10.52 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.476e-06/0.004424, allocations: 0 / 0.842 GB, free: 10.52 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.42e-07/0.004425, allocations: 0 / 0.842 GB, free: 10.52 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.004426, allocations: 4.031 kB / 0.842 GB, free: 10.52 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.311e-05/0.004499, allocations: 182.2 kB / 0.8422 GB, free: 10.32 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 6.422e-06/0.004505, allocations: 7.953 kB / 0.8422 GB, free: 10.32 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.033e-06/0.004512, allocations: 0 / 0.8422 GB, free: 10.32 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.072e-05/0.004543, allocations: 7.984 kB / 0.8422 GB, free: 10.31 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.442e-05/0.004567, allocations: 0 / 0.8422 GB, free: 10.31 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.583e-06/0.004569, allocations: 0 / 0.8422 GB, free: 10.31 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.326e-05/0.004582, allocations: 16.78 kB / 0.8422 GB, free: 10.29 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.004582, allocations: 3.938 kB / 0.8422 GB, free: 10.29 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001239/0.004706, allocations: 15.92 kB / 0.8422 GB, free: 10.27 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 (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 8.747e-05/0.004794, allocations: 76.45 kB / 0.8423 GB, free: 10.19 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 5.311e-05/0.004847, allocations: 16.86 kB / 0.8423 GB, free: 10.17 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.004849, allocations: 0 / 0.8423 GB, free: 10.17 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.369e-05/0.004863, allocations: 8.859 kB / 0.8423 GB, free: 10.16 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000135/0.004998, allocations: 7.984 kB / 0.8423 GB, free: 10.15 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001914/0.005189, allocations: 110.4 kB / 0.8425 GB, free: 10.01 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.438e-05/0.005223, allocations: 63.42 kB / 0.8425 GB, free: 9.93 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 1.352e-05/0.005237, allocations: 0 / 0.8425 GB, free: 9.93 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.807e-05/0.005275, allocations: 51.38 kB / 0.8426 GB, free: 9.879 MB / 0.8073 GB Notification: Performance of SimCode: time 3.6e-07/0.005275, allocations: 0 / 0.8426 GB, free: 9.879 MB / 0.8073 GB Notification: Performance of Templates: time 0.001723/0.006998, allocations: 0.543 MB / 0.8431 GB, free: 9.344 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.229628402274102]