Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0009284/0.0009284, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.001088/0.001088, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.852/0.852, allocations: 177.1 MB / 203.5 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.632/1.632, allocations: 359 MB / 0.6044 GB, free: 11.07 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Utilities.Math.Functions.Examples.Polynomial") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 0.9518 GB, free: 2.938 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.216e-05/2.394e-05, allocations: 9.453 kB / 0.9518 GB, free: 2.93 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Polynomial): time 0.001038/0.001062, allocations: 0.5917 MB / 0.9524 GB, free: 2.332 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0001985/0.00126, allocations: 27.89 kB / 0.9524 GB, free: 2.305 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.389e-05/0.001274, allocations: 0 / 0.9524 GB, free: 2.305 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 1.513e-05/0.001289, allocations: 0 / 0.9524 GB, free: 2.305 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 9.648e-06/0.001299, allocations: 0 / 0.9524 GB, free: 2.305 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003201/0.001619, allocations: 19.97 kB / 0.9524 GB, free: 2.285 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 4.322e-05/0.001662, allocations: 0 / 0.9524 GB, free: 2.285 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 3.88e-05/0.001701, allocations: 4 kB / 0.9524 GB, free: 2.281 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 2.66e-05/0.001727, allocations: 0 / 0.9524 GB, free: 2.281 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 2.507e-05/0.001753, allocations: 0 / 0.9524 GB, free: 2.281 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.281e-05/0.001765, allocations: 4 kB / 0.9524 GB, free: 2.277 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 8.744e-05/0.001853, allocations: 31.78 kB / 0.9524 GB, free: 2.246 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 9.067e-06/0.001862, allocations: 0 / 0.9524 GB, free: 2.246 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 1.326e-05/0.001875, allocations: 0 / 0.9524 GB, free: 2.246 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 9.365e-05/0.001969, allocations: 19.97 kB / 0.9525 GB, free: 2.227 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.693e-06/0.00197, allocations: 0 / 0.9525 GB, free: 2.227 MB / 0.9011 GB Notification: Performance of FrontEnd: time 8.42e-07/0.001971, allocations: 0 / 0.9525 GB, free: 2.227 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.468e-06/0.001976, allocations: 0 / 0.9525 GB, free: 2.227 MB / 0.9011 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.0002532/0.002229, allocations: 242.4 kB / 0.9527 GB, free: 1.957 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.302e-05/0.002272, allocations: 8.031 kB / 0.9527 GB, free: 1.949 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.574e-05/0.002308, allocations: 0.9375 kB / 0.9527 GB, free: 1.949 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.354e-05/0.002371, allocations: 109.8 kB / 0.9528 GB, free: 1.816 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.143e-05/0.002383, allocations: 4.375 kB / 0.9528 GB, free: 1.812 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.686e-06/0.002391, allocations: 384 / 0.9528 GB, free: 1.812 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.268e-05/0.002474, allocations: 30.25 kB / 0.9528 GB, free: 1.777 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.194e-06/0.002481, allocations: 192 / 0.9528 GB, free: 1.777 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.706e-06/0.00249, allocations: 384 / 0.9528 GB, free: 1.777 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.403e-06/0.002496, allocations: 12.3 kB / 0.9529 GB, free: 1.766 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.023e-05/0.002517, allocations: 3.938 kB / 0.9529 GB, free: 1.762 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001026/0.002619, allocations: 97.27 kB / 0.953 GB, free: 1.637 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 3.822e-05/0.002657, allocations: 18.61 kB / 0.953 GB, free: 1.609 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.69e-05/0.002674, allocations: 12.86 kB / 0.953 GB, free: 1.594 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 3.765e-05/0.002712, allocations: 4.062 kB / 0.953 GB, free: 1.59 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.815e-05/0.00273, allocations: 34.55 kB / 0.953 GB, free: 1.547 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=1): time 6.61e-07/0.002731, allocations: 0 / 0.953 GB, free: 1.547 MB / 0.9011 GB Notification: Performance of matching and sorting (n=1): time 0.0001284/0.002859, allocations: 37.64 kB / 0.9531 GB, free: 1.504 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.917e-05/0.002888, allocations: 51.41 kB / 0.9531 GB, free: 1.441 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.614e-05/0.002914, allocations: 89.86 kB / 0.9532 GB, free: 1.344 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 1.035e-05/0.002925, allocations: 25.7 kB / 0.9532 GB, free: 1.312 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 1.897e-05/0.002944, allocations: 84.08 kB / 0.9533 GB, free: 1.227 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 2.945e-05/0.002973, allocations: 3.953 kB / 0.9533 GB, free: 1.223 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.389e-05/0.002997, allocations: 21.84 kB / 0.9533 GB, free: 1.195 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 8.15e-05/0.003079, allocations: 318.8 kB / 0.9536 GB, free: 0.875 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.835e-06/0.003086, allocations: 0 / 0.9536 GB, free: 0.875 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.681e-06/0.003092, allocations: 4 kB / 0.9536 GB, free: 0.8711 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.27e-05/0.003115, allocations: 8.797 kB / 0.9536 GB, free: 0.8594 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.003118, allocations: 4 kB / 0.9536 GB, free: 0.8555 MB / 0.9011 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.126e-05/0.003149, allocations: 29.7 kB / 0.9537 GB, free: 0.8203 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.091e-05/0.00316, allocations: 4 kB / 0.9537 GB, free: 0.8164 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-06/0.003164, allocations: 0 / 0.9537 GB, free: 0.8164 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.005e-05/0.003174, allocations: 4.094 kB / 0.9537 GB, free: 0.8125 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.445e-05/0.003228, allocations: 11.98 kB / 0.9537 GB, free: 0.8008 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.003233, allocations: 0 / 0.9537 GB, free: 0.8008 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.338e-06/0.003242, allocations: 7.938 kB / 0.9537 GB, free: 0.793 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.393e-05/0.003256, allocations: 4 kB / 0.9537 GB, free: 0.7891 MB / 0.9011 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.864e-05/0.003305, allocations: 105.8 kB / 0.9538 GB, free: 0.6758 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.605e-06/0.003307, allocations: 0 / 0.9538 GB, free: 0.6758 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.119e-05/0.003379, allocations: 48.62 kB / 0.9538 GB, free: 0.625 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.81e-07/0.003379, allocations: 0 / 0.9538 GB, free: 0.625 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.003383, allocations: 0 / 0.9538 GB, free: 0.625 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.003386, allocations: 3.938 kB / 0.9538 GB, free: 0.6211 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.683e-05/0.003432, allocations: 101.3 kB / 0.9539 GB, free: 0.4922 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.71e-07/0.003433, allocations: 0 / 0.9539 GB, free: 0.4922 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.334e-06/0.00344, allocations: 4 kB / 0.9539 GB, free: 500 kB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.52e-07/0.003441, allocations: 0 / 0.9539 GB, free: 500 kB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.661e-06/0.003447, allocations: 0 / 0.9539 GB, free: 500 kB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.41e-07/0.003447, allocations: 0 / 0.9539 GB, free: 500 kB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.003449, allocations: 3.984 kB / 0.954 GB, free: 496 kB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.258e-05/0.003491, allocations: 61.11 kB / 0.954 GB, free: 416 kB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 3.627e-06/0.003495, allocations: 4 kB / 0.954 GB, free: 412 kB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.605e-06/0.003503, allocations: 0 / 0.954 GB, free: 412 kB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.098e-06/0.003507, allocations: 0 / 0.954 GB, free: 412 kB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.443e-05/0.003521, allocations: 7.922 kB / 0.954 GB, free: 404 kB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.715e-06/0.003524, allocations: 4 kB / 0.954 GB, free: 400 kB / 0.9011 GB Notification: Performance of sorting global known variables: time 1.943e-05/0.003543, allocations: 79.28 kB / 0.9541 GB, free: 320 kB / 0.9011 GB Notification: Performance of sort global known variables: time 5e-08/0.003543, allocations: 3.938 kB / 0.9541 GB, free: 316 kB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0001224/0.003666, allocations: 4 kB / 0.9541 GB, free: 312 kB / 0.9011 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.0001026/0.003768, allocations: 103.2 kB / 0.9542 GB, free: 196 kB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 5.491e-05/0.003823, allocations: 4 kB / 0.9542 GB, free: 192 kB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.003826, allocations: 4 kB / 0.9542 GB, free: 188 kB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 3.567e-06/0.003829, allocations: 0 / 0.9542 GB, free: 188 kB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.392e-05/0.003923, allocations: 2.062 kB / 0.9542 GB, free: 188 kB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001745/0.004098, allocations: 114.5 kB / 0.9543 GB, free: 40 kB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.952e-05/0.004147, allocations: 55.41 kB / 0.9544 GB, free: 15.96 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.112e-05/0.004168, allocations: 12.44 kB / 0.9544 GB, free: 15.95 MB / 0.9167 GB Notification: Performance of SimCode: time 4.8e-07/0.004169, allocations: 4.125 kB / 0.9544 GB, free: 15.95 MB / 0.9167 GB Notification: Performance of Templates: time 0.001257/0.005426, allocations: 468.3 kB / 0.9548 GB, free: 15.49 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.Polynomial.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.Polynomial.sim & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.Polynomial -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.Polynomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_Polynomial.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.Polynomial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.446184705942869]