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.001822/0.001822, allocations: 83.69 kB / 20.24 MB, free: 4.188 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.001962/0.001962, allocations: 157.3 kB / 23.55 MB, free: 0.875 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.543/1.543, allocations: 177.1 MB / 203.9 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 178] 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 3.036/3.036, allocations: 377.9 MB / 0.6232 GB, free: 8.543 MB / 0.5886 GB " [Timeout remaining time 176] 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.443e-06/1.443e-06, allocations: 0 / 0.8109 GB, free: 2.098 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.421e-05/2.565e-05, allocations: 4.703 kB / 0.8109 GB, free: 2.094 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Polynomial): time 0.001924/0.001949, allocations: 0.5902 MB / 0.8114 GB, free: 1.527 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0002321/0.002181, allocations: 39.83 kB / 0.8115 GB, free: 1.488 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.049e-05/0.002192, allocations: 1.094 kB / 0.8115 GB, free: 1.488 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 1.008e-05/0.002202, allocations: 0 / 0.8115 GB, free: 1.488 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 5.129e-06/0.002207, allocations: 0 / 0.8115 GB, free: 1.488 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.000269/0.002476, allocations: 9.547 kB / 0.8115 GB, free: 1.48 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 4.36e-05/0.00252, allocations: 7.984 kB / 0.8115 GB, free: 1.473 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 3.338e-05/0.002553, allocations: 0 / 0.8115 GB, free: 1.473 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 2.635e-05/0.002579, allocations: 0 / 0.8115 GB, free: 1.473 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 3.001e-05/0.002609, allocations: 13.14 kB / 0.8115 GB, free: 1.461 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.168e-05/0.002621, allocations: 0 / 0.8115 GB, free: 1.461 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 8.886e-05/0.00271, allocations: 15.92 kB / 0.8115 GB, free: 1.445 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.039e-05/0.00272, allocations: 5.594 kB / 0.8115 GB, free: 1.441 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 1.307e-05/0.002733, allocations: 0 / 0.8115 GB, free: 1.441 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 9.792e-05/0.002831, allocations: 19.95 kB / 0.8115 GB, free: 1.422 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.023e-06/0.002833, allocations: 4 kB / 0.8116 GB, free: 1.418 MB / 0.7605 GB Notification: Performance of FrontEnd: time 5.01e-07/0.002834, allocations: 0.7188 kB / 0.8116 GB, free: 1.418 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.496e-06/0.002837, allocations: 0 / 0.8116 GB, free: 1.418 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.0003884/0.003226, allocations: 340.9 kB / 0.8119 GB, free: 1.047 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.618e-05/0.003262, allocations: 12.02 kB / 0.8119 GB, free: 1.035 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.322e-05/0.003295, allocations: 2.594 kB / 0.8119 GB, free: 1.035 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.495e-05/0.00339, allocations: 108.6 kB / 0.812 GB, free: 0.9023 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.326e-05/0.003403, allocations: 4.359 kB / 0.812 GB, free: 0.8984 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.422e-06/0.00341, allocations: 384 / 0.812 GB, free: 0.8984 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.62e-05/0.003496, allocations: 30.92 kB / 0.812 GB, free: 0.8633 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.003507, allocations: 5.219 kB / 0.812 GB, free: 0.8594 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.803e-06/0.003514, allocations: 384 / 0.812 GB, free: 0.8594 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.003517, allocations: 384 / 0.812 GB, free: 0.8594 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.209e-05/0.00354, allocations: 5.094 kB / 0.812 GB, free: 0.8555 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001468/0.003686, allocations: 112.6 kB / 0.8121 GB, free: 0.7109 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 5.694e-05/0.003743, allocations: 27.06 kB / 0.8122 GB, free: 0.6719 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.399e-05/0.003767, allocations: 13.16 kB / 0.8122 GB, free: 0.6562 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 3.162e-05/0.003799, allocations: 0 / 0.8122 GB, free: 0.6562 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.918e-05/0.003838, allocations: 37.39 kB / 0.8122 GB, free: 0.6094 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=1): time 6.82e-07/0.003839, allocations: 0 / 0.8122 GB, free: 0.6094 MB / 0.7605 GB Notification: Performance of matching and sorting (n=1): time 0.0001421/0.003981, allocations: 35.39 kB / 0.8123 GB, free: 0.5703 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.542e-05/0.004026, allocations: 55.34 kB / 0.8123 GB, free: 0.5039 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.856e-05/0.004115, allocations: 150.2 kB / 0.8125 GB, free: 352 kB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 1.942e-05/0.004134, allocations: 25.7 kB / 0.8125 GB, free: 320 kB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 6.705e-05/0.004201, allocations: 132.8 kB / 0.8126 GB, free: 184 kB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 2.389e-05/0.004225, allocations: 0 / 0.8126 GB, free: 184 kB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.636e-05/0.004262, allocations: 15.38 kB / 0.8126 GB, free: 160 kB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0002727/0.004534, allocations: 0.4883 MB / 0.8131 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.989e-06/0.004544, allocations: 0 / 0.8131 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.8e-06/0.00455, allocations: 0.7188 kB / 0.8131 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.377e-05/0.004584, allocations: 18 kB / 0.8131 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.004585, allocations: 0 / 0.8131 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.236e-05/0.004648, allocations: 41.69 kB / 0.8132 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.004664, allocations: 4 kB / 0.8132 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.004669, allocations: 0 / 0.8132 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.004682, allocations: 1.906 kB / 0.8132 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.13e-05/0.004733, allocations: 4 kB / 0.8132 GB, free: 15.58 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.007e-06/0.004737, allocations: 0 / 0.8132 GB, free: 15.58 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.442e-05/0.004752, allocations: 3.938 kB / 0.8132 GB, free: 15.58 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.128e-05/0.004763, allocations: 0 / 0.8132 GB, free: 15.58 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 0.0001208/0.004884, allocations: 157.1 kB / 0.8133 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.373e-06/0.004891, allocations: 0.5 kB / 0.8133 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001014/0.004992, allocations: 46.5 kB / 0.8134 GB, free: 15.37 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-06/0.004994, allocations: 0 / 0.8134 GB, free: 15.37 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.004997, allocations: 4 kB / 0.8134 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.924e-06/0.004999, allocations: 2.5 kB / 0.8134 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001067/0.005105, allocations: 112.6 kB / 0.8135 GB, free: 15.22 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.005109, allocations: 4 kB / 0.8135 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.889e-05/0.005127, allocations: 4 kB / 0.8135 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.252e-06/0.005129, allocations: 0 / 0.8135 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.741e-06/0.005134, allocations: 0 / 0.8135 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.005135, allocations: 0 / 0.8135 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.005136, allocations: 1.156 kB / 0.8135 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001037/0.00524, allocations: 84.27 kB / 0.8136 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 3.547e-06/0.005243, allocations: 0.6875 kB / 0.8136 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.115e-06/0.005252, allocations: 0 / 0.8136 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.077e-05/0.005262, allocations: 4.656 kB / 0.8136 GB, free: 15.1 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.608e-05/0.005278, allocations: 3.938 kB / 0.8136 GB, free: 15.1 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.426e-06/0.005282, allocations: 0.8438 kB / 0.8136 GB, free: 15.1 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 6.309e-05/0.005345, allocations: 119.2 kB / 0.8137 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.005345, allocations: 3.688 kB / 0.8137 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001792/0.005524, allocations: 4 kB / 0.8137 GB, free: 14.98 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 0.0001535/0.005678, allocations: 111.1 kB / 0.8138 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 8.62e-05/0.005764, allocations: 11.69 kB / 0.8138 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.532e-06/0.005765, allocations: 0 / 0.8138 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.986e-05/0.005785, allocations: 11.69 kB / 0.8138 GB, free: 14.83 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001222/0.005907, allocations: 4 kB / 0.8138 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002106/0.006118, allocations: 85.94 kB / 0.8139 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.697e-05/0.006175, allocations: 59.34 kB / 0.814 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.078e-05/0.006196, allocations: 0.9375 kB / 0.814 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.472e-05/0.00622, allocations: 9.625 kB / 0.814 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of SimCode: time 4.31e-07/0.006221, allocations: 0 / 0.814 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of Templates: time 0.002931/0.009152, allocations: 318.5 kB / 0.8143 GB, free: 14.32 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 7.885609361925162]