Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001973/0.001973, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 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.002676/0.002676, allocations: 157.7 kB / 22.75 MB, free: 1.684 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.467/1.467, allocations: 177.1 MB / 203.1 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.162/3.162, allocations: 429.6 MB / 0.673 GB, free: 3.875 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Utilities.Math.Functions.Examples.Polynomial") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 0.8776 GB, free: 6.434 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.193e-05/3.354e-05, allocations: 5.391 kB / 0.8776 GB, free: 6.43 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Polynomial): time 0.001891/0.001925, allocations: 0.6044 MB / 0.8782 GB, free: 5.848 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0002293/0.002154, allocations: 15.98 kB / 0.8782 GB, free: 5.832 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.391e-05/0.002168, allocations: 1.906 kB / 0.8783 GB, free: 5.832 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 1.231e-05/0.00218, allocations: 0 / 0.8783 GB, free: 5.832 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 6.793e-06/0.002187, allocations: 3.938 kB / 0.8783 GB, free: 5.828 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.000348/0.002535, allocations: 16.5 kB / 0.8783 GB, free: 5.812 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 4.271e-05/0.002578, allocations: 4.656 kB / 0.8783 GB, free: 5.809 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 4.276e-05/0.00262, allocations: 3.984 kB / 0.8783 GB, free: 5.805 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 2.819e-05/0.002649, allocations: 2.094 kB / 0.8783 GB, free: 5.805 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 2.816e-05/0.002677, allocations: 4 kB / 0.8783 GB, free: 5.801 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.548e-05/0.002692, allocations: 0.7812 kB / 0.8783 GB, free: 5.801 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 9.303e-05/0.002785, allocations: 19.97 kB / 0.8783 GB, free: 5.781 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 8.236e-06/0.002794, allocations: 1.188 kB / 0.8783 GB, free: 5.781 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.968e-05/0.002813, allocations: 0 / 0.8783 GB, free: 5.781 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 9.402e-05/0.002907, allocations: 12.86 kB / 0.8783 GB, free: 5.77 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.002909, allocations: 0 / 0.8783 GB, free: 5.77 MB / 0.8386 GB Notification: Performance of FrontEnd: time 8.11e-07/0.00291, allocations: 0.8438 kB / 0.8783 GB, free: 5.77 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.528e-06/0.002915, allocations: 0 / 0.8783 GB, free: 5.77 MB / 0.8386 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.0003557/0.00327, allocations: 235 kB / 0.8785 GB, free: 5.508 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.00331, allocations: 9.562 kB / 0.8786 GB, free: 5.5 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.493e-05/0.003355, allocations: 1.594 kB / 0.8786 GB, free: 5.5 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001092/0.003464, allocations: 105.8 kB / 0.8787 GB, free: 5.371 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.173e-05/0.003475, allocations: 8.312 kB / 0.8787 GB, free: 5.363 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.366e-06/0.003484, allocations: 1.219 kB / 0.8787 GB, free: 5.363 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.249e-05/0.003576, allocations: 26.27 kB / 0.8787 GB, free: 5.332 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.577e-06/0.003585, allocations: 1.062 kB / 0.8787 GB, free: 5.332 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.524e-05/0.0036, allocations: 8.594 kB / 0.8787 GB, free: 5.324 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.003605, allocations: 4.031 kB / 0.8787 GB, free: 5.324 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.387e-05/0.003629, allocations: 7.875 kB / 0.8787 GB, free: 5.316 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001566/0.003785, allocations: 101.3 kB / 0.8788 GB, free: 5.188 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 6.75e-05/0.003853, allocations: 22.5 kB / 0.8788 GB, free: 5.156 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.996e-05/0.003873, allocations: 4.859 kB / 0.8788 GB, free: 5.148 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.024e-05/0.003913, allocations: 4.094 kB / 0.8788 GB, free: 5.145 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.63e-05/0.003949, allocations: 30.56 kB / 0.8789 GB, free: 5.105 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=1): time 1.333e-06/0.003951, allocations: 0 / 0.8789 GB, free: 5.105 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1): time 0.0001636/0.004114, allocations: 37.7 kB / 0.8789 GB, free: 5.062 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.939e-05/0.004174, allocations: 52.03 kB / 0.879 GB, free: 5 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.906e-05/0.004233, allocations: 89.86 kB / 0.879 GB, free: 4.902 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.195e-05/0.004255, allocations: 26.3 kB / 0.8791 GB, free: 4.871 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.515e-05/0.0043, allocations: 84.27 kB / 0.8791 GB, free: 4.785 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.027e-05/0.00433, allocations: 7.938 kB / 0.8791 GB, free: 4.777 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.71e-05/0.004367, allocations: 17.66 kB / 0.8792 GB, free: 4.754 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001798/0.004547, allocations: 318.8 kB / 0.8795 GB, free: 4.434 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.055e-05/0.004558, allocations: 0 / 0.8795 GB, free: 4.434 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.127e-06/0.004567, allocations: 8 kB / 0.8795 GB, free: 4.426 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.754e-05/0.004604, allocations: 8.859 kB / 0.8795 GB, free: 4.414 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.004607, allocations: 0 / 0.8795 GB, free: 4.414 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.475e-05/0.004671, allocations: 33.69 kB / 0.8795 GB, free: 4.375 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/0.004685, allocations: 4.094 kB / 0.8795 GB, free: 4.371 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.00469, allocations: 8 kB / 0.8795 GB, free: 4.363 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.907e-05/0.004709, allocations: 0 / 0.8795 GB, free: 4.363 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.51e-05/0.004764, allocations: 0 / 0.8795 GB, free: 4.363 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.00477, allocations: 3.938 kB / 0.8795 GB, free: 4.359 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.623e-05/0.004786, allocations: 3.938 kB / 0.8795 GB, free: 4.355 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.466e-05/0.0048, allocations: 4 kB / 0.8795 GB, free: 4.352 MB / 0.8386 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 8.837e-05/0.004889, allocations: 109.8 kB / 0.8796 GB, free: 4.234 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.887e-06/0.004898, allocations: 0 / 0.8796 GB, free: 4.234 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001111/0.005009, allocations: 44.69 kB / 0.8797 GB, free: 4.184 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.00501, allocations: 0 / 0.8797 GB, free: 4.184 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.005013, allocations: 0 / 0.8797 GB, free: 4.184 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.834e-06/0.005015, allocations: 0 / 0.8797 GB, free: 4.184 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000105/0.00512, allocations: 101.3 kB / 0.8798 GB, free: 4.055 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.005121, allocations: 0 / 0.8798 GB, free: 4.055 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.042e-05/0.005152, allocations: 7.984 kB / 0.8798 GB, free: 4.047 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.005154, allocations: 3.938 kB / 0.8798 GB, free: 4.043 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.374e-06/0.005161, allocations: 4 kB / 0.8798 GB, free: 4.039 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.005163, allocations: 0 / 0.8798 GB, free: 4.039 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.005163, allocations: 4.031 kB / 0.8798 GB, free: 4.035 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.092e-05/0.005254, allocations: 61.02 kB / 0.8799 GB, free: 3.957 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 6.954e-06/0.005261, allocations: 3.984 kB / 0.8799 GB, free: 3.953 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.818e-06/0.005271, allocations: 0 / 0.8799 GB, free: 3.953 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.419e-05/0.005285, allocations: 3.984 kB / 0.8799 GB, free: 3.949 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.184e-05/0.005297, allocations: 0 / 0.8799 GB, free: 3.949 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.318e-06/0.005302, allocations: 4 kB / 0.8799 GB, free: 3.945 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.119e-05/0.005343, allocations: 75.28 kB / 0.8799 GB, free: 3.871 MB / 0.8386 GB Notification: Performance of sort global known variables: time 7e-08/0.005343, allocations: 0 / 0.8799 GB, free: 3.871 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002042/0.005547, allocations: 4 kB / 0.8799 GB, free: 3.867 MB / 0.8386 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.0001675/0.005715, allocations: 111.2 kB / 0.8801 GB, free: 3.75 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 7.707e-05/0.005792, allocations: 11.92 kB / 0.8801 GB, free: 3.738 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.462e-06/0.005793, allocations: 0 / 0.8801 GB, free: 3.738 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 7.453e-06/0.005801, allocations: 0 / 0.8801 GB, free: 3.738 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000152/0.005953, allocations: 4 kB / 0.8801 GB, free: 3.734 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004611/0.006414, allocations: 74.3 kB / 0.8801 GB, free: 3.633 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.66e-05/0.00647, allocations: 55.36 kB / 0.8802 GB, free: 3.559 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.175e-05/0.006502, allocations: 16.11 kB / 0.8802 GB, free: 3.543 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.039e-05/0.006532, allocations: 8.5 kB / 0.8802 GB, free: 3.535 MB / 0.8386 GB Notification: Performance of SimCode: time 4.6e-07/0.006533, allocations: 0 / 0.8802 GB, free: 3.535 MB / 0.8386 GB Notification: Performance of Templates: time 0.002698/0.009231, allocations: 305.5 kB / 0.8805 GB, free: 3.238 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Polynomial.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Polynomial.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Polynomial -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Polynomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_Polynomial.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.916048174025491]