Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001145/0.001145, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001573/0.002718, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001127/0.001127, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001296/0.002422, allocations: 459.6 kB / 11.71 MB, free: 2.457 MB / 13.93 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.9413/0.9413, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08819/1.029, allocations: 53.65 MB / 243.3 MB, free: 15.58 MB / 250.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.855/1.855, allocations: 378.2 MB / 0.6076 GB, free: 7.812 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.516/2.371, allocations: 123.3 MB / 0.728 GB, free: 5.809 MB / 0.698 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.Examples.Polynomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|polynominal.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.Polynomial") translateModel(Buildings.Utilities.Math.Examples.Polynomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|polynominal.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.Polynomial") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.923e-06/1.923e-06, allocations: 0.6562 kB / 0.7293 GB, free: 4.5 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.652e-05/2.844e-05, allocations: 4.703 kB / 0.7293 GB, free: 4.496 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Polynomial): time 0.003216/0.003245, allocations: 1.551 MB / 0.7309 GB, free: 2.957 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0002241/0.003469, allocations: 87.75 kB / 0.7309 GB, free: 2.871 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.14e-05/0.0035, allocations: 3.938 kB / 0.7309 GB, free: 2.867 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 5.176e-05/0.003552, allocations: 4 kB / 0.731 GB, free: 2.863 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 3.214e-05/0.003584, allocations: 2.922 kB / 0.731 GB, free: 2.863 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001954/0.00378, allocations: 24.7 kB / 0.731 GB, free: 2.84 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 8.108e-05/0.003861, allocations: 24.7 kB / 0.731 GB, free: 2.82 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 7.961e-05/0.00394, allocations: 6 kB / 0.731 GB, free: 2.816 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 6.866e-05/0.004009, allocations: 17.81 kB / 0.731 GB, free: 2.801 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 4.855e-05/0.004058, allocations: 12.75 kB / 0.731 GB, free: 2.789 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.55e-05/0.004073, allocations: 0 / 0.731 GB, free: 2.789 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001228/0.004196, allocations: 21.34 kB / 0.7311 GB, free: 2.77 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 3.92e-05/0.004235, allocations: 9.859 kB / 0.7311 GB, free: 2.762 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 2.043e-05/0.004256, allocations: 5.531 kB / 0.7311 GB, free: 2.758 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001276/0.004383, allocations: 31.09 kB / 0.7311 GB, free: 2.73 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.674e-05/0.0044, allocations: 0 / 0.7311 GB, free: 2.73 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.424e-06/0.004402, allocations: 4.75 kB / 0.7311 GB, free: 2.727 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.753e-05/0.00442, allocations: 0 / 0.7311 GB, free: 2.727 MB / 0.698 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.0004104/0.00483, allocations: 241.2 kB / 0.7313 GB, free: 2.465 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/0.004867, allocations: 11.97 kB / 0.7313 GB, free: 2.453 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.536e-05/0.004903, allocations: 1.625 kB / 0.7313 GB, free: 2.453 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.859e-05/0.005001, allocations: 111.5 kB / 0.7315 GB, free: 2.32 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.501e-05/0.005016, allocations: 9.125 kB / 0.7315 GB, free: 2.312 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.025e-06/0.005024, allocations: 384 / 0.7315 GB, free: 2.312 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001355/0.00516, allocations: 57.78 kB / 0.7315 GB, free: 2.246 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.246e-06/0.005168, allocations: 192 / 0.7315 GB, free: 2.246 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.993e-06/0.005175, allocations: 1.438 kB / 0.7315 GB, free: 2.246 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.72e-06/0.005181, allocations: 384 / 0.7315 GB, free: 2.246 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.194e-05/0.005213, allocations: 7.938 kB / 0.7315 GB, free: 2.238 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002394/0.005452, allocations: 151 kB / 0.7317 GB, free: 2.074 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.609e-05/0.005518, allocations: 66.41 kB / 0.7317 GB, free: 2 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.161e-05/0.00554, allocations: 12.92 kB / 0.7317 GB, free: 1.984 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.898e-05/0.005589, allocations: 4.625 kB / 0.7318 GB, free: 1.98 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.567e-05/0.005614, allocations: 34.56 kB / 0.7318 GB, free: 1.938 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.212e-06/0.005616, allocations: 1.75 kB / 0.7318 GB, free: 1.938 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0001248/0.00574, allocations: 38.39 kB / 0.7318 GB, free: 1.895 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.72e-05/0.005778, allocations: 55.34 kB / 0.7319 GB, free: 1.828 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001218/0.005899, allocations: 111.4 kB / 0.732 GB, free: 1.707 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.235e-05/0.005912, allocations: 25.7 kB / 0.732 GB, free: 1.676 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.821e-05/0.00595, allocations: 89.89 kB / 0.7321 GB, free: 1.586 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.003e-05/0.00597, allocations: 11.89 kB / 0.7321 GB, free: 1.574 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.142e-05/0.006001, allocations: 17.7 kB / 0.7321 GB, free: 1.551 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.523e-05/0.006097, allocations: 311.5 kB / 0.7324 GB, free: 1.238 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.824e-05/0.006115, allocations: 6.828 kB / 0.7324 GB, free: 1.23 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.909e-06/0.006125, allocations: 0.9375 kB / 0.7324 GB, free: 1.23 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.993e-05/0.006155, allocations: 16.2 kB / 0.7324 GB, free: 1.211 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.006157, allocations: 0 / 0.7324 GB, free: 1.211 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.353e-05/0.00622, allocations: 38.7 kB / 0.7325 GB, free: 1.168 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.006238, allocations: 8.766 kB / 0.7325 GB, free: 1.16 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.006243, allocations: 0.8125 kB / 0.7325 GB, free: 1.16 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.859e-06/0.006253, allocations: 0 / 0.7325 GB, free: 1.16 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.823e-05/0.006341, allocations: 12.7 kB / 0.7325 GB, free: 1.148 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.528e-06/0.006345, allocations: 5.016 kB / 0.7325 GB, free: 1.145 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.854e-05/0.006374, allocations: 8 kB / 0.7325 GB, free: 1.137 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.689e-06/0.006379, allocations: 0 / 0.7325 GB, free: 1.137 MB / 0.698 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 6.447e-05/0.006443, allocations: 110 kB / 0.7326 GB, free: 1.02 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.303e-05/0.006466, allocations: 5.781 kB / 0.7326 GB, free: 1.016 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.249e-05/0.006558, allocations: 45.25 kB / 0.7327 GB, free: 0.9609 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.006563, allocations: 3.984 kB / 0.7327 GB, free: 0.957 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.006568, allocations: 7.938 kB / 0.7327 GB, free: 0.9492 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.006571, allocations: 1.219 kB / 0.7327 GB, free: 0.9492 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001142/0.006686, allocations: 65.89 kB / 0.7327 GB, free: 0.8672 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.006687, allocations: 0.7656 kB / 0.7327 GB, free: 0.8672 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.205e-05/0.006739, allocations: 9.891 kB / 0.7328 GB, free: 0.8594 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.456e-06/0.006748, allocations: 4 kB / 0.7328 GB, free: 0.8555 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.006751, allocations: 0 / 0.7328 GB, free: 0.8555 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.127e-06/0.006755, allocations: 0 / 0.7328 GB, free: 0.8555 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.963e-06/0.006757, allocations: 0 / 0.7328 GB, free: 0.8555 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.45e-06/0.006762, allocations: 8.672 kB / 0.7328 GB, free: 0.8477 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001175/0.00688, allocations: 183.2 kB / 0.7329 GB, free: 0.6523 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.839e-06/0.00689, allocations: 4.656 kB / 0.7329 GB, free: 0.6484 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.619e-05/0.006946, allocations: 0.75 kB / 0.7329 GB, free: 0.6484 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.322e-05/0.006979, allocations: 11.92 kB / 0.733 GB, free: 0.6367 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.058e-06/0.006983, allocations: 1.656 kB / 0.733 GB, free: 0.6367 MB / 0.698 GB Notification: Performance of sorting global known variables: time 1.972e-05/0.007003, allocations: 12.8 kB / 0.733 GB, free: 0.6211 MB / 0.698 GB Notification: Performance of sort global known variables: time 1e-07/0.007003, allocations: 0 / 0.733 GB, free: 0.6211 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001979/0.007201, allocations: 8 kB / 0.733 GB, free: 0.6133 MB / 0.698 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 0.0001262/0.007327, allocations: 85.47 kB / 0.7331 GB, free: 0.5234 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 7.452e-05/0.007401, allocations: 18.02 kB / 0.7331 GB, free: 0.5039 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.67e-06/0.007407, allocations: 0 / 0.7331 GB, free: 0.5039 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.804e-05/0.007425, allocations: 9.422 kB / 0.7331 GB, free: 0.4922 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001822/0.007607, allocations: 7.844 kB / 0.7331 GB, free: 500 kB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004484/0.008056, allocations: 131.6 kB / 0.7332 GB, free: 340 kB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.835e-05/0.008094, allocations: 51.36 kB / 0.7333 GB, free: 268 kB / 0.698 GB Notification: Performance of simCode: alias equations: time 2.573e-05/0.00812, allocations: 5.906 kB / 0.7333 GB, free: 264 kB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.9e-05/0.008169, allocations: 47.38 kB / 0.7333 GB, free: 216 kB / 0.698 GB Notification: Performance of SimCode: time 7.31e-07/0.00817, allocations: 0 / 0.7333 GB, free: 216 kB / 0.698 GB Notification: Performance of Templates: time 0.002849/0.01102, allocations: 0.5876 MB / 0.7339 GB, free: 15.65 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.Polynomial.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.Polynomial.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.Polynomial.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.Polynomial.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.Polynomial.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.Polynomial -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.Polynomial.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.Polynomial_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Utilities.Math.Examples.Polynomial/Buildings_12_Buildings.Utilities.Math.Examples.Polynomial.ref.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.808340062387288]