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.0009525/0.0009525, allocations: 87.58 kB / 20.45 MB, free: 4.113 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.0009362/0.0009362, allocations: 161 kB / 23.82 MB, free: 0.7461 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.946/0.946, allocations: 177.2 MB / 204.2 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.831/1.831, allocations: 377.9 MB / 0.6236 GB, free: 8.543 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.634e-06/1.634e-06, allocations: 0 / 0.8116 GB, free: 1.691 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.46e-05/1.623e-05, allocations: 6.25 kB / 0.8116 GB, free: 1.684 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Polynomial): time 0.0009735/0.0009897, allocations: 0.6087 MB / 0.8122 GB, free: 1.098 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0001776/0.001167, allocations: 31.89 kB / 0.8122 GB, free: 1.066 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.117e-05/0.001178, allocations: 4.969 kB / 0.8122 GB, free: 1.062 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 1.503e-05/0.001193, allocations: 0 / 0.8122 GB, free: 1.062 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 5.861e-06/0.001199, allocations: 0 / 0.8122 GB, free: 1.062 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.000272/0.001471, allocations: 9.672 kB / 0.8122 GB, free: 1.055 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 4.015e-05/0.001511, allocations: 4 kB / 0.8122 GB, free: 1.051 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 2.916e-05/0.001541, allocations: 0 / 0.8122 GB, free: 1.051 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 2.284e-05/0.001563, allocations: 0 / 0.8122 GB, free: 1.051 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 2.113e-05/0.001585, allocations: 1.531 kB / 0.8122 GB, free: 1.051 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.074e-05/0.001595, allocations: 0 / 0.8122 GB, free: 1.051 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 7.532e-05/0.001671, allocations: 23.91 kB / 0.8123 GB, free: 1.027 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 9.358e-06/0.00168, allocations: 3.938 kB / 0.8123 GB, free: 1.023 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 1.323e-05/0.001693, allocations: 5.375 kB / 0.8123 GB, free: 1.02 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 8.445e-05/0.001778, allocations: 19.95 kB / 0.8123 GB, free: 1 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 1.724e-06/0.001779, allocations: 0 / 0.8123 GB, free: 1 MB / 0.7605 GB Notification: Performance of FrontEnd: time 4.01e-07/0.00178, allocations: 4 kB / 0.8123 GB, free: 0.9961 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 2.865e-06/0.001783, allocations: 1.75 kB / 0.8123 GB, free: 0.9961 MB / 0.7605 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.0002296/0.002012, allocations: 336.4 kB / 0.8126 GB, free: 0.6289 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.301e-05/0.002045, allocations: 8.031 kB / 0.8126 GB, free: 0.6211 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.438e-05/0.00208, allocations: 4.938 kB / 0.8126 GB, free: 0.6172 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.712e-05/0.002147, allocations: 117.8 kB / 0.8127 GB, free: 488 kB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.013e-05/0.002157, allocations: 384 / 0.8127 GB, free: 488 kB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.785e-06/0.002165, allocations: 384 / 0.8127 GB, free: 488 kB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.222e-05/0.002237, allocations: 31.36 kB / 0.8128 GB, free: 452 kB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.284e-06/0.002244, allocations: 4.125 kB / 0.8128 GB, free: 448 kB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.804e-06/0.002252, allocations: 384 / 0.8128 GB, free: 448 kB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.002257, allocations: 1.219 kB / 0.8128 GB, free: 448 kB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.289e-05/0.00227, allocations: 3.938 kB / 0.8128 GB, free: 444 kB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.194e-05/0.002352, allocations: 110.8 kB / 0.8129 GB, free: 300 kB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 3.44e-05/0.002387, allocations: 27.06 kB / 0.8129 GB, free: 260 kB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.601e-05/0.002403, allocations: 15.77 kB / 0.8129 GB, free: 240 kB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 2.901e-05/0.002432, allocations: 0 / 0.8129 GB, free: 240 kB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.865e-05/0.00245, allocations: 33.39 kB / 0.813 GB, free: 196 kB / 0.7605 GB Notification: Performance of pre-optimization done (n=1): time 5.21e-07/0.002451, allocations: 0.5312 kB / 0.813 GB, free: 196 kB / 0.7605 GB Notification: Performance of matching and sorting (n=1): time 9.83e-05/0.002549, allocations: 38.36 kB / 0.813 GB, free: 152 kB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.384e-05/0.002573, allocations: 51.41 kB / 0.8131 GB, free: 88 kB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.176e-05/0.002615, allocations: 142.8 kB / 0.8132 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 6.983e-06/0.002622, allocations: 27.3 kB / 0.8132 GB, free: 15.9 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 2.341e-05/0.002645, allocations: 126.9 kB / 0.8133 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.418e-05/0.002669, allocations: 4 kB / 0.8133 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.334e-05/0.002693, allocations: 23.36 kB / 0.8134 GB, free: 15.74 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001002/0.002793, allocations: 496.7 kB / 0.8138 GB, free: 15.24 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.055e-06/0.002801, allocations: 7.938 kB / 0.8138 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.25e-06/0.002806, allocations: 0.875 kB / 0.8138 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.348e-05/0.00284, allocations: 16.12 kB / 0.8139 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.002841, allocations: 0.6562 kB / 0.8139 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.472e-05/0.002876, allocations: 33.7 kB / 0.8139 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.153e-05/0.002887, allocations: 8.609 kB / 0.8139 GB, free: 15.17 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.329e-06/0.002892, allocations: 0.8125 kB / 0.8139 GB, free: 15.17 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.109e-05/0.002903, allocations: 4 kB / 0.8139 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.682e-05/0.00295, allocations: 0.9375 kB / 0.8139 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.002954, allocations: 0 / 0.8139 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.616e-06/0.002963, allocations: 4.281 kB / 0.8139 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.157e-05/0.002974, allocations: 5.219 kB / 0.8139 GB, free: 15.16 MB / 0.7761 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.152e-05/0.003026, allocations: 152.6 kB / 0.8141 GB, free: 15 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.506e-06/0.003029, allocations: 0 / 0.8141 GB, free: 15 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.323e-05/0.003103, allocations: 51.86 kB / 0.8141 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-06/0.003104, allocations: 0 / 0.8141 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.003107, allocations: 0 / 0.8141 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.275e-06/0.003109, allocations: 0 / 0.8141 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.089e-05/0.00316, allocations: 112.6 kB / 0.8142 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.003162, allocations: 8 kB / 0.8142 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.225e-06/0.003171, allocations: 7.328 kB / 0.8142 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.042e-06/0.003172, allocations: 0 / 0.8142 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.159e-06/0.003177, allocations: 0 / 0.8142 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.51e-07/0.003178, allocations: 0 / 0.8142 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.003179, allocations: 4 kB / 0.8142 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.711e-05/0.003226, allocations: 68.33 kB / 0.8143 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 4.238e-06/0.003231, allocations: 4 kB / 0.8143 GB, free: 14.69 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.825e-06/0.003239, allocations: 3.984 kB / 0.8143 GB, free: 14.69 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.138e-06/0.003243, allocations: 1 kB / 0.8143 GB, free: 14.69 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.543e-05/0.003258, allocations: 4 kB / 0.8143 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.976e-06/0.003261, allocations: 4 kB / 0.8143 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 2.324e-05/0.003284, allocations: 119.7 kB / 0.8144 GB, free: 14.56 MB / 0.7761 GB Notification: Performance of sort global known variables: time 4.1e-08/0.003284, allocations: 0.5625 kB / 0.8144 GB, free: 14.56 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001168/0.003401, allocations: 4 kB / 0.8144 GB, free: 14.56 MB / 0.7761 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 9.973e-05/0.003501, allocations: 104.8 kB / 0.8145 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 6.533e-05/0.003566, allocations: 19.61 kB / 0.8146 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.195e-06/0.003568, allocations: 5.094 kB / 0.8146 GB, free: 14.42 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 6.743e-06/0.003575, allocations: 7.688 kB / 0.8146 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.818e-05/0.003663, allocations: 2.719 kB / 0.8146 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001641/0.003827, allocations: 92.45 kB / 0.8147 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.474e-05/0.003852, allocations: 51.36 kB / 0.8147 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.736e-05/0.00387, allocations: 6 kB / 0.8147 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.726e-05/0.003887, allocations: 13.52 kB / 0.8147 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of SimCode: time 3.31e-07/0.003887, allocations: 0 / 0.8147 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of Templates: time 0.001659/0.005546, allocations: 332.9 kB / 0.815 GB, free: 13.89 MB / 0.7761 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 -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.831618926022202]