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.001855/0.001855, allocations: 85.48 kB / 19.44 MB, free: 348 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.002122/0.002122, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.57/1.57, allocations: 177.1 MB / 203.1 MB, free: 5.559 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.366/3.366, allocations: 429.5 MB / 0.6729 GB, free: 4.004 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.553e-06/1.553e-06, allocations: 3.938 kB / 0.8775 GB, free: 5.457 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.588e-05/2.743e-05, allocations: 2.312 kB / 0.8775 GB, free: 5.453 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Polynomial): time 0.001666/0.001693, allocations: 0.5921 MB / 0.8781 GB, free: 4.883 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0001912/0.001884, allocations: 20.83 kB / 0.8781 GB, free: 4.863 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.063e-05/0.001895, allocations: 4.656 kB / 0.8781 GB, free: 4.859 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 1.489e-05/0.00191, allocations: 5.719 kB / 0.8781 GB, free: 4.855 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 5.671e-06/0.001915, allocations: 0 / 0.8781 GB, free: 4.855 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002513/0.002167, allocations: 11.94 kB / 0.8781 GB, free: 4.844 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 3.928e-05/0.002206, allocations: 7.984 kB / 0.8781 GB, free: 4.836 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 3.754e-05/0.002243, allocations: 4.875 kB / 0.8781 GB, free: 4.832 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 2.718e-05/0.002271, allocations: 7.641 kB / 0.8781 GB, free: 4.828 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 1.726e-05/0.002288, allocations: 0 / 0.8781 GB, free: 4.828 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.42e-05/0.002302, allocations: 0 / 0.8781 GB, free: 4.828 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 7.531e-05/0.002377, allocations: 15.98 kB / 0.8782 GB, free: 4.812 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 8.085e-06/0.002386, allocations: 0.9844 kB / 0.8782 GB, free: 4.812 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 1.891e-05/0.002404, allocations: 3.984 kB / 0.8782 GB, free: 4.809 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 8.09e-05/0.002485, allocations: 11.98 kB / 0.8782 GB, free: 4.797 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.984e-06/0.002487, allocations: 0 / 0.8782 GB, free: 4.797 MB / 0.7917 GB Notification: Performance of FrontEnd: time 5.61e-07/0.002488, allocations: 0 / 0.8782 GB, free: 4.797 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 4.148e-06/0.002492, allocations: 0 / 0.8782 GB, free: 4.797 MB / 0.7917 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.0004113/0.002903, allocations: 342.2 kB / 0.8785 GB, free: 4.426 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.531e-05/0.002939, allocations: 8.031 kB / 0.8785 GB, free: 4.418 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.701e-05/0.002976, allocations: 6.031 kB / 0.8785 GB, free: 4.414 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001022/0.003078, allocations: 108.6 kB / 0.8786 GB, free: 4.281 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.048e-05/0.003088, allocations: 384 / 0.8786 GB, free: 4.281 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.284e-06/0.003096, allocations: 1.469 kB / 0.8786 GB, free: 4.281 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.969e-05/0.003185, allocations: 30.27 kB / 0.8786 GB, free: 4.246 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.003193, allocations: 2.016 kB / 0.8786 GB, free: 4.246 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.574e-06/0.003201, allocations: 384 / 0.8786 GB, free: 4.246 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.047e-06/0.003205, allocations: 384 / 0.8786 GB, free: 4.246 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.507e-05/0.00323, allocations: 8.953 kB / 0.8787 GB, free: 4.238 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000148/0.003378, allocations: 116.6 kB / 0.8788 GB, free: 4.09 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 5.886e-05/0.003437, allocations: 27 kB / 0.8788 GB, free: 4.051 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.315e-05/0.00347, allocations: 12.38 kB / 0.8788 GB, free: 4.035 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 3.07e-05/0.003501, allocations: 1.141 kB / 0.8788 GB, free: 4.035 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.544e-05/0.003536, allocations: 37.39 kB / 0.8788 GB, free: 3.988 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=1): time 7.22e-07/0.003537, allocations: 0.6875 kB / 0.8788 GB, free: 3.988 MB / 0.7917 GB Notification: Performance of matching and sorting (n=1): time 0.0001329/0.00367, allocations: 34.66 kB / 0.8789 GB, free: 3.949 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.124e-05/0.003721, allocations: 55.41 kB / 0.8789 GB, free: 3.883 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.688e-05/0.003808, allocations: 143.6 kB / 0.8791 GB, free: 3.73 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 1.796e-05/0.003826, allocations: 25.7 kB / 0.8791 GB, free: 3.699 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 7.219e-05/0.003898, allocations: 134.8 kB / 0.8792 GB, free: 3.562 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 2.678e-05/0.003925, allocations: 5.109 kB / 0.8792 GB, free: 3.559 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.285e-05/0.003958, allocations: 15.38 kB / 0.8792 GB, free: 3.535 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0004232/0.004381, allocations: 0.4892 MB / 0.8797 GB, free: 3.035 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.03e-05/0.004391, allocations: 0.875 kB / 0.8797 GB, free: 3.035 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.402e-06/0.004397, allocations: 0 / 0.8797 GB, free: 3.035 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.386e-05/0.004431, allocations: 17.22 kB / 0.8797 GB, free: 3.016 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/0.004433, allocations: 0 / 0.8797 GB, free: 3.016 MB / 0.7917 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.692e-05/0.0045, allocations: 38.56 kB / 0.8798 GB, free: 2.973 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.261e-05/0.004512, allocations: 4 kB / 0.8798 GB, free: 2.969 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.004516, allocations: 0 / 0.8798 GB, free: 2.969 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.004528, allocations: 1.719 kB / 0.8798 GB, free: 2.969 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.514e-05/0.004583, allocations: 7.938 kB / 0.8798 GB, free: 2.961 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.004588, allocations: 3.625 kB / 0.8798 GB, free: 2.961 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.446e-05/0.004602, allocations: 3.938 kB / 0.8798 GB, free: 2.957 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.187e-05/0.004614, allocations: 0 / 0.8798 GB, free: 2.957 MB / 0.7917 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.0001091/0.004723, allocations: 156.6 kB / 0.8799 GB, free: 2.793 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.558e-06/0.004732, allocations: 3.984 kB / 0.8799 GB, free: 2.789 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001041/0.004837, allocations: 40.7 kB / 0.88 GB, free: 2.742 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.203e-06/0.004838, allocations: 1.281 kB / 0.88 GB, free: 2.742 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.00484, allocations: 4 kB / 0.88 GB, free: 2.738 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.894e-06/0.004842, allocations: 4.25 kB / 0.88 GB, free: 2.734 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001084/0.004951, allocations: 112.6 kB / 0.8801 GB, free: 2.59 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.004952, allocations: 0 / 0.8801 GB, free: 2.59 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.909e-05/0.004971, allocations: 4 kB / 0.8801 GB, free: 2.586 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.004972, allocations: 0.7656 kB / 0.8801 GB, free: 2.586 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.09e-06/0.004977, allocations: 0 / 0.8801 GB, free: 2.586 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.004978, allocations: 0 / 0.8801 GB, free: 2.586 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.004979, allocations: 0 / 0.8801 GB, free: 2.586 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.958e-05/0.005079, allocations: 80.31 kB / 0.8802 GB, free: 2.484 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 3.266e-06/0.005082, allocations: 0 / 0.8802 GB, free: 2.484 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.823e-05/0.0051, allocations: 7.984 kB / 0.8802 GB, free: 2.477 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.094e-05/0.005111, allocations: 4.578 kB / 0.8802 GB, free: 2.473 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.509e-05/0.005126, allocations: 0 / 0.8802 GB, free: 2.473 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.376e-06/0.00513, allocations: 0 / 0.8802 GB, free: 2.473 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 6.256e-05/0.005192, allocations: 119.2 kB / 0.8803 GB, free: 2.355 MB / 0.7917 GB Notification: Performance of sort global known variables: time 5e-08/0.005192, allocations: 0 / 0.8803 GB, free: 2.355 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0001888/0.005381, allocations: 5.312 kB / 0.8803 GB, free: 2.352 MB / 0.7917 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.0001615/0.005542, allocations: 103.2 kB / 0.8804 GB, free: 2.238 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 7.787e-05/0.00562, allocations: 15.62 kB / 0.8804 GB, free: 2.219 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.442e-06/0.005622, allocations: 64 / 0.8804 GB, free: 2.219 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 2.048e-05/0.005642, allocations: 19.69 kB / 0.8804 GB, free: 2.195 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001201/0.005762, allocations: 0 / 0.8804 GB, free: 2.195 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002098/0.005972, allocations: 80.84 kB / 0.8805 GB, free: 2.086 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.951e-05/0.006032, allocations: 59.34 kB / 0.8806 GB, free: 2.008 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 2.035e-05/0.006052, allocations: 0 / 0.8806 GB, free: 2.008 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.513e-05/0.006077, allocations: 12.56 kB / 0.8806 GB, free: 1.996 MB / 0.7917 GB Notification: Performance of SimCode: time 4.31e-07/0.006077, allocations: 0 / 0.8806 GB, free: 1.996 MB / 0.7917 GB Notification: Performance of Templates: time 0.002702/0.008779, allocations: 303.9 kB / 0.8809 GB, free: 1.703 MB / 0.7917 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1) [Timeout 240] 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: 8.225282283965498]