Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001023/0.001023, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.001269/0.001269, allocations: 161 kB / 24.16 MB, free: 332 kB / 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.07/1.07, allocations: 177.1 MB / 204.6 MB, free: 5.344 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.966/1.966, allocations: 377.9 MB / 0.624 GB, free: 8.406 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.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.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|x",fileNamePrefix="Buildings_12_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_12_Buildings.Utilities.Math.Functions.Examples.Polynomial") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 0.7601 GB, free: 6.574 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.111e-05/2.26e-05, allocations: 2.312 kB / 0.7601 GB, free: 6.57 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Polynomial): time 0.001762/0.001784, allocations: 0.6644 MB / 0.7608 GB, free: 5.93 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0002428/0.002027, allocations: 37.61 kB / 0.7608 GB, free: 5.895 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.36e-05/0.002041, allocations: 0 / 0.7608 GB, free: 5.895 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 1.601e-05/0.002057, allocations: 0 / 0.7608 GB, free: 5.895 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 6.933e-06/0.002064, allocations: 0.9688 kB / 0.7608 GB, free: 5.895 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003073/0.002371, allocations: 13.3 kB / 0.7608 GB, free: 5.883 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 4.945e-05/0.00242, allocations: 4.75 kB / 0.7608 GB, free: 5.879 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 4.18e-05/0.002462, allocations: 3.984 kB / 0.7608 GB, free: 5.875 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 3.52e-05/0.002497, allocations: 0.5312 kB / 0.7608 GB, free: 5.875 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 2.588e-05/0.002523, allocations: 0 / 0.7608 GB, free: 5.875 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.06e-05/0.002534, allocations: 0.875 kB / 0.7608 GB, free: 5.875 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001216/0.002655, allocations: 28.56 kB / 0.7608 GB, free: 5.848 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.115e-05/0.002667, allocations: 1.062 kB / 0.7608 GB, free: 5.848 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.094e-05/0.002678, allocations: 0 / 0.7608 GB, free: 5.848 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 9.904e-05/0.002777, allocations: 20.62 kB / 0.7609 GB, free: 5.828 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.763e-06/0.002778, allocations: 1.219 kB / 0.7609 GB, free: 5.828 MB / 0.7136 GB Notification: Performance of FrontEnd: time 7.11e-07/0.002779, allocations: 0 / 0.7609 GB, free: 5.828 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.777e-06/0.002783, allocations: 0 / 0.7609 GB, free: 5.828 MB / 0.7136 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.0002373/0.00302, allocations: 219.3 kB / 0.7611 GB, free: 5.59 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.00306, allocations: 12.03 kB / 0.7611 GB, free: 5.578 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.65e-05/0.003086, allocations: 0.9375 kB / 0.7611 GB, free: 5.578 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.802e-05/0.003164, allocations: 101.8 kB / 0.7612 GB, free: 5.453 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.183e-05/0.003176, allocations: 384 / 0.7612 GB, free: 5.453 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.002e-06/0.003182, allocations: 1.031 kB / 0.7612 GB, free: 5.453 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.827e-05/0.00326, allocations: 31.02 kB / 0.7612 GB, free: 5.418 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.283e-06/0.003267, allocations: 0.9531 kB / 0.7612 GB, free: 5.418 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.372e-06/0.003274, allocations: 1.125 kB / 0.7612 GB, free: 5.418 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.00328, allocations: 4.312 kB / 0.7612 GB, free: 5.414 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.642e-05/0.003296, allocations: 14.05 kB / 0.7612 GB, free: 5.402 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.809e-05/0.003374, allocations: 57.05 kB / 0.7613 GB, free: 5.332 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 4.049e-05/0.003415, allocations: 18.61 kB / 0.7613 GB, free: 5.305 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.148e-05/0.003426, allocations: 4.859 kB / 0.7613 GB, free: 5.297 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.464e-05/0.003451, allocations: 0.5469 kB / 0.7613 GB, free: 5.297 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.348e-05/0.003474, allocations: 35.97 kB / 0.7613 GB, free: 5.254 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=1): time 8.92e-07/0.003475, allocations: 0 / 0.7613 GB, free: 5.254 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1): time 8.848e-05/0.003564, allocations: 33.64 kB / 0.7614 GB, free: 5.215 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.103e-05/0.003595, allocations: 52.66 kB / 0.7614 GB, free: 5.152 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.309e-05/0.003628, allocations: 95.38 kB / 0.7615 GB, free: 5.051 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.127e-05/0.003639, allocations: 25.7 kB / 0.7615 GB, free: 5.02 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.522e-05/0.003664, allocations: 81.39 kB / 0.7616 GB, free: 4.938 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.094e-05/0.003695, allocations: 0 / 0.7616 GB, free: 4.938 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.576e-05/0.003721, allocations: 13.72 kB / 0.7616 GB, free: 4.918 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001015/0.003822, allocations: 322.8 kB / 0.7619 GB, free: 4.594 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.087e-06/0.003832, allocations: 7.25 kB / 0.7619 GB, free: 4.59 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.582e-06/0.003838, allocations: 0 / 0.7619 GB, free: 4.59 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.002e-05/0.003868, allocations: 12.8 kB / 0.762 GB, free: 4.574 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.00387, allocations: 0 / 0.762 GB, free: 4.574 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.268e-05/0.003922, allocations: 37.69 kB / 0.762 GB, free: 4.531 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/0.003935, allocations: 4 kB / 0.762 GB, free: 4.527 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.003939, allocations: 0 / 0.762 GB, free: 4.527 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/0.003951, allocations: 3.031 kB / 0.762 GB, free: 4.527 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.661e-05/0.003997, allocations: 5.094 kB / 0.762 GB, free: 4.523 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.354e-06/0.004, allocations: 0 / 0.762 GB, free: 4.523 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.136e-05/0.004011, allocations: 0 / 0.762 GB, free: 4.523 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.149e-05/0.004023, allocations: 0 / 0.762 GB, free: 4.523 MB / 0.7136 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 6.439e-05/0.004087, allocations: 113.8 kB / 0.7621 GB, free: 4.402 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.767e-06/0.004096, allocations: 3.984 kB / 0.7621 GB, free: 4.398 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.809e-05/0.004174, allocations: 38.14 kB / 0.7622 GB, free: 4.355 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.004176, allocations: 0.6562 kB / 0.7622 GB, free: 4.355 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.373e-06/0.004178, allocations: 0 / 0.7622 GB, free: 4.355 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.004181, allocations: 1.062 kB / 0.7622 GB, free: 4.355 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.261e-05/0.004243, allocations: 70.48 kB / 0.7622 GB, free: 4.27 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.004244, allocations: 0 / 0.7622 GB, free: 4.27 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.659e-05/0.004261, allocations: 6.484 kB / 0.7622 GB, free: 4.266 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.004263, allocations: 0 / 0.7622 GB, free: 4.266 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.03e-06/0.004268, allocations: 4 kB / 0.7622 GB, free: 4.262 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.71e-07/0.004269, allocations: 0 / 0.7622 GB, free: 4.262 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.00427, allocations: 0.9844 kB / 0.7622 GB, free: 4.262 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003646/0.004634, allocations: 61.06 kB / 0.7623 GB, free: 4.184 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.263e-06/0.004641, allocations: 11.06 kB / 0.7623 GB, free: 4.176 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.935e-06/0.004649, allocations: 0 / 0.7623 GB, free: 4.176 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.746e-06/0.004658, allocations: 0 / 0.7623 GB, free: 4.176 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.134e-05/0.004669, allocations: 0 / 0.7623 GB, free: 4.176 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.078e-06/0.004674, allocations: 0 / 0.7623 GB, free: 4.176 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 8.295e-06/0.004682, allocations: 8.859 kB / 0.7623 GB, free: 4.164 MB / 0.7136 GB Notification: Performance of sort global known variables: time 7e-08/0.004682, allocations: 0 / 0.7623 GB, free: 4.164 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001714/0.004853, allocations: 5.094 kB / 0.7623 GB, free: 4.16 MB / 0.7136 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.000119/0.004972, allocations: 85.94 kB / 0.7624 GB, free: 4.066 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 5.056e-05/0.005023, allocations: 8.859 kB / 0.7624 GB, free: 4.055 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.005026, allocations: 4 kB / 0.7624 GB, free: 4.051 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.811e-06/0.005032, allocations: 10.23 kB / 0.7624 GB, free: 4.039 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 4.695e-05/0.005079, allocations: 5.656 kB / 0.7624 GB, free: 4.035 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001408/0.00522, allocations: 97.11 kB / 0.7625 GB, free: 3.914 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.336e-05/0.005243, allocations: 51.36 kB / 0.7626 GB, free: 3.844 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 1.861e-05/0.005262, allocations: 4 kB / 0.7626 GB, free: 3.84 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.024e-05/0.005292, allocations: 50.27 kB / 0.7626 GB, free: 3.793 MB / 0.7136 GB Notification: Performance of SimCode: time 3.51e-07/0.005292, allocations: 0 / 0.7626 GB, free: 3.793 MB / 0.7136 GB Notification: Performance of Templates: time 0.001606/0.006899, allocations: 355.3 kB / 0.763 GB, free: 3.457 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.Polynomial.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.Polynomial.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.Polynomial -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.Polynomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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: 4.865151968318969]